Skip to Content

Output xml node schema not loading for external WSDL in SAP MII WebService action block's Link editor.

Hi ,

I am using SAP MII 12.2 .

I am using external WSDL in SAP MII in order to consume that external Web Service in SAP MII transaction using Web Service Action Block . For this I Pasted the WSDL URL in Web Service Config Wizard in WebService action Block's Configuration object.

As we know a webservice has Input and output nodes XML in SAP MII webservice action block Link editor .

But Output node Xml is not reflecting when i try to map the field values of Output node to MII variables.

What can be the possible problems for which Output node xml is not coming ??

Please share your answers to the earliest ..

And if there is any limitation to the complexity of WSDL that MII WebService action block or MII can accept .. Please Let me know.

Attached is the screenshot for refering output node xml that is not coming as per the WSDL structure.

scn1.jpg (57.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 20, 2013 at 03:20 PM

    Hi Anshul,

    Is there a Web Service Response node in addition to the standard Output node?  There should be a <Request>Response node, where <Request> is the name of the Web Service Operation that was selecting when configuring the Server Properties of the action block.  In this example. JobSubmitStation is the WS Operation and JubSubmitStationResponse is the response xml from the web service:

    Regards, Steve

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2013 at 10:36 AM

    Hi Anshul,

    In addition to what Steve has said, you would only get the output with Schema if you have configured the webservice through the wizard.

    Steps Like, URL-->next(service selection)--> port selection --> operation selection.

    if you have done this and click on finish, the the Link editor will have two more nodes for request and response. The response node would have output according to the schema.

    Incase, you have clicked finish/cancel before completing the procedure, then you would not see these nodes and only a normal XML Output node can be seen.

    Regards,

    Tufale Ashai

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Tufale,

      Yes , Exactly this is what I am doing now.

      Actually I have to get the values from Response XML elements  and assign them to Local Variables and Parameters of Transaction so I am mapping them via XPath only as you said and gave an example :ResponseNode(ns1:Response/node1/element) .

      But I was wondering what is the reason that in link editor the response node is not displaying all elements .

      In case you find anything else , you are welcome here.

      Well , Thanks a lot for the replies .

      Regards,

      Anshul Arora