Skip to Content

Multiple input messages in the wsdl

Hi guys,

I am working in SAP PO 7.4, single stack. I have got an FS. It is a webservice to CRM straight scenario.

The end user goes to the webpage and it will have some fields. He will fill them and click submit button and it has to reach CRM through SAP PI

The thing is in the FS there are many input messages from different websites. Around 15 input messages are there. Shuld they be done as 15 seperate interfaces or clubbing the input messages for same webservice

the urls of the different webpages are like this

www.abc.com/sales.aspx

www.abc.com/inquiry.aspx

www.abc.com/parts.aspx

www.abc.com/engineering.aspx

these are all from the same url

then I have different urls

www.xyz.com/inquiry.aspx

www.def.com/difference.aspx

Like these I have fifteen input messages. Each of these have different fiels with some field common

What is the best design for this interface?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 03, 2015 at 06:56 AM

    Hi Haish,

    I think all depends in the number of the common fields. You can provide a wsdl which paramerters could the type of call sales, inquiry and son on, then with these parameters you can filter the output. If you are talking about the same the same receiver endpoint, the same proxy or RFC, it is not a good idea to have 15 interfaces, however if you will have different proxies or RFC you should do 15 interfaces but all in the same Software Component because you are dealing with the same.

    functionality.

    Summing up, take into account the functionality and if you will have different endpoints or not.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 03, 2015 at 06:45 AM

    HI Harish,

    even though you have multiple resources(sales,inquiry,parts....), i guess WS team will trigger at a time one resource.

    so my suggestion is better go for different scenarios and provide them different URL's

    also  in case they are planing to trigger at a time more than one resource then you better create all structure's in same node(create different structures as subnodes) and create single scenario and then provide that one URL to them.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 03, 2015 at 06:51 AM

    Can I use REST  here? Would it give more advantages compared to the normal SOAP adapter? I am on single stack PO

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Inaki

      Doest REST support fifteen mappings? I have fifteen input messages and different output messages. So f I use fifteen mappings in one interface would it be possible?

      You suggested about REST architecture using multiple urls