on 2012 Sep 25 5:25 PM
Hi all,
How to pass input parameter to MII webservice call?
I am testing it from SOAP UI and following is the request block.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xmii="http://www.sap.com/xMII">
<soapenv:Header/>
<soapenv:Body>
<xmii:XacuteRequest>
<!--Optional:-->
<xmii:LoginName>UserID</xmii:LoginName>
<!--Optional:-->
<xmii:LoginPassword>Password</xmii:LoginPassword>
<!--Optional:-->
<xmii:InputParams>
<!--Optional:-->
<xmii:DOC> SOME_TEXT </xmii:DOC>
</xmii:InputParams>
</xmii:XacuteRequest>
</soapenv:Body>
</soapenv:Envelope>
I have an Event logger in the Transaction and i want to print the input parameter/values. [SOME_TEXT]
Can some one pls let me know how can i set this in MII transaction.
MII version: 12.2.2.235
Thanks in advance,
Thanks,
Request clarification before answering.
Hi,
Add a WebService action in the BLS and specify the Web Service URL in its config. Then you can map the XPath of the xmii:DOC element from the WebService action to the Logger action using the Link Editor in BLS.
Thanks,
Dipankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dipankar,
I have created a WS action in the first transaction, which will receive the input. The mapping is not working, value is not passed and i see the following in Log files.
DOC not added to input list due to a null or empty link.
Input not added to input list due to a null or empty link. [2nd Trx log]
Do i need to make updates on this?
Pls advise.
Hi Dipankar,
When i execute it via SOAPUI tool, i see the following message in Logs;
WSinput not added to input list due to a null or empty link
When executed from workbench, the transaction is success.
The input data is:
<ORDER>
<OrderNumber>000001104137</OrderNumber>
<ReservationNumber>0001946736</ReservationNumber>
<BOMExplosionDate>20110928</BOMExplosionDate>
</ORDER>
Note: If I replace < and > with < and >, the data is reaching the BLS.
We cant pass xml data?
Thanks,
Hi,
Do you want to pass input parameter to MII's webservice?
<xmii:DOC> SOME_TEXT </xmii:DOC>Is this your input parameter?
Regards,
Aravinth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.