on 06-09-2010 6:09 AM
Hi All,
I am getting an error in WD project which consumes a WS model. I created a CAF project in which I have imported the BAPI_FLIGHT_GETLIST RFC and a custom operation to get the result from the BAPI execution.
After exposing as a WebService, i tested the operation from WSNavigator and both BAPI and the custom operation is working fine.
I imported this WS in my WD project successfully and done with the bindings also. The parameters for BAPI are set and execute statement written in the controller. But when I deploy and run my application, I get the following Error:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required. The requested URL was:"Connect to http://<hostname>:<port>/inspection.wsil/, using http proxy:
Also in NWA, I have created 2 Logical destinations required during WS Model Import (WS_METADATA_DEST & WS_EXECUTION_DEST) pointing to the URL http://<hostname>:<port>/inspection.wsil/.
I am using CE 7.2 NWDS.
Please let me know the reason for this and the fix.
Regards,
Poojith MV
Hi Poojit,
Try maintianing the same destiantions in the Visual administrator:
1.Log into Visual admin.
2.Expand the server->services->and select web service security
3.In the Runtime tab->expalnd Webservice Clients ->sap.com->DynamicWSproxies->create a new destination and maintian the
basic authentication for logondata.
Ref link:
Regards,
Lavanya.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I hope you defined the basic crendiatial for the access type during the definition of the JCO/destination.Check whether SOAP adapter is active and running?
Further help
/people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii
http://wiki.sdn.sap.com/wiki/display/VC/WebServiceInvalid+URL
BR
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
Thanks for the information. I just observed one thing now. The URL of my WS in WSNavigator is:
http://wipro:50000/demo.wipro.com_flightgetlistdc_FlightGetList_WS?wsdl=binding&mode=ws_policy
when i paste this URL in the browser and try to execute this I get a message "Internet cannot display this page"
But when I replace the wipro by the actual IP and run it, I don't get a prompt for user id / pwd but the xml file is displayed.
is there any way to edit the URL in NWA?
Regards,
Poojith MV
The Hosts file is like an address book. When you type an address like www.yahoo.com into your browser, the Hosts file is consulted to see if you have the IP address that site. If you do, then your computer will "call it" and the site will open. If not, your computer will ask your ISP's (internet service provider) computer before it can "call" that site. Most of the time, you do not have addresses in your "address book," because you have not put any there. Therefore, most of the time your computer asks for the IP address from your ISP to find sites.
So we have to define it at system level, not at server level.
BR
Satish Kumar
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.