A business service method can also generate an integration object as an output. Consider a case where you want to query the details of an account. You can use the Siebel Account business service to invoke a method called QuerybyId. QuerybyId accepts the primaryRowId of an account as an input and generates the integration object in an XML string format as the output. You can use an XML Parser transformation to parse the output XML string into a format compliant with the target.
The following figure shows a Siebel Business Service transformation that invokes the business service method called QuerybyId:
To get the account details, provide the primaryRowId of an account from the source. The Siebel_Account_QueryById transformation passes the account details as an integration object, in an XML string format, to the SiebelMessage port. Use the Account Interface.xsd to create an XML Parser transformation. Pass the output of the Siebel_Account_QueryById transformation to the XML Parser transformation, which parses the XML string in the format required by the target.