步驟 3:使用 Siebel 配接器測試遷移的應用程式
完成時間: 5 分鐘
目的: 在此步驟中,您會在帳戶商務元件上執行插入作業,以測試已移轉的應用程式。 若要這樣做,您會卸載符合使用 vPrev Siebel 配接器所產生的架構的要求訊息。
必要條件
將 BizTalk 協調流程中的邏輯埠對應至 BizTalk Server 管理主控台中的實體埠,以設定 BizTalk 應用程式。
設定 BizTalk 應用程式,以使用 WCF 型 Siebel 配接器的 WCF-Custom 傳送埠。
測試已移轉的應用程式
從Siebel_BussComp_Migration資料夾中,複製 AccountInsert.xml 要求訊息。 此要求訊息符合 vPrev Siebel 配接器所產生的架構。 使用輸出對應時,WCF-Custom 傳送埠會轉換此埠,以符合 WCF 型 Siebel 配接器的架構,並將其傳送至 Siebel 系統。
<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>
將要求訊息貼到對應至檔案接收位置的資料夾。
協調流程會取用要求訊息,並將其傳送至 Siebel 系統。 Siebel 系統的回應會在符合 WCF 架構 Siebel 配接器的架構中接收。 使用輸入對應,WCF-Custom 傳送埠會將此轉換為 vPrev Siebel 配接器的架構。 Siebel 系統的回應會儲存到定義為協調流程一部分的其他檔案位置。 上述要求訊息的回應如下:
<?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>