You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ch...@apache.org on 2007/04/23 11:55:16 UTC
svn commit: r531400 [18/18] - in /webservices/sandesha/trunk/java/modules:
client/ core/ core/src/ core/src/main/ core/src/main/java/
core/src/main/java/org/ core/src/main/java/org/apache/
core/src/main/java/org/apache/sandesha2/ core/src/main/java/org...
Added: webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceAcknowledgementTest.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceAcknowledgementTest.java?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceAcknowledgementTest.java (added)
+++ webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceAcknowledgementTest.java Mon Apr 23 02:54:53 2007
@@ -0,0 +1,96 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.sandesha2.wsrm;
+
+import org.apache.sandesha2.SandeshaException;
+import org.apache.sandesha2.SandeshaTestCase;
+import org.apache.sandesha2.Sandesha2Constants;
+import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axiom.soap.SOAPFactory;
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMElement;
+
+import javax.xml.namespace.QName;
+import java.util.Iterator;
+
+public class SequenceAcknowledgementTest extends SandeshaTestCase {
+
+ SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
+ String rmNamespace = Sandesha2Constants.SPEC_2005_02.NS_URI;
+
+ public SequenceAcknowledgementTest() {
+ super("SequenceAcknowledgementTest");
+ }
+
+ public void testFromOMElement() throws SandeshaException {
+ QName name = new QName(rmNamespace, "SequenceAcknowledgement");
+ SequenceAcknowledgement sequenceAck = new SequenceAcknowledgement(rmNamespace);
+ SOAPEnvelope env = getSOAPEnvelope("", "SequenceAcknowledgement.xml");
+ sequenceAck.fromOMElement(env.getHeader().getFirstChildWithName(name));
+
+ Identifier identifier = sequenceAck.getIdentifier();
+ assertEquals("uuid:897ee740-1624-11da-a28e-b3b9c4e71445", identifier.getIdentifier());
+
+ Iterator iterator = sequenceAck.getAcknowledgementRanges().iterator();
+ while (iterator.hasNext()) {
+ AcknowledgementRange ackRange = (AcknowledgementRange) iterator.next();
+ if (ackRange.getLowerValue() == 1){
+ assertEquals(2, ackRange.getUpperValue());
+
+ } else if (ackRange.getLowerValue() == 4) {
+ assertEquals(6, ackRange.getUpperValue());
+
+ } else if (ackRange.getLowerValue() == 8) {
+ assertEquals(10, ackRange.getUpperValue());
+ }
+ }
+
+ iterator = sequenceAck.getNackList().iterator();
+ while (iterator.hasNext()) {
+ Nack nack = (Nack) iterator.next();
+ if (nack.getNackNumber() == 3) {
+
+ } else if (nack.getNackNumber() == 7) {
+
+ } else {
+ fail("invalid nack : " + nack.getNackNumber());
+ }
+ }
+
+
+ }
+
+ public void testToOMElement() throws SandeshaException {
+ SequenceAcknowledgement seqAck = new SequenceAcknowledgement(rmNamespace);
+ Identifier identifier = new Identifier(rmNamespace);
+ identifier.setIndentifer("uuid:897ee740-1624-11da-a28e-b3b9c4e71445");
+ seqAck.setIdentifier(identifier);
+
+ SOAPEnvelope env = getEmptySOAPEnvelope();
+ seqAck.toSOAPEnvelope(env);
+
+ OMElement sequenceAckPart = env.getHeader().getFirstChildWithName(
+ new QName(rmNamespace, Sandesha2Constants.WSRM_COMMON.SEQUENCE_ACK));
+ OMElement identifierPart = sequenceAckPart.getFirstChildWithName(
+ new QName(rmNamespace, Sandesha2Constants.WSRM_COMMON.IDENTIFIER));
+ assertEquals("uuid:897ee740-1624-11da-a28e-b3b9c4e71445", identifierPart.getText());
+
+
+
+
+ }
+}
Added: webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceTest.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceTest.java?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceTest.java (added)
+++ webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/SequenceTest.java Mon Apr 23 02:54:53 2007
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.sandesha2.wsrm;
+
+import org.apache.sandesha2.SandeshaException;
+import org.apache.sandesha2.SandeshaTestCase;
+import org.apache.sandesha2.Sandesha2Constants;
+import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axiom.soap.SOAPFactory;
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMElement;
+
+import javax.xml.namespace.QName;
+
+public class SequenceTest extends SandeshaTestCase {
+
+ SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
+ String rmNamespace = Sandesha2Constants.SPEC_2005_02.NS_URI;
+
+ public SequenceTest() {
+ super("SequenceTest");
+
+ }
+
+ public void testFromOMElement() throws SandeshaException {
+ SOAPEnvelope env = getSOAPEnvelope("", "Sequence.xml");
+ Sequence sequence = new Sequence(rmNamespace);
+ sequence.fromOMElement(env.getHeader());
+
+ Identifier identifier = sequence.getIdentifier();
+ assertEquals("uuid:879da420-1624-11da-bed9-84d13db13902", identifier.getIdentifier());
+
+ MessageNumber msgNo = sequence.getMessageNumber();
+ assertEquals(1, msgNo.getMessageNumber());
+ }
+
+ public void testToSOAPEnvelope() throws SandeshaException {
+ Sequence sequence = new Sequence(rmNamespace);
+
+ Identifier identifier = new Identifier(rmNamespace);
+ identifier.setIndentifer("uuid:879da420-1624-11da-bed9-84d13db13902");
+ sequence.setIdentifier(identifier);
+
+ MessageNumber msgNo = new MessageNumber(rmNamespace);
+ msgNo.setMessageNumber(1);
+ sequence.setMessageNumber(msgNo);
+
+ SOAPEnvelope envelope = getEmptySOAPEnvelope();
+ sequence.toSOAPEnvelope(envelope);
+
+ OMElement sequencePart = envelope.getHeader().getFirstChildWithName(
+ new QName(rmNamespace, Sandesha2Constants.WSRM_COMMON.SEQUENCE));
+ OMElement identifierPart = sequencePart.getFirstChildWithName(
+ new QName(rmNamespace, Sandesha2Constants.WSRM_COMMON.IDENTIFIER));
+ assertEquals("uuid:879da420-1624-11da-bed9-84d13db13902", identifierPart.getText());
+
+ OMElement msgNumberPart = sequencePart.getFirstChildWithName(
+ new QName (rmNamespace,Sandesha2Constants.WSRM_COMMON.MSG_NUMBER));
+ assertEquals(1, Long.parseLong(msgNumberPart.getText()));
+ }
+}
Added: webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceResponseTest.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceResponseTest.java?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceResponseTest.java (added)
+++ webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceResponseTest.java Mon Apr 23 02:54:53 2007
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.sandesha2.wsrm;
+
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.soap.SOAPFactory;
+import org.apache.axis2.addressing.AddressingConstants;
+import org.apache.sandesha2.Sandesha2Constants;
+
+import junit.framework.TestCase;
+
+public class TerminateSequenceResponseTest extends TestCase {
+
+ SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
+ String rmNamespaceValue = Sandesha2Constants.SPEC_2005_02.NS_URI;
+ String addressingNamespaceValue = AddressingConstants.Final.WSA_NAMESPACE;
+
+ public TerminateSequenceResponseTest() {
+// super("CreateSequenceResponseTest");
+
+ }
+
+ public void testFromOMElement() {
+
+ }
+
+ public void testToSOAPEnvelope() {}
+}
Added: webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceTest.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceTest.java?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceTest.java (added)
+++ webservices/sandesha/trunk/java/modules/tests/src/org/apache/sandesha2/wsrm/TerminateSequenceTest.java Mon Apr 23 02:54:53 2007
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.sandesha2.wsrm;
+
+import org.apache.sandesha2.SandeshaException;
+import org.apache.sandesha2.SandeshaTestCase;
+import org.apache.sandesha2.Sandesha2Constants;
+import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axiom.soap.SOAPFactory;
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMElement;
+
+import javax.xml.namespace.QName;
+
+public class TerminateSequenceTest extends SandeshaTestCase {
+
+ SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
+ String rmNamespace = Sandesha2Constants.SPEC_2005_02.NS_URI;
+
+ public TerminateSequenceTest() {
+ super("TerminateSequenceTest");
+ }
+
+ public void testFromOMElement() throws SandeshaException {
+ TerminateSequence terminateSequence = new TerminateSequence(rmNamespace);
+ SOAPEnvelope env = getSOAPEnvelope("", "TerminateSequence.xml");
+ terminateSequence.fromOMElement(env.getBody());
+
+ Identifier identifier = terminateSequence.getIdentifier();
+ assertEquals("uuid:59b0c910-1625-11da-bdfc-b09ed76a1f06", identifier.getIdentifier());
+ }
+
+ public void testToSOAPEnvelope() throws SandeshaException {
+ TerminateSequence terminateSequence = new TerminateSequence(rmNamespace);
+ Identifier identifier = new Identifier(rmNamespace);
+ identifier.setIndentifer("uuid:59b0c910-1625-11da-bdfc-b09ed76a1f06");
+ terminateSequence.setIdentifier(identifier);
+
+ SOAPEnvelope env = getEmptySOAPEnvelope();
+ terminateSequence.toSOAPEnvelope(env);
+
+ OMElement terminateSeqPart = env.getBody().getFirstChildWithName(
+ new QName(rmNamespace, Sandesha2Constants.WSRM_COMMON.TERMINATE_SEQUENCE));
+ OMElement identifierPart = terminateSeqPart.getFirstChildWithName(
+ new QName(rmNamespace, Sandesha2Constants.WSRM_COMMON.IDENTIFIER));
+ assertEquals("uuid:59b0c910-1625-11da-bdfc-b09ed76a1f06", identifierPart.getText());
+ }
+}
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/AckRequested.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/AckRequested.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/AckRequested.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/AckRequested.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,15 @@
+<?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:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:wsa="http://www.w3.org/2005/08/addressing">
+ <soapenv:Header>
+ <wsa:MessageID soapenv:mustUnderstand="1">uuid:8d8f8d80-1624-11da-a28e-b3b9c4e71445</wsa:MessageID>
+ <wsa:To soapenv:mustUnderstand="1">http://127.0.0.1:9070/axis/services/RMService</wsa:To>
+ <wsa:Action soapenv:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/rm/AckRequested</wsa:Action>
+ <wsa:From soapenv:mustUnderstand="1">
+ <wsa:Address>http://localhost:8070/axis/services/TestService</wsa:Address>
+ </wsa:From>
+ <wsrm:AckRequested soapenv:mustUnderstand="1">
+ <wsrm:Identifier>uuid:897ee740-1624-11da-a28e-b3b9c4e71445</wsrm:Identifier>
+ </wsrm:AckRequested>
+ </soapenv:Header>
+ <soapenv:Body/>
+ </soapenv:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequence.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequence.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequence.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequence.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,24 @@
+<?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:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:wsa="http://www.w3.org/2005/08/addressing">
+ <soapenv:Header>
+ <wsa:MessageID soapenv:mustUnderstand="0">uuid:c3671020-15e0-11da-9b3a-f0439d4867bd</wsa:MessageID>
+ <wsa:To soapenv:mustUnderstand="0">http://localhost:8070/axis/services/TestService</wsa:To>
+ <wsa:Action soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</wsa:Action>
+ <wsa:From soapenv:mustUnderstand="0">
+ <wsa:Address>http://192.168.1.4:9090/axis/services/RMService</wsa:Address>
+ </wsa:From>
+ <wsa:ReplyTo soapenv:mustUnderstand="0">
+ <wsa:Address>http://127.0.0.1:9090/axis/services/RMService</wsa:Address>
+ </wsa:ReplyTo>
+ </soapenv:Header>
+ <soapenv:Body>
+ <wsrm:CreateSequence>
+ <wsrm:AcksTo>
+ <wsa:Address>http://127.0.0.1:9090/axis/services/RMService</wsa:Address>
+ </wsrm:AcksTo>
+ <wsrm:Offer>
+ <wsrm:Identifier>uuid:c3671020-15e0-11da-9b3b-f0439d4867bd</wsrm:Identifier>
+ </wsrm:Offer>
+ </wsrm:CreateSequence>
+ </soapenv:Body>
+ </soapenv:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequenceResponse.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequenceResponse.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequenceResponse.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/CreateSequenceResponse.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,22 @@
+<?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:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:wsa="http://www.w3.org/2005/08/addressing">
+ <soapenv:Header>
+ <wsa:MessageID soapenv:mustUnderstand="1">uuid:88754b00-161a-11da-b6d6-8198de3c47c5</wsa:MessageID>
+ <wsa:To soapenv:mustUnderstand="1">http://127.0.0.1:9070/axis/services/RMService</wsa:To>
+ <wsa:Action soapenv:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse</wsa:Action>
+ <wsa:From soapenv:mustUnderstand="1">
+ <wsa:Address>http://localhost:8070/axis/services/TestService</wsa:Address>
+ </wsa:From>
+ <wsa:RelatesTo RelationshipType="http://schemas.xmlsoap.org/ws/2005/08/addressing" soapenv:mustUnderstand="1" xmlns:http="wsa">uuid:872e4c10-161a-11da-9ef7-bd9ad94438a3</wsa:RelatesTo>
+ </soapenv:Header>
+ <soapenv:Body>
+ <wsrm:CreateSequenceResponse>
+ <wsrm:Identifier>uuid:88754b00-161a-11da-b6d6-8198de3c47c5</wsrm:Identifier>
+ <wsrm:Accept>
+ <wsrm:AcksTo>
+ <wsa:Address>http://localhost:8070/axis/services/TestService</wsa:Address>
+ </wsrm:AcksTo>
+ </wsrm:Accept>
+ </wsrm:CreateSequenceResponse>
+ </soapenv:Body>
+ </soapenv:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/MakeConnection.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/MakeConnection.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/MakeConnection.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/MakeConnection.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,16 @@
+<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
+xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"
+xmlns:wsmc="http://docs.oasis-open.org/ws-rx/wsmc/200702"
+xmlns:wsa="http://www.w3.org/2005/08/addressing">
+<S:Header>
+<wsa:Action>http://docs.oasis-open.org/wsrx/
+wsrm/200608/MakeConnection</wsa:Action>
+<wsa:To> http://example.org/subscriptionService </wsa:To>
+</S:Header>
+<S:Body>
+<wsmc:MakeConnection>
+<wsrm:Identifier>urn:uuid:6367739C8350488CD411576188379313</wsrm:Identifier>
+<wsmc:Address>http://docs.oasis-open.org/wsrx/wsrm/200702/anonymous?id=550e8400-e29b-11d4-a716-446655440000</wsmc:Address>
+</wsmc:MakeConnection>
+</S:Body>
+</S:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/MessagePending.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/MessagePending.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/MessagePending.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/MessagePending.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,16 @@
+<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
+xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"
+xmlns:wsmc="http://docs.oasis-open.org/ws-rx/wsmc/200702"
+xmlns:wsa="http://www.w3.org/2005/08/addressing">
+<S:Header>
+<wsa:Action> http://example.org/eventType1 </wsa:Action>
+<wsa:To>http://docs.oasis-open.org/wsrx/
+wsrm/200608/anonymous?id=550e8400-e29b-11d4-a716-446655440000</wsa:To>
+<wsrm:Sequence>
+<wsrm:Identifier> http://example.org/rmid-456 </wsrm:Identifier>
+</wsrm:Sequence>
+<wsmc:MessagePending pending="true"/>
+</S:Header>
+<S:Body>
+</S:Body>
+</S:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/Sequence.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/Sequence.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/Sequence.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/Sequence.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,21 @@
+<?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:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:wsa="http://www.w3.org/2005/08/addressing">
+ <soapenv:Header>
+ <wsa:MessageID soapenv:mustUnderstand="1">uuid:8c00b020-1624-11da-a28e-b3b9c4e71445</wsa:MessageID>
+ <wsa:To soapenv:mustUnderstand="1">http://127.0.0.1:9070/axis/services/RMService</wsa:To>
+ <wsa:Action soapenv:mustUnderstand="1">urn:wsrm:echoStringResponse</wsa:Action>
+ <wsa:From soapenv:mustUnderstand="1">
+ <wsa:Address>http://localhost:8070/axis/services/TestService</wsa:Address>
+ </wsa:From>
+ <wsa:RelatesTo RelationshipType="wsa:Reply" soapenv:mustUnderstand="1">uuid:87a0b160-1624-11da-bed9-84d13db13902</wsa:RelatesTo>
+ <wsrm:Sequence soapenv:mustUnderstand="1">
+ <wsrm:Identifier>uuid:879da420-1624-11da-bed9-84d13db13902</wsrm:Identifier>
+ <wsrm:MessageNumber>1</wsrm:MessageNumber>
+ </wsrm:Sequence>
+ </soapenv:Header>
+ <soapenv:Body>
+ <ns1:echoStringResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tempuri.org/">
+ <echoStringReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">Sandesha Echo 1</echoStringReturn>
+ </ns1:echoStringResponse>
+ </soapenv:Body>
+ </soapenv:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/SequenceAcknowledgement.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/SequenceAcknowledgement.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/SequenceAcknowledgement.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/SequenceAcknowledgement.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,20 @@
+<?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:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:wsa="http://www.w3.org/2005/08/addressing">
+ <soapenv:Header>
+ <wsa:MessageID soapenv:mustUnderstand="1">uuid:8d8f8d80-1624-11da-a28e-b3b9c4e71445</wsa:MessageID>
+ <wsa:To soapenv:mustUnderstand="1">http://127.0.0.1:9070/axis/services/RMService</wsa:To>
+ <wsa:Action soapenv:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement</wsa:Action>
+ <wsa:From soapenv:mustUnderstand="1">
+ <wsa:Address>http://localhost:8070/axis/services/TestService</wsa:Address>
+ </wsa:From>
+ <wsrm:SequenceAcknowledgement soapenv:mustUnderstand="1">
+ <wsrm:AcknowledgementRange Upper="2" Lower="1"/>
+ <wsrm:AcknowledgementRange Upper="6" Lower="4"/>
+ <wsrm:AcknowledgementRange Upper="10" Lower="8"/>
+ <wsrm:Nack>3</wsrm:Nack>
+ <wsrm:Nack>7</wsrm:Nack>
+ <wsrm:Identifier>uuid:897ee740-1624-11da-a28e-b3b9c4e71445</wsrm:Identifier>
+ </wsrm:SequenceAcknowledgement>
+ </soapenv:Header>
+ <soapenv:Body/>
+ </soapenv:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/TerminateSequence.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/TerminateSequence.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/TerminateSequence.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/TerminateSequence.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,16 @@
+<?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:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:wsa="http://www.w3.org/2005/08/addressing">
+ <soapenv:Header>
+ <wsa:MessageID soapenv:mustUnderstand="1">uuid:64f5c3c0-1625-11da-a28e-b3b9c4e71445</wsa:MessageID>
+ <wsa:To soapenv:mustUnderstand="1">http://127.0.0.1:9070/axis/services/RMService</wsa:To>
+ <wsa:Action soapenv:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/rm/TerminateSequence</wsa:Action>
+ <wsa:From soapenv:mustUnderstand="1">
+ <wsa:Address>http://localhost:8070/axis/services/TestService</wsa:Address>
+ </wsa:From>
+ </soapenv:Header>
+ <soapenv:Body>
+ <wsrm:TerminateSequence>
+ <wsrm:Identifier>uuid:59b0c910-1625-11da-bdfc-b09ed76a1f06</wsrm:Identifier>
+ </wsrm:TerminateSequence>
+ </soapenv:Body>
+ </soapenv:Envelope>
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/client_mtom_axis2.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/client_mtom_axis2.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/client_mtom_axis2.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/client_mtom_axis2.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,202 @@
+<axisconfig name="AxisJava2.0">
+ <!-- ================================================= -->
+ <!-- Parameters -->
+ <!-- ================================================= -->
+ <parameter name="hotdeployment" locked="false">true</parameter>
+ <parameter name="hotupdate" locked="false">false</parameter>
+ <parameter name="enableMTOM" locked="false">true</parameter>
+
+ <!--During a fault, stacktrace can be sent with the fault message. The following flag will control -->
+ <!--that behaviour.-->
+ <parameter name="sendStacktraceDetailsWithFaults" locked="false">true</parameter>
+
+ <!--If there aren't any information available to find out the fault reason, we set the message of the expcetion-->
+ <!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
+ <!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
+ <!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
+ <parameter name="DrillDownToRootCauseForFaultReason" locked="false">false</parameter>
+
+ <!--This is the user name and password of admin console-->
+ <parameter name="userName" locked="false">admin</parameter>
+ <parameter name="password" locked="false">axis2</parameter>
+
+ <!--<parameter name="contextRoot" locked="false">axis2</parameter>-->
+ <!--<parameter name="servicePath" locked="false">services</parameter>-->
+ <!--Set the flag to true if you want to enable transport level session mangment-->
+ <parameter name="manageTransportSession" locked="false">false</parameter>
+
+ <!--Following two parameters will be used to handle REST in Axis2. The default settings will make Axis2 to have two-->
+ <!--different endpoints, one for REST (AxisRESTServlet) one for SOAP message handling (AxisServlet). But following-->
+ <!--parameters help to tweak the message handling of two main servlets. -->
+
+ <!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet will handle both SOAP and REST messages -->
+ <parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter>
+
+ <!-- Following parameter will completely disable REST handling in both the servlets-->
+ <parameter name="disableREST" locked="true">false</parameter>
+
+ <!-- This will disable the separate servlet we have for REST handling. -->
+ <parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>
+
+
+
+ <!-- ================================================= -->
+ <!-- Message Receivers -->
+ <!-- ================================================= -->
+ <!--This is the Deafult Message Receiver for the system , if you want to have MessageReceivers for -->
+ <!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
+ <!--any operation -->
+ <!--Note : You can ovride this for particular service by adding the same element with your requirement-->
+ <messageReceivers>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-only"
+ class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out"
+ class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+ </messageReceivers>
+
+ <!-- ================================================= -->
+ <!-- Target Resolvers -->
+ <!-- ================================================= -->
+ <!-- Uncomment the following and specify the class name for your TargetResolver to add -->
+ <!-- a TargetResolver. TargetResolvers are used to process the To EPR for example to -->
+ <!-- choose a server in a cluster -->
+ <!--<targetResolvers>-->
+ <!--<targetResolver class="" />-->
+ <!--</targetResolvers>-->
+
+
+ <!-- ================================================= -->
+ <!-- Transport Ins -->
+ <!-- ================================================= -->
+ <transportReceiver name="http"
+ class="org.apache.axis2.transport.http.SimpleHTTPServer">
+ <parameter name="port" locked="false">6060</parameter>
+ <!--If you want to give your own host address for EPR generation-->
+ <!--uncommet following paramter , and set as you required.-->
+ <!--<parameter name="hostname" locked="false">http://myApp.com/ws</parameter>-->
+ </transportReceiver>
+
+ <transportReceiver name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPServer">
+ <parameter name="port" locked="false">6061</parameter>
+ <!--If you want to give your own host address for EPR generation-->
+ <!--uncommet following paramter , and set as you required.-->
+ <!--<parameter name="hostname" locked="false">tcp://myApp.com/ws</parameter>-->
+ </transportReceiver>
+
+ <!-- ================================================= -->
+ <!-- Transport Outs -->
+ <!-- ================================================= -->
+
+ <transportSender name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+ <transportSender name="local"
+ class="org.apache.axis2.transport.local.LocalTransportSender"/>
+ <transportSender name="http"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+ <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
+ </transportSender>
+ <transportSender name="https"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+ <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
+ </transportSender>
+
+ <module ref="addressing" />
+ <module ref="sandesha2" />
+
+ <!-- ================================================= -->
+ <!-- Phases -->
+ <!-- ================================================= -->
+ <phaseOrder type="InFlow">
+ <!-- System pre defined phases -->
+ <phase name="Transport">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.engine.AddressingBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.engine.RequestURIOperationDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="InstanceDispatcher"
+ class="org.apache.axis2.engine.InstanceDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ </phase>
+ <!-- System pre defined phases -->
+ <!-- After Postdispatch phase module author or or service author can add any phase he want -->
+ <phase name="OperationInPhase"/>
+ <phase name="RMPhase" />
+ </phaseOrder>
+ <phaseOrder type="OutFlow">
+ <!-- user can add his own phases to this area -->
+ <phase name="RMPhase" />
+ <phase name="OperationOutPhase"/>
+ <!--system predefined phase-->
+ <!--these phase will run irrespective of the service-->
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ <phase name="Security"/>
+ </phaseOrder>
+ <phaseOrder type="InFaultFlow">
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.engine.AddressingBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.engine.RequestURIOperationDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="InstanceDispatcher"
+ class="org.apache.axis2.engine.InstanceDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ </phase>
+ <!-- user can add his own phases to this area -->
+ <phase name="OperationInFaultPhase"/>
+ <phase name="RMPhase" />
+ </phaseOrder>
+ <phaseOrder type="OutFaultFlow">
+ <!-- user can add his own phases to this area -->
+ <phase name="RMPhase" />
+ <phase name="OperationOutFaultPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ </phaseOrder>
+</axisconfig>
\ No newline at end of file
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2-test.properties
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2-test.properties?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2-test.properties (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2-test.properties Mon Apr 23 02:54:53 2007
@@ -0,0 +1 @@
+test.server.port=8060
\ No newline at end of file
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2.properties
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2.properties?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2.properties (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/sandesha2.properties Mon Apr 23 02:54:53 2007
@@ -0,0 +1,22 @@
+#THIS IS A TEST RESOURCE - THE CORRECT PROPERTIES FILE CAN BE FOUND
+#IN THE 'conf' DIRECTORY.
+
+#RM Policy values for the server
+#-------------------------------
+RetransmissionInterval=20000
+AcknowledgementInterval=8000
+ExponentialBackoff=false
+InactivityTimeout=3
+InactivityTimeoutMeasure=hours
+
+
+#Security Manager Class
+#----------------------
+SecurityManager=org.apache.sandesha2.security.SecurityManager1
+
+#Storage Manager Class
+#----------------------
+InMemoryStorageManager=org.apache.sandesha2.storage.inmemory.InMemoryStorageManager1
+
+SequenceRemovalTimeout=1
+SequenceRemovalTimeoutMeasure=hours
Added: webservices/sandesha/trunk/java/modules/tests/test-resources/server_mtom_axis2.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/tests/test-resources/server_mtom_axis2.xml?view=auto&rev=531400
==============================================================================
--- webservices/sandesha/trunk/java/modules/tests/test-resources/server_mtom_axis2.xml (added)
+++ webservices/sandesha/trunk/java/modules/tests/test-resources/server_mtom_axis2.xml Mon Apr 23 02:54:53 2007
@@ -0,0 +1,202 @@
+<axisconfig name="AxisJava2.0">
+ <!-- ================================================= -->
+ <!-- Parameters -->
+ <!-- ================================================= -->
+ <parameter name="hotdeployment" locked="false">true</parameter>
+ <parameter name="hotupdate" locked="false">false</parameter>
+ <parameter name="enableMTOM" locked="false">true</parameter>
+
+ <!--During a fault, stacktrace can be sent with the fault message. The following flag will control -->
+ <!--that behaviour.-->
+ <parameter name="sendStacktraceDetailsWithFaults" locked="false">true</parameter>
+
+ <!--If there aren't any information available to find out the fault reason, we set the message of the expcetion-->
+ <!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
+ <!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
+ <!--is set then, Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
+ <parameter name="DrillDownToRootCauseForFaultReason" locked="false">false</parameter>
+
+ <!--This is the user name and password of admin console-->
+ <parameter name="userName" locked="false">admin</parameter>
+ <parameter name="password" locked="false">axis2</parameter>
+
+ <!--<parameter name="contextRoot" locked="false">axis2</parameter>-->
+ <!--<parameter name="servicePath" locked="false">services</parameter>-->
+ <!--Set the flag to true if you want to enable transport level session mangment-->
+ <parameter name="manageTransportSession" locked="false">false</parameter>
+
+ <!--Following two parameters will be used to handle REST in Axis2. The default settings will make Axis2 to have two-->
+ <!--different endpoints, one for REST (AxisRESTServlet) one for SOAP message handling (AxisServlet). But following-->
+ <!--parameters help to tweak the message handling of two main servlets. -->
+
+ <!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet will handle both SOAP and REST messages -->
+ <parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter>
+
+ <!-- Following parameter will completely disable REST handling in both the servlets-->
+ <parameter name="disableREST" locked="true">false</parameter>
+
+ <!-- This will disable the separate servlet we have for REST handling. -->
+ <parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>
+
+
+
+
+ <!-- ================================================= -->
+ <!-- Message Receivers -->
+ <!-- ================================================= -->
+ <!--This is the Deafult Message Receiver for the system , if you want to have MessageReceivers for -->
+ <!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
+ <!--any operation -->
+ <!--Note : You can ovride this for particular service by adding the same element with your requirement-->
+ <messageReceivers>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-only"
+ class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
+ <messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out"
+ class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+ </messageReceivers>
+
+ <!-- ================================================= -->
+ <!-- Target Resolvers -->
+ <!-- ================================================= -->
+ <!-- Uncomment the following and specify the class name for your TargetResolver to add -->
+ <!-- a TargetResolver. TargetResolvers are used to process the To EPR for example to -->
+ <!-- choose a server in a cluster -->
+ <!--<targetResolvers>-->
+ <!--<targetResolver class="" />-->
+ <!--</targetResolvers>-->
+
+
+ <!-- ================================================= -->
+ <!-- Transport Ins -->
+ <!-- ================================================= -->
+ <transportReceiver name="http"
+ class="org.apache.axis2.transport.http.SimpleHTTPServer">
+ <parameter name="port" locked="false">6060</parameter>
+ <!--If you want to give your own host address for EPR generation-->
+ <!--uncommet following paramter , and set as you required.-->
+ <!--<parameter name="hostname" locked="false">http://myApp.com/ws</parameter>-->
+ </transportReceiver>
+
+ <transportReceiver name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPServer">
+ <parameter name="port" locked="false">6061</parameter>
+ <!--If you want to give your own host address for EPR generation-->
+ <!--uncommet following paramter , and set as you required.-->
+ <!--<parameter name="hostname" locked="false">tcp://myApp.com/ws</parameter>-->
+ </transportReceiver>
+
+ <!-- ================================================= -->
+ <!-- Transport Outs -->
+ <!-- ================================================= -->
+
+ <transportSender name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
+ <transportSender name="local"
+ class="org.apache.axis2.transport.local.LocalTransportSender"/>
+ <transportSender name="http"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+ <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
+ </transportSender>
+ <transportSender name="https"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+ <parameter name="Transfer-Encoding" locked="false">chunked</parameter>
+ </transportSender>
+
+ <module ref="addressing" />
+
+ <!-- ================================================= -->
+ <!-- Phases -->
+ <!-- ================================================= -->
+ <phaseOrder type="InFlow">
+ <!-- System pre defined phases -->
+ <phase name="Transport">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+ <order phase="Transport"/>
+ </handler>
+ </phase>
+ <phase name="Security"/>
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.engine.AddressingBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.engine.RequestURIOperationDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="InstanceDispatcher"
+ class="org.apache.axis2.engine.InstanceDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ </phase>
+ <!-- System pre defined phases -->
+ <!-- After Postdispatch phase module author or or service author can add any phase he want -->
+ <phase name="OperationInPhase"/>
+ <phase name="RMPhase" />
+ </phaseOrder>
+ <phaseOrder type="OutFlow">
+ <!-- user can add his own phases to this area -->
+ <phase name="RMPhase" />
+ <phase name="OperationOutPhase"/>
+ <!--system predefined phase-->
+ <!--these phase will run irrespective of the service-->
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ <phase name="Security"/>
+ </phaseOrder>
+ <phaseOrder type="InFaultFlow">
+ <phase name="PreDispatch"/>
+ <phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
+ <handler name="RequestURIBasedDispatcher"
+ class="org.apache.axis2.engine.RequestURIBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPActionBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPActionBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="AddressingBasedDispatcher"
+ class="org.apache.axis2.engine.AddressingBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="RequestURIOperationDispatcher"
+ class="org.apache.axis2.engine.RequestURIOperationDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+
+ <handler name="SOAPMessageBodyBasedDispatcher"
+ class="org.apache.axis2.engine.SOAPMessageBodyBasedDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ <handler name="InstanceDispatcher"
+ class="org.apache.axis2.engine.InstanceDispatcher">
+ <order phase="Dispatch"/>
+ </handler>
+ </phase>
+ <!-- user can add his own phases to this area -->
+ <phase name="OperationInFaultPhase"/>
+ <phase name="RMPhase" />
+ </phaseOrder>
+ <phaseOrder type="OutFaultFlow">
+ <!-- user can add his own phases to this area -->
+ <phase name="RMPhase" />
+ <phase name="OperationOutFaultPhase"/>
+ <phase name="PolicyDetermination"/>
+ <phase name="MessageOut"/>
+ </phaseOrder>
+</axisconfig>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org