cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service instead of the FM HTTP_PROXY

Former Member
0 Kudos

Hi all

We've a zFM here which uses the FM http_proxy.

Now the user wants some web service to replace this (http_proxy) FM.

I'm new to web services. Do we create our own web service definition or use some existing one ?

Thanks

Pushpraj

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

U may directly expose ur FM as webservice as shown:

Regards,

Prateek

Former Member
0 Kudos

Ok so I publish this webservice using the FM http_post (I wrongly mentioned http_proxy above).

And I publish it. Then how exactly do I go about using it ? I mean in what manner do I replace http_post in the code ?

Thanks

Pushpraj

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pushpraj,

To use the zFm at the reciever side,

First create a WSDl of the zFm using the following mentioned link

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4348] [original link is broken] [original link is broken] [original link is broken];

After the wsdl is created import it in the INtegration Reposiotry as an external definition.

Create inbound interfaceusing this ED.

Create mapping (two mappings if Synchronous)

In the Integration Directory,use SOAP adapter and in the reciever Communication channel:

[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79]

(Mention the target URl and the SOAP action as sshown in the above link.)

Please award points if useful.

Many thanks,

Yashaswee.

Former Member
0 Kudos

Hi

Could you give me some document links for creating mapping ?

I searched but couldn't find any. Any more info on Web Services would be helpful too.

Thanks

Pushpraj

Former Member
0 Kudos

Hi,

What is your requirement.?Please elaborate.You could use graphical mapping and the different node functions available.

Former Member
0 Kudos

Hi,

Below steps u can define u r own wsdl file.

Step 2:

Create the DT,MT & MI(Synch-Outbound) in IR

Step 3:

Message mapping for Req and response

Step 4:

Message Interface

Step 5:

ID

Configure Sender and receiver adapter

Step 6:

.

Create webservice for sender ( Integration Directory ->tools ->define webservice.

It will generate the webservice and save it as .wsdl file.

Regards,

Jayasimha JAngam