Skip to Content
avatar image
Former Member

Web Service instead of the FM HTTP_PROXY

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Sep 01, 2008 at 11:12 AM

    U may directly expose ur FM as webservice as shown:

    Creating and Exposing BAPI as Web Service and using it in Web Dynpro

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Sep 04, 2008 at 06:04 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 06:16 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded