Step 3: Test the Migrated Application with the Siebel adapter
Time to complete: 5 minutes
Objective: In this step, you will test the migrated application by performing an Insert operation on the Account business component. To do this, you drop a request message that conforms to the schema generated using the vPrev Siebel adapter.
Prerequisites
Configure the BizTalk application by mapping the logical ports in the BizTalk orchestration to physical ports in the BizTalk Server Administration console.
Configure the BizTalk application to use the WCF-Custom send port for the WCF-based Siebel adapter.
To test the migrated application
From the Siebel_BussComp_Migration folder, copy the AccountInsert.xml request message. This request message conforms to the schema generated by the vPrev Siebel adapter. Using the outbound map, the WCF-Custom send port converts this to conform to the schema for the WCF-based Siebel adapter and sends it to the Siebel system.
<Insert xmlns="http://schemas.microsoft.com/[Siebel://Business Objects/Account/Account]"> <AccountInsertRecordSet> <AccountInsertRecord xmlns="http://schemas.microsoft.com/Business_Objects"> <Currency_Code>USD</Currency_Code> <Customer_Account_Group>Sold-To-Party</Customer_Account_Group> <Location>Location_1</Location> <Main_Phone_Number>012345678</Main_Phone_Number> <Name>John_Smith</Name> <Party_Name>Party_Name_1</Party_Name> <Primary_Address_Id></Primary_Address_Id> </AccountInsertRecord> </AccountInsertRecordSet> </Insert>
Paste the request message to the folder mapped to the file receive location.
The orchestration consumes the request message and sends it to the Siebel system. The response from the Siebel system is received in the schema that conforms with the schema of the WCF-based Siebel adapter. Using the inbound map, the WCF-Custom send port converts this to the schema for the vPrev Siebel adapter. The response from the Siebel system is saved to the other file location defined as part of the orchestration. The response for the preceding request message is:
<?xml version="1.0" encoding="utf-8"?> <ns0:InsertResponse xmlns:ns0="http://schemas.microsoft.com/[Siebel://Business Objects/Account/Account]" xmlns:exposed="http://schemas.microsoft.com" xmlns:Business_Objects="http://schemas.microsoft.com/Business_Objects"> <ns0:RowIDList> <exposed:String>1-8EWWZ</exposed:String> </ns0:RowIDList> </ns0:InsertResponse>