Saturday, 16 August 2014

Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl

Error on EM test console:
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://localhost:7001/soa-infra/services/default/assignDemoProject/copyassign_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused

Root cause:
In my case cluster front end was configured with invalid details. Common root cause is WSDL end point host name doesn't not match with the server host.

Resolution:
Solution 1: Correct the host name in wsdl end point and redeploy.
Solution 2: If cluster front end configuration is there make sure you have configured it correctly.

2 comments:

  1. Hey i got the same issue but i am not sure how to fix, could you help me ? i know that my weblogic console configuration must be the problem, end point host name doesn't not match with the server host... must be that, thanks !

    ReplyDelete
    Replies
    1. Hi Gonzalo,

      With pleasure. Can you please provide few details about the environment?
      Do you have cluster configured?
      Is it a plain weblogic domain or any other application installed on it (e.g. BPEL, OSB)?

      Delete