cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service

Former Member
0 Kudos

Guys ,

I have created web service project from tutorial. I am getting this error when i submit the form ..

<b>Invalid response code (407) Proxy Authentication Required(The ISA Server requires authorizationsto fulfill the request. Access to the web proxy service is denied)</b>

IS it my network problem ? how to fix it .

Thanks

Manish

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

do you still have the same problem or have you solved it?

I have the same error in my web dynpro and can not fix it.

I you have a solution, please post it here.

Thanks,

André

Former Member
0 Kudos

victor,

I tried it too and I got the same message not working.. I even tried entering the user name programmatically. Do I need to enter the domain name with the user ID?

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy authorization required.

Should I use stateless communication or http cookie based? and under the security tab should i select authentication or not?

Thanks ahead of time,

Wael Aoudi

Former Member
0 Kudos

Hi,

> Should I use stateless communication or http cookie based?

Use http cookies, it a default and a common way to work.

> and under the security tab should i select authentication or not?

Security tab is talking about security issues of your web service (e.g. web service requires authentication in order to serve you) not the transport layer. I think that you problem is in a transport layer so I don't think security tab can help you.

For my sorrow, the network I am currently working in has a proxy without authentication so I can't check exactly the user and password issues. I would suggest to write simple Java application and try to call web service from there. There it is easer to figure out the proper way to set the parameters.

Regards,

Victor.

Former Member
0 Kudos

Hi,

This error means that you have an http proxy in your network and web service data flow can't go directly to you buisness system.

In practice it means that you should configure the proxy in your Web Service Model.

1. Open developer studio with your WD project.

2.Click on model and choose LogicalPort-><WebServiceName>PortType. Double Click on it

3. On a right side window you will see the Web Service port settings. Check "Use HTTP proxy" button and set proxy adress, user and password. (Similar to IE settings, Use your domain user and password for proxy)

Now, it should work.

Hope it helps,

Regards,

Victor.

Former Member
0 Kudos

Victor,

The password field is disabled. I have sp9 ? could you publish workaround if any? or do i need to re-install nwds?

Thanks,

Wael

Former Member
0 Kudos

Yes, try do the following:

Put the follwoing code

wdContext.currentRequest_<ContextNodeName>Element().modelObject()._setPassword("password");

before you actually call the exectute() method of the service. I think that the reason they disabled it is they don't want to store passwords as plain text.

Hope it helps.

Victor.

Former Member
0 Kudos

Thanks Victor for your response

I have done the chages you suggested , but still it is giving me same problem

Thanks.

Manish