on 12-23-2009 6:23 AM
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
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.