Kbase 40579: XML Messages are converted into multipart messages after walking throughservices with XQ 1.5
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Solution ID: P10579
FACT(s) (Environment):
Sonic XQ 1.5
SYMPTOM(s):
XML Messages are converted into multipart messages after walking through
services within the process of XQ 1.5
CAUSE:
This is due to the exit endpoint changes in SonicXQ
1.5. In 1.0.1 the behavior that the last step in the process was deemed
the exit endpoint. The message going to the last step was unwrapped
(process headers removed) and sent to the destination. An unwrapped
message with single part XML content would go out as an XMLMessage. In
XQ 1.5 all steps within the itinerary, including the last step are a
part of the process. Therefore messages sent to the last step will be
wrapped with process headers and sent to the destination.
FIX:
The way to get the same behavior is to remove the last step of the 1.0.1 itinerary and set that endpoint as the exit endpoint to the process. This will
cause messages sent to this destination to be unwrapped and sent off as
an XML message.
XQ 1.5 allows you to set multiple exit endpoints.
If the last step is a fanout than the following solution applies:
All steps that are in the fanout can become the exit endpoints of the process with no loss of functionality.
In detail the solution is to remove the fanout and make all of those addresses your exit endpoints for the process.