Skip to Content

ExecuteWSDLAppjava.rmi.RemoteException: Service call exception; nested exception is:

Hi experts,

Im try to execute a WSDL , from my webdynpro DC , it is giving exception when executing as shown below

ExecuteWSDLAppjava.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL

was :http://xxxx:port/sap/xi/engine?type=entry&version=3.0&Sender.Service=abcdefg&Interface=http%3A%2F%2Fxxxx%2Fbxxx_report%xxxxxxxx&sap-user=xi_portal&sap-password=axis1234 at .....

It is showing the line number where we execute the wsdl file i.e

wdContext.currentXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX().modelObject().execute();

please suggest a solution for this

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 26, 2013 at 01:41 PM

    Hi,

    The 401 error means that your web service requires some kind of authentication (user and password/spnego/sap logon ticket) or something else...

    Regards,

    Omri

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 31, 2013 at 08:51 AM

    Assign admin rights required to execute this purpose to the user who is trying to execute this WSDL from the WDJ Application.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 31, 2013 at 01:22 PM

    Hi ,

    When you have imported the WSDL into your WDJ application you might have chosen a Service Group or Logical Destination.

    Configure the user details in the relevant Destination/Service Group which is authorized to execute this service. This might work.

    Best Regards,

    Rohit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.