OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-rx-implement message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [ws-rx-implement] Phase1 Interop Endpoint for WSO2


Hi Chamikara,

Thnaks for putting your first endpoint out. I have been able to test if and did not find any issue for the 1.1 scenario, when doing positive testing.

I did test Scenario 1.1 and 1.2 for both SOAP 1.1 and 1.2.

My negative tests are 2 variations of 1.1.

a) after receiving the TerminateSequenceResponse, I am trying to send another Ping message with the next MessageNumber, expecting to get an RM fault back.

b) before to send a TerminateSequence, I do send a CloseSequence, then a TerminateSequence, and finish with another Ping request, as above.

In case a) you respond back with a SOAP fault, that uses the text/html content type.

HTTP/1.1 200 OK
X-Transfer-Encoding: chunked
Date: Thu, 05 Oct 2006 19:05:38 GMT
Content-Type: text/xml
Server: WSO2 Tungsten/Java - Version SNAPSHOT
User-Agent: WSO2 Tungsten/Java - Version SNAPSHOT
Via: 1.1 inet-nc03 (NetCache NetApp/5.6.2R1D19)

<?xml version = '1.0' encoding = 'UTF-8'?>
<soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header>
      <wsrm:SequenceAcknowledgement xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200608"; soapenv:mustUnderstand="0">
         <wsrm:Identifier>urn:uuid:8D89F328FBFE72BE3C1160075145297784</wsrm:Identifier>
         <wsrm:AcknowledgementRange Lower="1" Upper="2"/>
         <wsrm:Final/>
      </wsrm:SequenceAcknowledgement>
      <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
      <wsa:ReplyTo>
         <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
      </wsa:ReplyTo>
      <wsa:MessageID>urn:uuid:8D89F328FBFE72BE3C1160075146322800</wsa:MessageID>
      <wsa:Action>http://docs.oasis-open.org/ws-rx/wsrm/200608/TerminateSequenceResponse</wsa:Action>
      <wsa:RelatesTo wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply";>ws.1160075132726.0.3</wsa:RelatesTo>
   </soapenv:Header>
   <soapenv:Body>
      <wsrm:TerminateSequenceResponse xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200608";>
         <wsrm:Identifier>urn:uuid:8D89F328FBFE72BE3C1160075145297784</wsrm:Identifier>
      </wsrm:TerminateSequenceResponse>
   </soapenv:Body>
</soapenv:Envelope>

In case b) you acknowledge the new Ping request, as if the sequence was not terminated.

In both cases, the WCF endpoint provided by Ondrej fail with the following SOAP fault:

HTTP/1.1 500 Internal Server Error
Date: Thu, 05 Oct 2006 19:16:08 GMT
Content-Length: 879
Content-Type: application/soap+xml; charset=utf-8
Server: Microsoft-HTTPAPI/1.0
Via: 1.1 inet-nc03 (NetCache NetApp/5.6.2R1D19)

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"; xmlns:a="http://www.w3.org/2005/08/addressing";><s:Header><a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action><ActivityId CorrelationId="2563f930-3671-405e-8549-48baa8677388" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics";>00000000-0000-0000-4a0c-006080000083</ActivityId></s:Header><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value xmlns:a="http://docs.oasis-open.org/ws-rx/wsrm/200608";>a:UnknownSequence</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en-US">The value of wsrm:Identifier is not a known Sequence identifier.</s:Text></s:Reason><s:Detail><r:Identifier xmlns:r="http://docs.oasis-open.org/ws-rx/wsrm/200608";>urn:uuid:ec7b6e99-526b-4a24-8158-4e1490996d9b</r:Identifier></s:Detail></s:Fault></s:Body></s:Envelope>

Let me know if you have any question, or if you need the whole messages set.

All the best,

Eric
Ps. I am hopping to go live with my first endpoint anytime soon...

-----Original Message-----
From: Chamikara Jayalath [mailto:chamikara@wso2.com] 
Sent: Saturday, September 30, 2006 11:05 AM
To: ws-rx-implement@lists.oasis-open.org
Subject: [ws-rx-implement] Phase1 Interop Endpoint for WSO2

Hi All,

WSO2 endpoint for Phase1 scenarios is available at, http://216.75.63.32:6172/soap/RMInteropService

Please try it. For any issues drop me a mail.

Chamikara



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]