cancel
Showing results for 
Search instead for 
Did you mean: 

Error while loading WSDL File in Eclipse

Former Member
0 Kudos

Hi Experts

We are getting the following Error while Loading WSDL File in Eclipse.

IWAB0399E Error in generating Java from WSDL: WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:

Please advice how to resolve it.

Regards

Prashant

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It seems that your WSDL is not well defined, you need to test your wsdl via WS-I compliance in order to check if the wsdl is well created, you can do this via soapui, just create a new project, import the wsdl file or set the URL, left click in the project and select check WS-I compliance, this tool will test your wsdl and gives you a detailed report of what might be the problem.