You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by Dasarath Weeratunge <dw...@purdue.edu> on 2006/01/07 08:00:45 UTC

Re: IBM Tx endpoint

Hi Doug,

I tested Apache/Kandula ws-at impl against the IBM endpoint and Apache/Kandula 
and IBM interops well when Kandula is in IA role and IBM is in PA role. I could 
not yet test those scenarios in sections 6 & 7 that involve ws-sec* protocols.

However, when Kandula is in PA role and IBM plays IA in test 
5.7 "PreparedAfterTimeout", IBM impl sends the Soap fault to the participant 
protocol service endpoint even when a different faultTo endpoint is given in 
the prepared message. Also the soapAction URI used by IBM impl is not
http://schemas.xmlsoap.org/ws/2004/10/wscoor/fault for "InvalidState" fault.

I've put down the messages below. Hope you could clarify the problem.

thanks,
--dasarath

======================================================================
POST /axis/services/participant HTTP/1.0

Content-Type: text/xml; charset=utf-8

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.1

Host: 127.0.0.1:8083

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: "http://schemas.xmlsoap.org/ws/2004/08/addressing/fault"

Content-Length: 1309



<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> 
      <soapenv:Header>  
         <wsa:MessageID 
soapenv:mustUnderstand="0">uuid:a38875800a0301d800200db98464f147</wsa:MessageID>
  
         <wsa:To 
soapenv:mustUnderstand="0">http://lore.cs.purdue.edu:44444/axis/services/partici
pant</wsa:To>
         <ns1:CallbackRef 
xmlns:ns1="http://ws.apache.org/kandula">uuid:0f913b80-7f48-11da-8afc-
dbc1438d9b61</ns1:CallbackRef>  
         <wsa:Action 
soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/08/addressing/faul
t</wsa:Action>
         <wsa:ReplyTo>
            
<wsa:Address>http://wsi.alphaworks.ibm.com:8080/wstx/services/Coordinator</wsa:A
ddress>
            <wsa:ReferenceProperties>
               <ns1:part xmlns:ns1="urn:wstk">1</ns1:part>
               <ns2:activity xmlns:ns2="urn:wstk">urn:activity16</ns2:activity>
            </wsa:ReferenceProperties>
         </wsa:ReplyTo> 
      </soapenv:Header> 
      <soapenv:Body>
         <soapenv:Fault 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">  
            <faultcode 
xmlns:coor="http://schemas.xmlsoap.org/ws/2004/10/wscoor">coor:InvalidState</fau
ltcode>  
            <faultstring>InvalidState</faultstring>  
            <detail/>
         </soapenv:Fault> 
      </soapenv:Body>
   </soapenv:Envelope>

=======================================================================

POST /wstx/services/Coordinator HTTP/1.0

Content-Type: text/xml; charset=utf-8

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.3

Host: wsi.alphaworks.ibm.com:8084

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: "http://schemas.xmlsoap.org/ws/2004/10/wsat/Prepared"

Content-Length: 1515



<?xml version="1.0" encoding="UTF-8"?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
      <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">uuid:12f52700-7f48-11da-8afc-
dbc1438d9b61</wsa:MessageID>
         <wsa:To 
soapenv:mustUnderstand="0">http://wsi.alphaworks.ibm.com:8080/wstx/services/Coor
dinator</wsa:To>
         <wsa:Action 
soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/10/wsat/Prepared</
wsa:Action>
         <wsa:From soapenv:mustUnderstand="0">
            
<wsa:Address>http://lore.cs.purdue.edu:44444/axis/services/participant</wsa:Addr
ess>
            <wsa:ReferenceProperties>
               <ns1:CallbackRef 
xmlns:ns1="http://ws.apache.org/kandula">uuid:1016bf30-7f48-11da-8afc-
dbc1438d9b61</ns1:CallbackRef>
            </wsa:ReferenceProperties>
         </wsa:From>
         <wsa:FaultTo soapenv:mustUnderstand="0">
            
<wsa:Address>http://lore.cs.purdue.edu:44444/axis/services/faultDispatcher</wsa:
Address>
            <wsa:ReferenceProperties>
               <ns1:CallbackRef 
xmlns:ns1="http://ws.apache.org/kandula">uuid:1016bf30-7f48-11da-8afc-
dbc1438d9b61</ns1:CallbackRef>
            </wsa:ReferenceProperties>
         </wsa:FaultTo>
         <wstk:part xmlns:wstk="urn:wstk" 
soapenv:mustUnderstand="0">2</wstk:part>
         <wstk:activity xmlns:wstk="urn:wstk" 
soapenv:mustUnderstand="0">urn:activity16</wstk:activity>
      </soapenv:Header>
      <soapenv:Body>
         <Prepared xsi:nil="true" 
xmlns="http://schemas.xmlsoap.org/ws/2004/10/wsat"/>
      </soapenv:Body>
   </soapenv:Envelope>

---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org