cancel
Showing results for 
Search instead for 
Did you mean: 

Problems when consuming a Web Service from the Internet

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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é

Former Member
0 Kudos

Hi André,

Thank you very much for your fast reply, even if this does not mean good news for us.

But as there is the possibility to choose "Select WSDL source: URL", will this kind of proxy be supported by the next trial version (if there is one) or by the final version ?

Best regards.

Nadine

0 Kudos

Hi Nadine,

using a URL as WSDL source is supported just that you can't use this feature if you are in an intranet where you need a password for your intranet proxy (i.e. the proxy responsible for connections to the outside world).

We are evaluating if this feature might become supported but I cannot say at this stage whether it will or not.

Best Regards,

André

Former Member
0 Kudos

Hi André,

Thank you very much for your help. We will have to wait and see then.

Have a nice week-end.

Bye