并发程序的消息架构
适用于 Oracle E-Business Suite 的 Microsoft BizTalk 适配器将并发程序作为操作进行显示。 除了作为操作公开的并发程序外,Oracle 电子商务适配器还显示以下三个标准操作:Get_Status、Wait_For_Request和Submit_Request。 有关这些与并发程序相关的操作的信息,请参阅 对并发程序的操作。
并发程序操作的消息结构
针对并发程序显示的操作遵循请求-响应消息交换模式。 下表显示了这些请求和响应消息的结构。
注意
请参阅表后面的实体说明。
操作 | XML 消息 | 说明 |
---|---|---|
[Concurrent_Program_Name]请求 | <?xml version="1.0" encoding="utf-8" ?> <[Concurrent_Program_Name] xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]/"> <SetOptions> <Implicit>[value]</Implicit> <Protected>[value]</Protected> <Language>[value]</Language> <Territory>[value]</Territory> <ContinueOnFail>[value]</ContinueOnFail> </SetOptions> <SetPrintOptions> <Printer>[value]</Printer> <Style>[value]</Style> <Copies>[value]</Copies> <SaveOutput>[value]</SaveOutput> <PrintTogether>[value]</PrintTogether> <ContinueOnFail>[value]</ContinueOnFail> </SetPrintOptions> <SetRepeatOptions> <RepeatTime>[value]</RepeatTime> <RepeatInterval>[value]</RepeatInterval> <RepeatUnit>[value]</RepeatUnit> <RepeatType>[value]</RepeatType> <RepeatEndTime>[value]</RepeatEndTime> <ContinueOnFail>[value]</ContinueOnFail> </SetRepeatOptions> <Description>[value]</Description> <StartTime><[value]</StartTime> <[CONCURRENT_PROGRAM_ARGUMENT1]>[value]</[CONCURRENT_PROGRAM_ARGUMENT1]> <[CONCURRENT_PROGRAM_ARGUMENT2]>[value]</[CONCURRENT_PROGRAM_ARGUMENT2]> … </[Concurrent_Program_Name]> |
- [Concurrent_Program_Name] 操作采用五个标准参数: SetOptions、 SetPrintOptions、 SetRepeatOptions、 Description 和 StartTime。 - ContinueOnFail 参数指示在父参数 (SetOptions、SetPrintOptions 或 SetRepeatOptions) 失败时,并发请求提交是否应继续,或者是否应引发异常。 可以指定 True (继续) 或 False (引发异常) 。 - 有关每个参数的详细信息,请参阅 对并发程序的操作。 |
[Concurrent_Program_Name]响应 | <?xml version="1.0" encoding="utf-8" ?> <[Concurrent_Program_Name]Response xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <[Concurrent_Program_Name]Result>[value]</[Concurrent_Program_Name]Result> </[Concurrent_Program_Name]Response> |
来自 Oracle E-Business Suite 的响应包含并发请求 ID。 |
Get_Status 请求 | <?xml version="1.0" encoding="utf-8" ?> <GetStatusForConcurrentProgram xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <RequestId>[value]</RequestId> </GetStatusForConcurrentProgram> |
此Get_Status请求消息采用并发程序的请求 ID 作为输入。 |
Get_Status响应 | <?xml version="1.0" encoding="utf-8" ?> <GetStatusForConcurrentProgramResponse xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <GetStatusForConcurrentProgramResult>[value]</GetStatusForConcurrentProgramResult> <Phase>[value]</Phase> <Status>[value]</Status> <DevPhase>[value]</DevPhase> <DevStatus>[value]</DevStatus> <Message>[value]</Message> </GetStatusForConcurrentProgramResponse> |
此Get_Status响应消息返回并发程序的请求阶段/状态和完成消息。 有关每个参数的详细信息,请参阅 对并发程序的操作。 |
Wait_For_Request 请求 | <?xml version="1.0" encoding="utf-8" ?> <WaitForRequestForConcurrentProgram xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <RequestId>[value]</RequestId> <Interval>[value]</Interval> <MaxWait>[value]</MaxWait> </WaitForRequestForConcurrentProgram> |
有关每个参数的详细信息,请参阅 对并发程序的操作。 |
Wait_For_Request响应 | <?xml version="1.0" encoding="utf-8" ?> <WaitForRequestForConcurrentProgramResponse xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <WaitForRequestForConcurrentProgramResult>[value]</WaitForRequestForConcurrentProgramResult> <Phase>[value]</Phase> <Status>[value]</Status> <DevPhase>[value]</DevPhase> <DevStatus>[value]</DevStatus> <Message>[value]</Message> </WaitForRequestForConcurrentProgramResponse> |
此Wait_For_Request响应消息返回并发程序的请求阶段/状态和完成消息。 有关每个参数的详细信息,请参阅 对并发程序的操作。 |
Submit_Request请求 | <?xml version="1.0" encoding="utf-8" ?> <SubmitRequestForConcurrentProgram xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <SetOptions> <Implicit>[value]</Implicit> <Protected>[value]</Protected> <Language>[value]</Language> <Territory>[value]</Territory> <ContinueOnFail>[value]</ContinueOnFail> </SetOptions> <SetPrintOptions> <Printer>[value]</Printer> <Style>[value]</Style> <Copies>[value]</Copies> <SaveOutput>[value]</SaveOutput> <PrintTogether>[value]</PrintTogether> <ContinueOnFail>[value]</ContinueOnFail> </SetPrintOptions> <SetRepeatOptions> <RepeatTime>[value]</RepeatTime> <RepeatInterval>[value]</RepeatInterval> <RepeatUnit>[value]</RepeatUnit> <RepeatType>[value]</RepeatType> <RepeatEndTime>[value]</RepeatEndTime> <ContinueOnFail>[value]</ContinueOnFail> </SetRepeatOptions> <Program>[value]</Program> <Description>[value]</Description> <StartTime>[value]</StartTime> <Arguments>[array_of_strings</Arguments> </SubmitRequestForConcurrentProgram> |
有关每个参数的详细信息,请参阅 对并发程序的操作。 |
Submit_Request响应 | <?xml version="1.0" encoding="utf-8" ?> <SubmitRequestForConcurrentProgramResponse xmlns="[VERSION]/ConcurrentPrograms/[APP_SHORT_NAME]"> <SubmitRequestForConcurrentProgramResult>[value]</SubmitRequestForConcurrentProgramResult> </SubmitRequestForConcurrentProgramResponse> |
如果提交请求成功完成,响应消息将返回并发请求 ID。 否则,它将返回“0”。 |
实体说明:
[VERSION] = http://schemas.microsoft.com/OracleEBS/2008/05
[APP_SHORT_NAME] = 应用程序短名称
[CONCURRENT_PROGRAM_ARGUMENT] = Oracle 电子商务套件中定义的并发程序所需的参数
并发程序的消息操作
Oracle 电子商务适配器对并发程序使用以下消息操作。
注意
请参阅表后面的实体说明。
消息 | 操作 | 示例 |
---|---|---|
[Concurrent_Program_Name]请求 | ConcurrentPrograms/[APP_SHORT_NAME]/[CONCURRENT_PROGRAM_SHORT_NAME] | ConcurrentPrograms/SQLGL/ADSFINS |
[Concurrent_Program_Name]响应 | ConcurrentPrograms/[APP_SHORT_NAME]/[CONCURRENT_PROGRAM_SHORT_NAME]/response | ConcurrentPrograms/SQLGL/ADSFINS/response |
Get_Status 请求 | ConcurrentPrograms/[APP_SHORT_NAME]/GetStatusForConcurrentProgram | ConcurrentPrograms/SQLGL/GetStatusForConcurrentProgram |
Get_Status响应 | ConcurrentPrograms/[APP_SHORT_NAME]/GetStatusForConcurrentProgram/response | ConcurrentPrograms/SQLGL/GetStatusForConcurrentProgram/response |
Wait_For_Request 请求 | ConcurrentPrograms/[APP_SHORT_NAME]/WaitForRequestForConcurrentProgram | ConcurrentPrograms/SQLGL/WaitForRequestForConcurrentProgram |
Wait_For_Request响应 | ConcurrentPrograms/[APP_SHORT_NAME]/WaitForRequestForConcurrentProgram/response | ConcurrentPrograms/SQLGL/WaitForRequestForConcurrentProgram/response |
Submit_Request请求 | ConcurrentPrograms/[APP_SHORT_NAME]/SubmitRequestForConcurrentProgram | ConcurrentPrograms/SQLGL/SubmitRequestForConcurrentProgram |
Submit_Request响应 | ConcurrentPrograms/[APP_SHORT_NAME]/SubmitRequestForConcurrentProgram/response | ConcurrentPrograms/SQLGL/SubmitRequestForConcurrentProgram/response |
实体说明:
[APP_SHORT_NAME] = 应用程序短名称
[CONCURRENT_PROGRAM_SHORT_NAME] = 并发程序短名称