Testing Siebel Business Applications > Keywords Reference > Keywords Description >

InboundWebServiceCall


You use the InboundWebServiceCall keyword to read an XML request from a .xml file, post the request to the server, and save the XML response from the server. The keyword also verifies the expected TagName and value in the XML response.

Signature

The InboundWebServiceCall keyword supports the following signature:

Inboundwebservicecall(XMLFIle;Tagname|@VAR1,Tagname2|@var2/NULL;Tagname|Value/@var/@STOREVAR,Tagname|value/@var/@STOREVAR)

Note the following about the InboundWebServiceCall keyword signature:

  • You must provide the full Tagname in the signature.
  • The variable name must begin with @STORE to store the response value of a tagname into the variable.

XML structure

To pass the dynamic variable into the XMLFIle PFB, use the following XML structure:

<tagname>$var</tagname>

<tagname>="$var"</tagname>

XML Structure

An example of the XML structure is as follows:

<EAI>

<EAI-SERVERNAME>Component Alias</EAI-SERVERNAME>

<EAI-USERNAME>Username</EAI-USERNAME>

<EAI-PASSWORD>Password</EAI-PASSWORD>

</EAI>

Desktop Examples

The following table describes how to use the InboundWebServiceCall keyword to read, post, and save an XML request and then verify the response in desktop applications.

Target Object
Inputs
Closing Action
Comments

 

Prod1.xml;swip:WorkspaceName|@var,swip:WorkspaceReuseFlag|@var2;ActiveFlag|@STOREVAR

 

Stores the tagname value in the response (ActiveFlag) in the @STOREVAR variable.

 

Prod1.xml;swip:WorkspaceName|@var,swip:WorkspaceReuseFlag|@var2;ActiveFlag|Y

 

Passes the values to a SOAP request dynamically.

 

Currency.xml;ConversionRateResult|0.0161

 

Sends the XML request and verifies the response.

 

Currency.xml;swip:WorkspaceName|@var,swip:WorkspaceReuseFlag|@var2;ActiveFlag|@var2

 

Passes the values to a SOAP request dynamically.

 

new.xml;NULL;OrderItem|ProductId|88-46TS9:ActionCode|@STOREsdf

 

Stores ActionCode from Order item tags in the @STOREsdf variable with the unique productID 88-46TS9.

Mobile Examples

The InboundWebServiceCall keyword does not apply to mobile applications.

Testing Siebel Business Applications Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.