You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by "Cwik, Jan" <Ja...@sabre-holdings.com> on 2007/10/26 17:38:26 UTC

bpel variable assignment

Hi,

I have the following schema (for simplicity I used "any" to avoid any
problems with schema validation). I am withdrawing by means of xsl
transformation the <SwsHeader> element from <PassengerDetailsRQ>
(SwsHeader is embedded in PassengerDetailsRQ). It looks like the xsl
transformation returns correctlythe <SwsHeader> element, however, when
assigning it to the variable $SwsHeaderRQ the SwsHeader is placed inside
SwsHeader. Please see below, at the bottom of the mail there are more
debug logs.

What am I doing wrong ?

regards
jan

...
DEBUG - ASSIGN                         - ASSIGN Writing variable
'SwsHeaderRQ' value '<?xml version=
"1.0" encoding="UTF-8"?>
<SwsHeader
xmlns="http://webservices.sabre.com/sabreXML/2003/07">&lt;SwsHeader
xmlns="http://webserv
ices.sabre.com/sabreXML/2003/07"&gt; 
...



schema
------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://webservices.sabre.com/sabreXML/2003/07"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://webservices.sabre.com/sabreXML/2003/07"
elementFormDefault="unqualified">
    <xs:element name="SwsHeader">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##any" processContents="lax"
maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>

bpel snippet
------------
<bpel:import importType="http://www.w3.org/2001/XMLSchema"
namespace="http://webservices.sabre.com/sabreXML/2003/07"
location="SwsHeader.xsd"/>

...

<bpel:variables>        
   	...
	<bpel:variable name="SwsHeaderRQ" element="xsd1:SwsHeader"/>
</bpel:variables>

<!-- Withdrawing header from payload of the PassengerDetailsRQ -->
<bpel:if> 
<bpel:condition>boolean($PassengerDetailsRequest.body/xsd1:SwsHeader)</b
pel:condition>
    <bpel:sequence name="SwsHeader-Sequence">                
        <bpel:assign name="SwsHeader-Assign" validate="no">
            <bpel:copy>
 
<bpel:from>bpel:doXslTransform("PassengerDetailsRQ2SwsHeaderRQ.xsl",
$PassengerDetailsRequest.body)</bpel:from>
                <bpel:to variable="SwsHeaderRQ"/>
            </bpel:copy>
        </bpel:assign>
    </bpel:sequence>
</bpel:if>        


OUTPUT
------
DEBUG - ASSIGN                         - Evaluating FROM expression
"{OXPath10Expression bpel:doXslT
ransform("PassengerDetailsRQ2SwsHeaderRQ.xsl",
$PassengerDetailsRequest.body)}".
DEBUG - JaxpFunctionResolver           - Resolving function
{http://docs.oasis-open.org/wsbpel/2.0/p
rocess/executable}doXslTransform
DEBUG - JaxpVariableResolver           - Resolving variable
PassengerDetailsRequest.body
DEBUG - JaxpFunctionResolver           -
call(context={ExprEvaluationContextImpl scopeInstance={Scop
eFrame: o={OScope '__PROCESS_SCOPE:TravelItineraryCreateProcess' id=3},
id=0}, activeLinks=null} arg
s=[PassengerDetailsRQ2SwsHeaderRQ.xsl, [[PassengerDetailsRQ: null]]])







DEBUG - JaxpFunctionResolver           - Executing XSL sheet
PassengerDetailsRQ2SwsHeaderRQ.xsl on e
lement <?xml version="1.0" encoding="UTF-8"?>
<PassengerDetailsRQ TimeStamp="2003-02-24T11:44:00"
Version="OTA_2007A.TsabreXML1.0.1" xmlns="http:/
/webservices.sabre.com/sabreXML/2003/07">
         <POS>
            <Source AgentSine="AWS" PseudoCityCode="IH9A"/>
         </POS>
         <HaltOnError Ind="true"/>
         <RedisplayReservation Ind="true"/>
         <TravelerInfo TransRefNumber="1">
            <HaltOnError Ind="false"/>
            <PersonName TravelerRefNumber="1.1">
               <GivenName>BRANDON</GivenName>
               <Surname>STEELE</Surname>
            </PersonName>
            <PersonName TravelerRefNumber="2.1">
               <GivenName>SILVIA</GivenName>
               <Surname>REVELLO</Surname>
            </PersonName>
            <Telephone AreaCityCode="682" CountryAccessCode="011"
PhoneNumber="6052187" PhoneUseType
="B" TravelerRefNumber="1.1"/>
            <Telephone AreaCityCode="817" CountryAccessCode="011"
PhoneNumber="5551212" PhoneUseType
="H" TravelerRefNumber="1.1"/>
            <Telephone AreaCityCode="817" CountryAccessCode="011"
PhoneNumber="5551212" PhoneUseType
="H" TravelerRefNumber="1.1"/>
            <Email EmailAddress="BRANDON.STEELE@SABRE.COM"
TravelerRefNumber="1.1"/>
            <Email EmailAddress="SILVIA.REVELLO@GMAIL.COM"
TravelerRefNumber="2.1"/>
            <Address>
               <TPA_Extensions>
                  <AgencyName>ABC TRAVEL</AgencyName>
               </TPA_Extensions>
               <StreetNmbr>2147 RICHLAND</StreetNmbr>
               <CityName>GRAPEVINE</CityName>
               <PostalCode>76051</PostalCode>
               <StateCountyProv StateCode="TX"/>
               <CountryName Code="US"/>
            </Address>
            <CustomerIdentifier Identifier="1111111"/>
            <Ticketing TicketType="7T-"/>
         </TravelerInfo>
         <MiscSegmentSell TransRefNumber="2">
            <HaltOnError Ind="false"/>
            <Segment Date="2007-11-22" NumberInParty="2" Type="OTH"
Vendor="AA">
               <MiscLocation CodeContext="IATA" LocationCode="DFW"/>
               <Text>TRAVELERS CHECKS</Text>
            </Segment>
         </MiscSegmentSell>
         <SpecialReqDetails>
            <SpecialServiceRequests TransRefNumber="3">
               <SpecialServiceRequest SSRCode="OTHS"
TravelerRefNumber="1.1">
                  <Airline Code="UA"/>
                  <Text>TEST SSR</Text>
               </SpecialServiceRequest>
            </SpecialServiceRequests>
            <Remarks TransRefNumber="4">
               <HaltOnError Ind="false"/>
               <Remark RemarkType="BasicRemark">
                  <Text>BRANDON REMARK</Text>
               </Remark>
               <Remark RemarkType="BasicRemark">
                  <Text>SILVIA REMARK</Text>
               </Remark>
               <PaymentDetails>
                  <PaymentDetail Type="CK"/>
               </PaymentDetails>
            </Remarks>
         </SpecialReqDetails>
         <EndTransactionRQ TransRefNumber="5">
            <HaltOnError Ind="false"/>
            <UpdatedBy>
               <TPA_Extensions>
                  <Access>
                     <AccessPerson>
                        <GivenName>BRANDON</GivenName>
                     </AccessPerson>
                  </Access>
               </TPA_Extensions>
            </UpdatedBy>
            <EndTransaction Ind="false"/>
         </EndTransactionRQ>
         <Queue PseudoCityCode="7TZA" QueueNumber="499" SystemCode="11"
TransRefNumber="6">
            <HaltOnError Ind="false"/>
         </Queue>
         <SwsHeader>
            <eb:MessageHeader eb:version="1.0"
soapenv:mustUnderstand="1" xmlns:eb="http://www.ebxml
.org/namespaces/messageHeader"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>
      </PassengerDetailsRQ>









DEBUG - JaxpFunctionResolver           - Returned by XSL Sheet:
<SwsHeader xmlns="http://webservices
.sabre.com/sabreXML/2003/07">
            <eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>
DEBUG - XPath20ExpressionRuntime       - Expression {OXPath10Expression
bpel:doXslTransform("Passeng
erDetailsRQ2SwsHeaderRQ.xsl", $PassengerDetailsRequest.body)} generated
result [<SwsHeader xmlns="ht
tp://webservices.sabre.com/sabreXML/2003/07">
            <eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>] - type=java.util.ArrayList






DEBUG - XPath20ExpressionRuntime       - Returned list of size 1
DEBUG - ASSIGN                         - lvalue after eval [SwsHeader:
null]
DEBUG - ASSIGN                         - content <?xml version="1.0"
encoding="UTF-8"?>
<SwsHeader xmlns="http://webservices.sabre.com/sabreXML/2003/07"/>
DEBUG - ASSIGN                         - lvaluePtr type 1
DEBUG - ASSIGN                         - lvaluePtr <?xml version="1.0"
encoding="UTF-8"?>
<SwsHeader xmlns="http://webservices.sabre.com/sabreXML/2003/07"/>
DEBUG - ASSIGN                         - lvalue [SwsHeader: null]








DEBUG - ASSIGN                         - rvalue <SwsHeader
xmlns="http://webservices.sabre.com/sabre
XML/2003/07">
            <eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>








DEBUG - ASSIGN                         - ASSIGN Writing variable
'SwsHeaderRQ' value '<?xml version=
"1.0" encoding="UTF-8"?>
<SwsHeader
xmlns="http://webservices.sabre.com/sabreXML/2003/07">&lt;SwsHeader
xmlns="http://webserv
ices.sabre.com/sabreXML/2003/07"&gt;
            &lt;eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1"&gt;
               &lt;eb:From&gt;
                  &lt;eb:PartyId
type="urn:x12.org:IO5:01"&gt;99999&lt;/eb:PartyId&gt;
               &lt;/eb:From&gt;
               &lt;eb:To&gt;
                  &lt;eb:PartyId
type="urn:x12.org:IO5:01"&gt;123123&lt;/eb:PartyId&gt;
               &lt;/eb:To&gt;
               &lt;eb:CPAId&gt;7BMA&lt;/eb:CPAId&gt;
 
&lt;eb:ConversationId&gt;test@sabre.com&lt;/eb:ConversationId&gt;
               &lt;eb:Service eb:type=""&gt;Air&lt;/eb:Service&gt;
               &lt;eb:Action&gt;PassengerDetailsRQ&lt;/eb:Action&gt;
               &lt;eb:MessageData&gt;
 
&lt;eb:MessageId&gt;mid:20001209-133003-2333@clientofsabre.com&lt;/eb:Me
ssageId&gt
;
 
&lt;eb:Timestamp&gt;2001-02-15T11:15:12Z&lt;/eb:Timestamp&gt;
 
&lt;eb:TimeToLive&gt;2001-02-15T11:15:12Z&lt;/eb:TimeToLive&gt;
               &lt;/eb:MessageData&gt;
            &lt;/eb:MessageHeader&gt;
            &lt;wsse:Security
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
               &lt;SabreAth xmlns=""&gt;&amp;lt;?xml version="1.0"
encoding="UTF-8"?&amp;gt;
&amp;lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceS
ess\/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.L
B" sessionRecordID="218152"&amp;gt;&amp;lt;securityLevel appLevel="1"
auditLevel="2" billingLevel="1
" metricsLevel="1" securityLevel="1"/&amp;gt;&amp;lt;version major="1"
minor="0"/&amp;gt;&amp;lt;sec
urityContext&amp;gt;&amp;lt;user affiliationcode="1" branch="2902"
domain="AA" group="7TZA" id="1234
5"
station="925"/&amp;gt;&amp;lt;/securityContext&amp;gt;&amp;lt;sessionCon
text activeTimeout="0" cr
eateTime="1193412010" idleTimeout="900" lastModifiedTime="1193412010"
sequenceNumber="0" transaction
ID="326520938"&amp;gt;&amp;lt;sessionVersion major="1"
minor="0"/&amp;gt;&amp;lt;tpfSession tpfClust
erName="" tpfEnterprise="" tpfIsConfigOverridden="false"
tpfIsIceCreated="true" tpfLniata="1605096"
tpfLockID="57558278" tpfPoolType="0" tpfProfileCity="" tpfProfileCode=""
tpfProfileKey="" tpfProfile
Name=""
tpfProtocol=""/&amp;gt;&amp;lt;/sessionContext&amp;gt;&amp;lt;/ath&amp;g
t;&lt;/SabreAth&gt;
               &lt;wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String"&gt;S
hared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.L
B!-4510510353685382813!21815
2!0&lt;/wsse:BinarySecurityToken&gt;
            &lt;/wsse:Security&gt;
         &lt;/SwsHeader&gt;</SwsHeader>'





       

RE: bpel variable assignment

Posted by "Cwik, Jan" <Ja...@sabre-holdings.com>.
Hi,

After digging into the debug logs I found out what the issue is about.
Simply the xsl that extracts the <SwsHeader> was set up to
omit-xml-declaration (see below). Then the bpel treated such a resulting
xml as an "type=java.util.ArrayList". When I removed
omit-xml-declaration everything works fine.

<xsl:output method="xml" encoding="UTF-8" indent="yes"
omit-xml-declaration="yes"/>

regards
jan

-----Original Message-----
From: Cwik, Jan [mailto:Jan.Cwik@sabre-holdings.com] 
Sent: Friday, October 26, 2007 5:38 PM
To: user@ode.apache.org
Subject: bpel variable assignment

Hi,

I have the following schema (for simplicity I used "any" to avoid any
problems with schema validation). I am withdrawing by means of xsl
transformation the <SwsHeader> element from <PassengerDetailsRQ>
(SwsHeader is embedded in PassengerDetailsRQ). It looks like the xsl
transformation returns correctlythe <SwsHeader> element, however, when
assigning it to the variable $SwsHeaderRQ the SwsHeader is placed inside
SwsHeader. Please see below, at the bottom of the mail there are more
debug logs.

What am I doing wrong ?

regards
jan

...
DEBUG - ASSIGN                         - ASSIGN Writing variable
'SwsHeaderRQ' value '<?xml version=
"1.0" encoding="UTF-8"?>
<SwsHeader
xmlns="http://webservices.sabre.com/sabreXML/2003/07">&lt;SwsHeader
xmlns="http://webserv
ices.sabre.com/sabreXML/2003/07"&gt; 
...



schema
------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://webservices.sabre.com/sabreXML/2003/07"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://webservices.sabre.com/sabreXML/2003/07"
elementFormDefault="unqualified">
    <xs:element name="SwsHeader">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##any" processContents="lax"
maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>

bpel snippet
------------
<bpel:import importType="http://www.w3.org/2001/XMLSchema"
namespace="http://webservices.sabre.com/sabreXML/2003/07"
location="SwsHeader.xsd"/>

...

<bpel:variables>        
   	...
	<bpel:variable name="SwsHeaderRQ" element="xsd1:SwsHeader"/>
</bpel:variables>

<!-- Withdrawing header from payload of the PassengerDetailsRQ -->
<bpel:if> 
<bpel:condition>boolean($PassengerDetailsRequest.body/xsd1:SwsHeader)</b
pel:condition>
    <bpel:sequence name="SwsHeader-Sequence">                
        <bpel:assign name="SwsHeader-Assign" validate="no">
            <bpel:copy>
 
<bpel:from>bpel:doXslTransform("PassengerDetailsRQ2SwsHeaderRQ.xsl",
$PassengerDetailsRequest.body)</bpel:from>
                <bpel:to variable="SwsHeaderRQ"/>
            </bpel:copy>
        </bpel:assign>
    </bpel:sequence>
</bpel:if>        


OUTPUT
------
DEBUG - ASSIGN                         - Evaluating FROM expression
"{OXPath10Expression bpel:doXslT
ransform("PassengerDetailsRQ2SwsHeaderRQ.xsl",
$PassengerDetailsRequest.body)}".
DEBUG - JaxpFunctionResolver           - Resolving function
{http://docs.oasis-open.org/wsbpel/2.0/p
rocess/executable}doXslTransform
DEBUG - JaxpVariableResolver           - Resolving variable
PassengerDetailsRequest.body
DEBUG - JaxpFunctionResolver           -
call(context={ExprEvaluationContextImpl scopeInstance={Scop
eFrame: o={OScope '__PROCESS_SCOPE:TravelItineraryCreateProcess' id=3},
id=0}, activeLinks=null} arg
s=[PassengerDetailsRQ2SwsHeaderRQ.xsl, [[PassengerDetailsRQ: null]]])







DEBUG - JaxpFunctionResolver           - Executing XSL sheet
PassengerDetailsRQ2SwsHeaderRQ.xsl on e
lement <?xml version="1.0" encoding="UTF-8"?>
<PassengerDetailsRQ TimeStamp="2003-02-24T11:44:00"
Version="OTA_2007A.TsabreXML1.0.1" xmlns="http:/
/webservices.sabre.com/sabreXML/2003/07">
         <POS>
            <Source AgentSine="AWS" PseudoCityCode="IH9A"/>
         </POS>
         <HaltOnError Ind="true"/>
         <RedisplayReservation Ind="true"/>
         <TravelerInfo TransRefNumber="1">
            <HaltOnError Ind="false"/>
            <PersonName TravelerRefNumber="1.1">
               <GivenName>BRANDON</GivenName>
               <Surname>STEELE</Surname>
            </PersonName>
            <PersonName TravelerRefNumber="2.1">
               <GivenName>SILVIA</GivenName>
               <Surname>REVELLO</Surname>
            </PersonName>
            <Telephone AreaCityCode="682" CountryAccessCode="011"
PhoneNumber="6052187" PhoneUseType
="B" TravelerRefNumber="1.1"/>
            <Telephone AreaCityCode="817" CountryAccessCode="011"
PhoneNumber="5551212" PhoneUseType
="H" TravelerRefNumber="1.1"/>
            <Telephone AreaCityCode="817" CountryAccessCode="011"
PhoneNumber="5551212" PhoneUseType
="H" TravelerRefNumber="1.1"/>
            <Email EmailAddress="BRANDON.STEELE@SABRE.COM"
TravelerRefNumber="1.1"/>
            <Email EmailAddress="SILVIA.REVELLO@GMAIL.COM"
TravelerRefNumber="2.1"/>
            <Address>
               <TPA_Extensions>
                  <AgencyName>ABC TRAVEL</AgencyName>
               </TPA_Extensions>
               <StreetNmbr>2147 RICHLAND</StreetNmbr>
               <CityName>GRAPEVINE</CityName>
               <PostalCode>76051</PostalCode>
               <StateCountyProv StateCode="TX"/>
               <CountryName Code="US"/>
            </Address>
            <CustomerIdentifier Identifier="1111111"/>
            <Ticketing TicketType="7T-"/>
         </TravelerInfo>
         <MiscSegmentSell TransRefNumber="2">
            <HaltOnError Ind="false"/>
            <Segment Date="2007-11-22" NumberInParty="2" Type="OTH"
Vendor="AA">
               <MiscLocation CodeContext="IATA" LocationCode="DFW"/>
               <Text>TRAVELERS CHECKS</Text>
            </Segment>
         </MiscSegmentSell>
         <SpecialReqDetails>
            <SpecialServiceRequests TransRefNumber="3">
               <SpecialServiceRequest SSRCode="OTHS"
TravelerRefNumber="1.1">
                  <Airline Code="UA"/>
                  <Text>TEST SSR</Text>
               </SpecialServiceRequest>
            </SpecialServiceRequests>
            <Remarks TransRefNumber="4">
               <HaltOnError Ind="false"/>
               <Remark RemarkType="BasicRemark">
                  <Text>BRANDON REMARK</Text>
               </Remark>
               <Remark RemarkType="BasicRemark">
                  <Text>SILVIA REMARK</Text>
               </Remark>
               <PaymentDetails>
                  <PaymentDetail Type="CK"/>
               </PaymentDetails>
            </Remarks>
         </SpecialReqDetails>
         <EndTransactionRQ TransRefNumber="5">
            <HaltOnError Ind="false"/>
            <UpdatedBy>
               <TPA_Extensions>
                  <Access>
                     <AccessPerson>
                        <GivenName>BRANDON</GivenName>
                     </AccessPerson>
                  </Access>
               </TPA_Extensions>
            </UpdatedBy>
            <EndTransaction Ind="false"/>
         </EndTransactionRQ>
         <Queue PseudoCityCode="7TZA" QueueNumber="499" SystemCode="11"
TransRefNumber="6">
            <HaltOnError Ind="false"/>
         </Queue>
         <SwsHeader>
            <eb:MessageHeader eb:version="1.0"
soapenv:mustUnderstand="1" xmlns:eb="http://www.ebxml
.org/namespaces/messageHeader"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>
      </PassengerDetailsRQ>









DEBUG - JaxpFunctionResolver           - Returned by XSL Sheet:
<SwsHeader xmlns="http://webservices
.sabre.com/sabreXML/2003/07">
            <eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>
DEBUG - XPath20ExpressionRuntime       - Expression {OXPath10Expression
bpel:doXslTransform("Passeng
erDetailsRQ2SwsHeaderRQ.xsl", $PassengerDetailsRequest.body)} generated
result [<SwsHeader xmlns="ht
tp://webservices.sabre.com/sabreXML/2003/07">
            <eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>] - type=java.util.ArrayList






DEBUG - XPath20ExpressionRuntime       - Returned list of size 1
DEBUG - ASSIGN                         - lvalue after eval [SwsHeader:
null]
DEBUG - ASSIGN                         - content <?xml version="1.0"
encoding="UTF-8"?>
<SwsHeader xmlns="http://webservices.sabre.com/sabreXML/2003/07"/>
DEBUG - ASSIGN                         - lvaluePtr type 1
DEBUG - ASSIGN                         - lvaluePtr <?xml version="1.0"
encoding="UTF-8"?>
<SwsHeader xmlns="http://webservices.sabre.com/sabreXML/2003/07"/>
DEBUG - ASSIGN                         - lvalue [SwsHeader: null]








DEBUG - ASSIGN                         - rvalue <SwsHeader
xmlns="http://webservices.sabre.com/sabre
XML/2003/07">
            <eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1">
               <eb:From>
                  <eb:PartyId
type="urn:x12.org:IO5:01">99999</eb:PartyId>
               </eb:From>
               <eb:To>
                  <eb:PartyId
type="urn:x12.org:IO5:01">123123</eb:PartyId>
               </eb:To>
               <eb:CPAId>7BMA</eb:CPAId>
               <eb:ConversationId>test@sabre.com</eb:ConversationId>
               <eb:Service eb:type="">Air</eb:Service>
               <eb:Action>PassengerDetailsRQ</eb:Action>
               <eb:MessageData>
 
<eb:MessageId>mid:20001209-133003-2333@clientofsabre.com</eb:MessageId>
                  <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
                  <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
               </eb:MessageData>
            </eb:MessageHeader>
            <wsse:Security xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
               <SabreAth xmlns="">&lt;?xml version="1.0"
encoding="UTF-8"?&gt;
&lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceSess\
/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.LB" s
essionRecordID="218152"&gt;&lt;securityLevel appLevel="1" auditLevel="2"
billingLevel="1" metricsLev
el="1" securityLevel="1"/&gt;&lt;version major="1"
minor="0"/&gt;&lt;securityContext&gt;&lt;user aff
iliationcode="1" branch="2902" domain="AA" group="7TZA" id="12345"
station="925"/&gt;&lt;/securityCo
ntext&gt;&lt;sessionContext activeTimeout="0" createTime="1193412010"
idleTimeout="900" lastModified
Time="1193412010" sequenceNumber="0"
transactionID="326520938"&gt;&lt;sessionVersion major="1" minor
="0"/&gt;&lt;tpfSession tpfClusterName="" tpfEnterprise=""
tpfIsConfigOverridden="false" tpfIsIceCre
ated="true" tpfLniata="1605096" tpfLockID="57558278" tpfPoolType="0"
tpfProfileCity="" tpfProfileCod
e="" tpfProfileKey="" tpfProfileName=""
tpfProtocol=""/&gt;&lt;/sessionContext&gt;&lt;/ath&gt;</Sabr
eAth>
               <wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String">Shared/
IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.LB!-451
0510353685382813!218152!0</w
sse:BinarySecurityToken>
            </wsse:Security>
         </SwsHeader>








DEBUG - ASSIGN                         - ASSIGN Writing variable
'SwsHeaderRQ' value '<?xml version=
"1.0" encoding="UTF-8"?>
<SwsHeader
xmlns="http://webservices.sabre.com/sabreXML/2003/07">&lt;SwsHeader
xmlns="http://webserv
ices.sabre.com/sabreXML/2003/07"&gt;
            &lt;eb:MessageHeader
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                     eb:version="1.0"
                     soapenv:mustUnderstand="1"&gt;
               &lt;eb:From&gt;
                  &lt;eb:PartyId
type="urn:x12.org:IO5:01"&gt;99999&lt;/eb:PartyId&gt;
               &lt;/eb:From&gt;
               &lt;eb:To&gt;
                  &lt;eb:PartyId
type="urn:x12.org:IO5:01"&gt;123123&lt;/eb:PartyId&gt;
               &lt;/eb:To&gt;
               &lt;eb:CPAId&gt;7BMA&lt;/eb:CPAId&gt;
 
&lt;eb:ConversationId&gt;test@sabre.com&lt;/eb:ConversationId&gt;
               &lt;eb:Service eb:type=""&gt;Air&lt;/eb:Service&gt;
               &lt;eb:Action&gt;PassengerDetailsRQ&lt;/eb:Action&gt;
               &lt;eb:MessageData&gt;
 
&lt;eb:MessageId&gt;mid:20001209-133003-2333@clientofsabre.com&lt;/eb:Me
ssageId&gt
;
 
&lt;eb:Timestamp&gt;2001-02-15T11:15:12Z&lt;/eb:Timestamp&gt;
 
&lt;eb:TimeToLive&gt;2001-02-15T11:15:12Z&lt;/eb:TimeToLive&gt;
               &lt;/eb:MessageData&gt;
            &lt;/eb:MessageHeader&gt;
            &lt;wsse:Security
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"
 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
               &lt;SabreAth xmlns=""&gt;&amp;lt;?xml version="1.0"
encoding="UTF-8"?&amp;gt;
&amp;lt;ath createTime="-4510510353685382813" directoryID="0"
sessionMgrContextName="Shared/IDL:IceS
ess\/SessMgr:1\.0.IDL/Common/" sessionMgrDirectName="ICESMS\/STSA"
sessionMgrLBName="ICESMSLB\/STS.L
B" sessionRecordID="218152"&amp;gt;&amp;lt;securityLevel appLevel="1"
auditLevel="2" billingLevel="1
" metricsLevel="1" securityLevel="1"/&amp;gt;&amp;lt;version major="1"
minor="0"/&amp;gt;&amp;lt;sec
urityContext&amp;gt;&amp;lt;user affiliationcode="1" branch="2902"
domain="AA" group="7TZA" id="1234
5"
station="925"/&amp;gt;&amp;lt;/securityContext&amp;gt;&amp;lt;sessionCon
text activeTimeout="0" cr
eateTime="1193412010" idleTimeout="900" lastModifiedTime="1193412010"
sequenceNumber="0" transaction
ID="326520938"&amp;gt;&amp;lt;sessionVersion major="1"
minor="0"/&amp;gt;&amp;lt;tpfSession tpfClust
erName="" tpfEnterprise="" tpfIsConfigOverridden="false"
tpfIsIceCreated="true" tpfLniata="1605096"
tpfLockID="57558278" tpfPoolType="0" tpfProfileCity="" tpfProfileCode=""
tpfProfileKey="" tpfProfile
Name=""
tpfProtocol=""/&amp;gt;&amp;lt;/sessionContext&amp;gt;&amp;lt;/ath&amp;g
t;&lt;/SabreAth&gt;
               &lt;wsse:BinarySecurityToken
EncodingType="wsse:Base64Binary" valueType="String"&gt;S
hared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSA!ICESMSLB\/STS.L
B!-4510510353685382813!21815
2!0&lt;/wsse:BinarySecurityToken&gt;
            &lt;/wsse:Security&gt;
         &lt;/SwsHeader&gt;</SwsHeader>'