on 2009 Apr 13 10:11 AM
Hello Experts,
In our project WebMethods is using as middleware. We need to pass some XML files from SAP to some third party system using WebMethods (ESB).
So, here WebMethods is creating a Web Service and from SAP we need to trigger the WebService and also I need to capture the response returned by the third party system using Web Service.
Can anybody guide with step by step procedure.
Thanks in advance.
Krishna Yerram.
To be able to consume a web service in your SAP system directly you need to generate a proxy-client for each web service you would like to consume.
Workbench - Enterprise Services - Client Proxies
The easiest way to generate a client proxy is by using the WSDL definition from the Web Service
Enterprise Services - Create - Proxy Object - Service Consumer - Local File (this is your WSDL file) - put in package assignment and transport request and your proxy class will be generated.
If you look into the generated proxy class you'll find a method you can call from anywhere in your ABAP code to consume the web service.
Hope that helps,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your replay. This link is helpful in creating proxy.
Here in my scenario, Web Methods (ESB middleware) is creating a Web Service that means a URL.
From SAP I need to trigger that URL.
Finally, I will create an XML string with my internal table data and concatenate it to the URL provided by the ESB and have to invoke it. ESB will transfer this XML data to third party system.
SAP need to trigger the Web Service created by ESB.
Please help me if you have any idea.
Thanks in advance.
Krishna Yerram.
User | Count |
---|---|
69 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.