Skip to Content
author's profile photo Former Member
Former Member

Problems when consuming a Web Service from the Internet

Hello,

I am using the 90-days-trial Version of SAP Web AS 6.40 and the SAP NetWeaver Developer Studio.

<u>My first Problem:</u>

I want to consume a Web Service that is available from the Internet. But when trying to create a Standalone Proxy based on the WSDL-URI, I get the following error message: "Problems while generating the Proxy Definition".

As I am using a proxy to access the Internet, I adapted the Proxy Settings within the Developer Studio, but it still does not work.

<u>My second problem:</u>

So, I decided to download the WSDL-file and to store it on the local file system. So, it was possible to create a Standalone Proxy. After that, I tried to create the client. The code I used seems to be correct (I tested it by consuming a Web Service on the local Server --> it worked ), but I get the following error:

<i>java.rmi.RemoteException: Service call exception; nested exception is:

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ).

....

</i>

As I understand, the problem is due to an authentication error. If so, the problem could be, that it is not possible to enter the Poxy Password. I have entered the Proxy Host, the Proxy Port and the Proxy Username within the corresponding fields to configure the Logical Port, but the field for the password does not accept any input.

What I did next, was trying to enter the Password manually. I added

<Property Name="proxyPassword" Value="myPswd"/>

to the xml-File that already contains the the other properties concerning the Proxy.

But I still get the same error...

As I do not know how to proceed, and so I would be very grateful if anyone could tell me how to solve these problems. Is it possible that these two problems have the same origin ?

Thank you very much in advance.

Nadine

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jun 04, 2004 at 07:37 AM

    Hi Nadine,

    unfortunately using a proxy that requires a password is neither supported by the IDE (hence the problem when downloading the WSDL) nor in the server or for standalone clients.

    Best Regards,

    André

    Add comment
    10|10000 characters needed characters exceeded