Skip to Content
author's profile photo Former Member
Former Member

Calling a web service in ABAP

Hello Experts!

After I am assuming the SOAP Experts at the SOAP Forum

are being already on christmas vacation

I saw no other possiblitiy to post my question right here.

I have created a web service through:

Open the affected function Module .

Choose Utilities -> More Utilities -> Creating a Web Service -> From Function Module.

Later you can test it with SOAMANAGER etc.

The goal is now (requirement)

Calling a web service in ABAP.

How can I generally call a (eg .above created by me ) webservice with abap which is existing on the sap system (Web Services which are generated from Function Modules)

Has really nobody such a problem ever before ?

Regards

ertas ilhan

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Dec 17, 2008 at 04:20 PM

    To be able to consume a web service in ABAP you need to generate a Proxy Class.

    - SE80

    - Enterprise Services

    - create Proxy Object

    The easiest way to do it is with the WSDL file that you'll get from the existing Web Service. In your proxy class it will generate a method which you can then call within your program to consume that web service.

    Hope that helps,

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2008 at 04:48 PM

    Hi

    Hope this doc will be of help : https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2db5a2

    you search "web service creation" in sdn there are various document available for the same.

    Thanks

    Vishal Kapoor

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2008 at 10:06 PM

    Michael thank you very much.

    You are saying:

    The easiest way to do it is with the WSDL file that you'll get from the existing Web Service. In your proxy class it will generate a method which you can then call within your program to consume that web service.
    

    I understand the first part with the WSDL file but the second part it is unclear to me with

    In your proxy class it will generate a method which you can then call within your program to consume that web service

    Can you please explain me this more detailed.

    Thanks

    ertas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 09:04 AM

    vishal it is not web service creation what I ment .

    Michael is correct it concerns "consuming a web service in ABAP ".

    Regards

    ertas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.