Dear all,
I followed Yatsea Li's instructions to create a Webservice with B1if. It works fine when uploading a test-xml to B1if.
In my case, I selected the identification method "Root Tag" with identifier "GetBPList".
When uploading the XML file with the following content and running it via the test-function in the step processing workflow, everything works great!
<?xml version="1.0" encoding="UTF-8"?><GetBPList><CardCode>71335</CardCode></GetBPList>
From my understanding I should get also a correct result using an application like WFetch and sending the XML-File to the Trigger-URL:
In this case, B1if fails to process the Input-XML.
The error message in the B1if message log is:
no scencario step (vBIU) associated for this step for the incoming system (SysId)
The debug message is as follows:
<?xml version="1.0" encoding="utf-8"?><Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="12080500152466961512C0A8003F481C" BeginTimeStamp="20120805001524" recording="false" logmsg="0009" vBIU.errhdlg="" msglogexcl="false" MessageLog="true"> <Header> <msglog step="Default message log" always="false" b1ifactive="true"/> <ErrorHandler phase="S" async="Default error handling" sync="Default error handling" outbound="Default error handling" errorinbox="true"> <delqueue status="false" qok="false"> <queue>Q.INB_WS_CALL_SYNC_XPT.0010000113</queue> <stream>S.</stream> </delqueue> <callvBIU status="false"> <queue>Q.INB_IQ_INTQ_ASYN_QS.0010000000</queue> <stream>Default error handling</stream> </callvBIU> </ErrorHandler> <Resumption> <starter ipo="/vP.0010000113.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_XPT/INB_WS_CALL_SYNC_XPT.ipo/proc"/> </Resumption> <IPO Id="INB_WS_CALL_SYNC_XPT" tid="12080421240066961495C0A8003FB42C"/> <Sender Id="0010000113"/> <Resumption> <starter ipo="/vP.0010000113.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_XPT/INB_WS_CALL_SYNC_XPT.ipo/proc"/> </Resumption> <IPO Id="INB_WS_CALL_SYNC_XPT" tid="12080421240066961495C0A8003FB42C"/> <Sender Id="0010000113"/> </Header> <Body> <Payload Role="T" Type="Call" add=""/> <Payload Role="S"> <body xmlns=""> <GetBPList> <CardCode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">71335</CardCode> </GetBPList> </body> </Payload> </Body> <Body> <Payload Role="T" Type="Call" add=""/> <Payload Role="S"> <body xmlns=""> <GetBPList> <CardCode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">71335</CardCode> </GetBPList> </body> </Payload> </Body></Msg>
If you look at the bottom of the code above, you will see, that the incoming XML-message is read, and as well the Root-Tag "GetBPList" as well as the Parameter "CardCode" and its value "71335" are processed. But somehow B1if fails to recognize that it hast to process the step Z.GetBPList associated with the Root-Tag "GetBPList".
Do you have any idea why this is not working for me?
Thanks in advance for your kind support!
Best regards
Oliver