Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

error while consuming a webservice in nwds

Dear Users,

I m facing an error while consuming a wsdl webservice in webdynpro java error................

Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[ModalContext,5,main]] Error: Internal error

Plugin name: Web Dynpro Model Editor Services

Plugin ID : com.sap.ide.webdynpro.service.modeleditor

Class : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9

Method : doImportWebServiceModel

Message : Web Service model import failed

Exception : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!

com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!

at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)

at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)

at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)

at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)

at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)

at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

-- caused by --

com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)

at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)

at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)

at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)

at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)

at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)

at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)

at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many times (20) -> java.net.ProtocolException: Server redirected too many times (20)

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)

... 8 more

Caused by: java.net.ProtocolException: Server redirected too many times (20)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)

at java.net.URL.openStream(URL.java:913)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)

at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)

at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)

at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)

at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)

at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)

at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)

... 10 more

Please help me in solving his issue.

regards,

Sathya

Former Member
Not what you were looking for? View more on this topic or Ask a question