Skip to Content
avatar image
Former Member

Problem importing webservice in NWDS

Hello frenz,

I am trying to import a webservice from PI 7.1 server using UDDI or URL, but i am getting the following error,

Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Invalid Response Code: (401) Unauthorized.

The requested URL was:"XYZ" com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"XYZ"

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

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

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.getDefaultSchemaMapping(ProxyGenerator.java:107)

I am able to open the Webservice directly using the Internet explorer, but getting above error while importing..Please help.

Regards,

Shweta

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 28, 2009 at 02:40 PM

    Hi Shweta,

    Try passing the user name and password in the URL like &sap-user=<user>&sap-password=<>password> as it is giving Unauthorized error.

    Hope it helps.

    Thanks & Regards,

    Jhansi Miryala

    Add comment
    10|10000 characters needed characters exceeded