Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Test a web service

Former Member
0 Likes
734

hi frinds,

i build web service from fm(rfc) with the wizard ,

when i try the URL in IE i have to put User and password ,

and i get xml file.

how i now that the WS is o.k. i want to test it?

how i can avoid the User and password?

i want just to give the url and the user can use it .

Regards

1 ACCEPTED SOLUTION
Read only

DirkAltmann
Active Participant
0 Likes
561

Hi Ricardo,

take a look in the package SOAP. There is a BSP application "WebServiceBrowser" search your RFC in the search from. You get a link for for documentaion "?" and a link for the "wsdl". This wsdl link you must provide the consumer of the service.

You should create a technical user with password for the consumer of the service.

Regards

Dirk

Hi Ricardo,

take a look in the package SOAP. There is a BSP application "WebServiceBrowser" search your RFC in the search from. You get a link for for documentaion "?" and a link for the "wsdl". This wsdl link you must provide the consumer of the service.

You should create a technical user with password for the consumer of the service.

Regards

Dirk

3 REPLIES 3
Read only

DirkAltmann
Active Participant
0 Likes
562

Hi Ricardo,

take a look in the package SOAP. There is a BSP application "WebServiceBrowser" search your RFC in the search from. You get a link for for documentaion "?" and a link for the "wsdl". This wsdl link you must provide the consumer of the service.

You should create a technical user with password for the consumer of the service.

Regards

Dirk

Read only

0 Likes
561

HI Dirk,

what do u mean by You get a link for for documentaion "?" can u explain?

how i create technical user with password for the consumer of the service ?

in su01 ?

there is now way to avoid the user and password?

Regards

Read only

0 Likes
561

Hello Ricardo,

please call the BSP Applicatioon in the Webbrowser and search for your FM. Than you will see what I mean with "?". The question mark will shown behind each list entry also the "WSDL" link. If it's not possible to call the BSP Application in the Browser, you must activte the full path in the transaction SICF for the SAOP Service and to the Webservicebrowser. The SOP Service has normaly the path "/default_host/sap/bc/SOAP" you should all services below activate and the webbrowser you will find "/default_host/sap/bc/bsp/sap/webservicebrowser" (see SAP Note 1038797). The user you can create with SU01. You shouldn't customize the webservice calling without user and password. If you customize this, than all function modules which are released as a webservice can call without authorisation. Until WAS 6.20 all function modules are released as webservice. Because you can so call each BAPI as a webservice without authorisation. You must avoid this. In higher releases it should be possible to release only selected Function Modules but we are on WAS 6.20. The authorisations for the Webservices and all other function of the Webfunctions of the application server can customized with transaction SICF. But be carefull. If you not sure take the SAP Help for further information or vist a SAP course.

Regards

Dirk