cancel
Showing results for 
Search instead for 
Did you mean: 

How to use/consume/call a webservice

Former Member
0 Kudos

Hello All,

I have created a webservice from the inbound proxy. i can test this using tcode wsadmin.

but i donno how to consume this service.

for eg: i ahve created a PurchseOrderCreate webservice now i wnat to use this serivce to create PO.

can usomeone please tell the procedure?

Thanks & Regards

Amarener Reddy B

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

You can use Web Dynpro Java in NetWeaver dveeloper studio or Visual composer to comsume the web service, that build applications.

Former Member
0 Kudos

Amarender,

sorry to say that, but your question is rather strange.

it seems you do not have any concrete requirement or use case at all.

such a requirement would for instance be:

I have system A and a system B, latter being my SAP system. I want to allow system A to create purchase orders in my system B my means of webservices.

to achieve this you

1) enable system B by creating a suitable webservice, e.g. PurchaseOrderCreate

2) test the webservice on system B and make sure it works well

3) create a webservice consumer on system A using the tools of that system's development environment

4) run the consumer on system A and transmit a purchase order to system B

it seems you have sucesfully performed 1) & 2) and now recognize you don't have any specific requirement at all, most of all no system A.

<i>Thou shalt not offer a service if you don't know anyone to use it...(Konfuzius)</i>

Former Member
0 Kudos

Hi Amarender,

the above link shows how to consume your webservice in abap.

you can also test it using XML spy. Download the trial version .

Import the WSDL and send the request message to SAP to create the PO.

If you know XI, you can also use SOAP adapter on receiver side, to consume this webservice.

Regards

Pushkar

satykumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amarender,

Please check out these links

http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

Regards,

Satyendra