cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Calling a Web Service

Former Member
0 Kudos

Hi All,

I created an Adaptive Web Service Model by selecting a wsdl file in one of my Web Dynpro Project. Deployment of project is successful but when i run the application i am getting the following error:

The initial exception that caused the request to fail, was:

com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 404 while accessing URL: http://paritas.sap.com:8000/sap/bc/srt/wsil/. Response Message: Not Found. Content Type: text/html. Body Content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;404 &nbsp Not Found</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.01&nbsp;</b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;The requested resource does not exist.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>&nbsp;&nbsp;Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>&nbsp;&nbsp;Go to <A HREF="/" target="_parent">main page</A> of this application!</pre></font></td> </tr> </body> </html>

Can anyone tell me how to solve this issue??

regards,

Ramakanth

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Is your web service is on the same server on which you are testing your web dynpro application?

I think it is not on the same server.

Let say your web service is on some server1 and dynpro application on server2.

try testing the web service from the WSNavigator of server1.

If it is a external service then you have to configure the proxy setting in the SOA.

Regards,

Amol

Former Member
0 Kudos

Hi,,

Yes, they are on the same server.

regards,

ramakanth

Former Member
0 Kudos

Hi,

If your sevice is on the same server then why you are entering the WSDL url to test in the WSNavigator.

When you open the WSNavigator, you will see the list of web services available on that server.

Just select your service and test it.

Regards,

Amol

Former Member
0 Kudos

Hi Amol,

I am unable to see my webservice in WSNavigator, so I am entering the URL...I am not understanding whether problem is in my webservice or something has to be configured in visual admin??

Former Member
0 Kudos

Hi,

If the service is not visible in the WSNavigator then there may be problem in your web service.

Is it a CAF web service? if yes then it from the CAF

Regards,

Amol

Former Member
0 Kudos

Hi ,

Enter your URL in the navigator and try clicking on test.

Webservice destiantions need to be configured in the visual administrator.

Have you cinfigured the destinations in the VA?

Regards,

Lavanya.G

Former Member
0 Kudos

Hi,

I configured webservice destinations in VA?

After entering my URL path in webservices a navigator, it is giving an error as you are not authorised to do this process.But i logged in as administrator only..

regards,

ramakanth

Former Member
0 Kudos

Hi,

Pls checkwhether you have WSnavigator role for your userid or not?

Go through the below link for more info:

http://help.sap.com/saphelp_nw04/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/content.htm

Regards,

Lavanya.G

Former Member
0 Kudos

Hi Ramakanth,

Try testing the webservice in the webservice navigator.

Go to link:http://<host>:<port>/wsnavigator.

Enter your usernmae and password if requires.

Enter the WSDl url and test the service by giivng some input value.

If the servcie is tested successfully,you will get the response.

Please let me know if your able to test the service or not?

Regards,

Lavanya.G

Former Member
0 Kudos

Hi Lavanya,

Thanks for the reply..

As u said i tried from webservices navigator.. It is giving a message as

Cannot download WSDL from http://paritas.sap.com:8000/sap/bc/srt/wsdl/bndg_DF69792F4B606DF1B168001CC0F24CF0/wsdl11/allinone/ws... It is not allowed to access this service. If you believe you should be able to, please contact your system administrator.

But I am the administrator and i logged in as administrator only..

regards,

Ramakanth