cancel
Showing results for 
Search instead for 
Did you mean: 

IWAB0399E Error in generating Java from WSDL: WSDLException

Former Member
0 Kudos

Hi ,

I have created a webservice from a funtion module in the backend.

Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.

I tested the service in backend and it is working fine.

Now I am trying to generate the cilent for this webservice using NWDS. But I am getting following error :

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

WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:

at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)

at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)

at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)

at java.lang.Thread.run(Thread.java:619)

Any idea why am I getting this error and how can I resolve this.

Regards,

Chitra

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chitra, did you get solution for the above issue... i am trying to generate Webservice client code using WSAD, and i am getting same error.

WSDLException (at /wsdl:definitions/wsdl:portType/wsdl:operation/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected 'Policy'.

Let me know if you got the answers to your question...