You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by nbenmansour <ni...@gmail.com> on 2013/08/30 11:41:27 UTC

Where is the TerminateSequence message?

Hi ,
Accorging to Ws-Reliablemessaging (February 2005) at the end of the
conversation the client must send
a TermianteSequence to the server indicating that the RM Source will not be
sending any more messages.
But i discovered that Apache CXF does not send that message.
Any help?
Here is my source code :

public final class Client {

	private Client() {
	}

	@SuppressWarnings("unused")
	public static void main(String args[]) throws Exception {
		try {

			SpringBusFactory bf = new SpringBusFactory();
			URL busFile = Client.class.getResource("client.xml");
			Bus bus = bf.createBus(busFile.toString());
			BusFactory.setDefaultBus(bus);

//			bus.getOutInterceptors().add(new MessageLossSimulator());
			GreeterService service;
			if (args.length != 0 && args[0].length() != 0) {
				File wsdlFile = new File(args[0]);
				URL wsdlURL;
				if (wsdlFile.exists()) {
					wsdlURL = wsdlFile.toURI().toURL();
				} else {
					wsdlURL = new URL(args[0]);
				}
				service = new GreeterService(wsdlURL);
			} else {
				service = new GreeterService();
			}
			Greeter port = service.getGreeterPort();

			String[] names = new String[] { "Anne", "Bill", "Chris", "Daisy" };
//			System.out.println("Invoking greetMeOneWay...");
//			port.greetMeOneWay("nizar");
//			System.out.println("No response as method is OneWay\n");
			// System.exit(565);
			 for (int i = 0; i < names.length; i++) {
			 System.out.println("Invoking greetMeOneWay...");
			 port.greetMeOneWay(names[i]);
			 System.out.println("No response as method is OneWay\n");
			 }

			// allow aynchronous resends to occur
			Thread.sleep(30 * 1000);

			if (port instanceof Closeable) {
				((Closeable) port).close();
			}
		
			bus.shutdown(true);

		} catch (UndeclaredThrowableException ex) {
			ex.getUndeclaredThrowable().printStackTrace();
		} catch (Throwable ex) {
			ex.printStackTrace();
		} finally {
			System.out.println("Exit");
			System.exit(0);
		}
	}
}

and here is the log conversation:


août 30, 2013 10:35:54 AM
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@7cdc58:
startup date [Fri Aug 30 10:35:54 GMT+01:00 2013]; root of context hierarchy
août 30, 2013 10:35:55 AM org.apache.cxf.bus.spring.BusApplicationContext
getConfigResources
INFO: Loaded configuration file
file:/D:/Work/TestingGwtSpringWs/TestingWsReliable/build/classes/demo/ws_rm/client/client.xml.
août 30, 2013 10:35:55 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from URL
[file:/D:/Work/TestingGwtSpringWs/TestingWsReliable/build/classes/demo/ws_rm/client/client.xml]
août 30, 2013 10:35:55 AM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1596170:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,{http://cxf.apache.org/hello_world_soap_http}GreeterPort.http-conduit];
root of factory hierarchy
août 30, 2013 10:35:56 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromWSDL
INFO: Creating Service
{http://cxf.apache.org/hello_world_soap_http}GreeterService from WSDL:
file:hello_world_rm.wsdl
Invoking greetMeOneWay...
août 30, 2013 10:35:56 AM
org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl
setUpDecoupledDestination
INFO: creating decoupled endpoint: http://localhost:9990/decoupled_endpoint
août 30, 2013 10:35:56 AM org.eclipse.jetty.server.Server doStart
INFO: jetty-8.1.7.v20120910
août 30, 2013 10:35:56 AM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started SelectChannelConnector@localhost:9990
août 30, 2013 10:35:57 AM org.apache.cxf.ws.rm.Proxy invoke
INFO: Sending out-of-band RM protocol message
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
août 30, 2013 10:35:57 AM
org.apache.cxf.services.SequenceAbstractService.SequenceAbstractSoapPort.SequenceAbstractPortType
INFO: Outbound Message
---------------------------
ID: 1
Address: http://localhost:9000/SoapContext/GreeterPort
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], Connection=[Keep-Alive],
SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:d597671f-77a7-42a1-83af-eaad4619c3e5</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><ReplyTo
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>http://localhost:9990/decoupled_endpoint</Address></ReplyTo></soap:Header><soap:Body><CreateSequence
xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"><AcksTo><ns2:Address>http://localhost:9990/decoupled_endpoint</ns2:Address></AcksTo><Expires>PT0S</Expires><Offer><Identifier>urn:uuid:f8a25446-aa8c-4f30-a881-9b6320d851ae</Identifier><Expires>PT0S</Expires></Offer></CreateSequence></soap:Body></soap:Envelope>
--------------------------------------
août 30, 2013 10:35:57 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter
INFO: Inbound Message
----------------------------
ID: 2
Address: http://localhost:9990/decoupled_endpoint
Response-Code: 200
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml; charset=UTF-8
Headers: {Accept=[*/*], Cache-Control=[no-cache], connection=[keep-alive],
Content-Length=[997], content-type=[text/xml; charset=UTF-8],
Host=[localhost:9990], Pragma=[no-cache], User-Agent=[Apache CXF 2.7.6]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:29d9e18d-fc33-475d-b027-e09a9ca48c50</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9990/decoupled_endpoint</To><RelatesTo
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:d597671f-77a7-42a1-83af-eaad4619c3e5</RelatesTo></soap:Header><soap:Body><CreateSequenceResponse
xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</Identifier><Expires>P0Y0M0DT0H0M0S</Expires><Accept><AcksTo><ns2:Address>http://localhost:9000/SoapContext/GreeterPort</ns2:Address></AcksTo></Accept></CreateSequenceResponse></soap:Body></soap:Envelope>
--------------------------------------
août 30, 2013 10:35:57 AM org.apache.cxf.ws.rm.soap.RMSoapInterceptor
updateServiceModelInfo
INFO: Updating service model info in exchange
août 30, 2013 10:35:57 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter
INFO: Outbound Message
---------------------------
ID: 3
Address: http://localhost:9000/SoapContext/GreeterPort
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:347cb2dc-5420-478e-8533-c478cfad08c6</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
soap:mustUnderstand="1"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>1</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Anne</requestType></greetMeOneWay></soap:Body></soap:Envelope>
--------------------------------------
No response as method is OneWay

Invoking greetMeOneWay...
août 30, 2013 10:35:57 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter
INFO: Outbound Message
---------------------------
ID: 4
Address: http://localhost:9000/SoapContext/GreeterPort
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:b07b6949-e233-4801-9939-632c41860f55</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
soap:mustUnderstand="1"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>2</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Bill</requestType></greetMeOneWay></soap:Body></soap:Envelope>
--------------------------------------
No response as method is OneWay

Invoking greetMeOneWay...
août 30, 2013 10:35:57 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter
INFO: Outbound Message
---------------------------
ID: 5
Address: http://localhost:9000/SoapContext/GreeterPort
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:23ab3d34-7669-4227-b1f2-ff0f885e3698</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
soap:mustUnderstand="1"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>3</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Chris</requestType></greetMeOneWay></soap:Body></soap:Envelope>
--------------------------------------
No response as method is OneWay

Invoking greetMeOneWay...
août 30, 2013 10:35:57 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter
INFO: Outbound Message
---------------------------
ID: 6
Address: http://localhost:9000/SoapContext/GreeterPort
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:8e9ea65b-73d1-44a8-81ac-50c181e45096</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
soap:mustUnderstand="1"
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>4</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Daisy</requestType></greetMeOneWay></soap:Body></soap:Envelope>
--------------------------------------
No response as method is OneWay

août 30, 2013 10:35:59 AM
org.apache.cxf.services.GreeterService.GreeterPort.Greeter
INFO: Inbound Message
----------------------------
ID: 7
Address: http://localhost:9990/decoupled_endpoint
Response-Code: 200
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml; charset=UTF-8
Headers: {Accept=[*/*], Cache-Control=[no-cache], connection=[keep-alive],
Content-Length=[798], content-type=[text/xml; charset=UTF-8],
Host=[localhost:9990], Pragma=[no-cache],
SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement"],
User-Agent=[Apache CXF 2.7.6]}
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement</Action><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:b8b59ec9-69d2-4bab-99e0-1dae075eccdb</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9990/decoupled_endpoint</To><wsrm:SequenceAcknowledgement
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:AcknowledgementRange
Lower="1"
Upper="4"/></wsrm:SequenceAcknowledgement></soap:Header><soap:Body/></soap:Envelope>
--------------------------------------
août 30, 2013 10:35:59 AM org.apache.cxf.ws.rm.soap.RMSoapInterceptor
updateServiceModelInfo
INFO: Updating service model info in exchange
août 30, 2013 10:36:27 AM org.eclipse.jetty.server.handler.ContextHandler
doStop
INFO: stopped o.e.j.s.h.ContextHandler{,null}
août 30, 2013 10:36:27 AM
org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing org.apache.cxf.bus.spring.BusApplicationContext@7cdc58:
startup date [Fri Aug 30 10:35:54 GMT+01:00 2013]; root of context hierarchy
août 30, 2013 10:36:27 AM
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
destroySingletons
INFO: Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1596170:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,{http://cxf.apache.org/hello_world_soap_http}GreeterPort.http-conduit];
root of factory hierarchy
Exit




--
View this message in context: http://cxf.547215.n5.nabble.com/Where-is-the-TerminateSequence-message-tp5733333.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Where is the TerminateSequence message?

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Well, it does provide one way of terminating the sequence. I'm looking 
at adding one or two more ways.

   - Dennis

On 08/30/2013 11:11 PM, nbenmansour wrote:
> It sounds like the Apache CXF does not fully respect the WS RM (02/2005).
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Where-is-the-TerminateSequence-message-tp5733333p5733341.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>


Re: Where is the TerminateSequence message?

Posted by nbenmansour <ni...@gmail.com>.
It sounds like the Apache CXF does not fully respect the WS RM (02/2005).




--
View this message in context: http://cxf.547215.n5.nabble.com/Where-is-the-TerminateSequence-message-tp5733333p5733341.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Where is the TerminateSequence message?

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Cast your stub (or port implementation, the object you use to make the 
service calls) to a BindingProvider to get at the RequestContext, then 
set the value there as a property:

         ((BindingProvider)greeter).getRequestContext().
             put(RMManager.WSRM_LAST_MESSAGE_PROPERTY, Boolean.TRUE);

   - Dennis

On 08/31/2013 12:52 AM, nbenmansour wrote:
> Hi Dennis but how can i set flag (WSRM_LAST_MESSAGE_PROPERTY) true there is
> no setter for that property??
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Where-is-the-TerminateSequence-message-tp5733333p5733352.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>


Re: Where is the TerminateSequence message?

Posted by nbenmansour <ni...@gmail.com>.
Hi Dennis but how can i set flag (WSRM_LAST_MESSAGE_PROPERTY) true there is
no setter for that property??



--
View this message in context: http://cxf.547215.n5.nabble.com/Where-is-the-TerminateSequence-message-tp5733333p5733352.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Where is the TerminateSequence message?

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
As of now, the only way to cause CXF to end a sequence is by setting the 
RMManager.WSRM_LAST_MESSAGE_PROPERTY in the client request context when 
sending a message. I'm looking into adding a JMX hook for this purpose, 
so that the termination doesn't need to be tied to a particular message. 
It would certainly make sense to also have it sent when close() method 
is called, so I'll take a look at that as well.

   - Dennis

Dennis M. Sosnoski
Java SOA and Web Services Consulting <http://www.sosnoski.com/consult.html>
CXF and Web Services Security Training 
<http://www.sosnoski.com/training.html>
Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html>

On 08/30/2013 09:41 PM, nbenmansour wrote:
> Hi ,
> Accorging to Ws-Reliablemessaging (February 2005) at the end of the
> conversation the client must send
> a TermianteSequence to the server indicating that the RM Source will not be
> sending any more messages.
> But i discovered that Apache CXF does not send that message.
> Any help?
> Here is my source code :
>
> public final class Client {
>
> 	private Client() {
> 	}
>
> 	@SuppressWarnings("unused")
> 	public static void main(String args[]) throws Exception {
> 		try {
>
> 			SpringBusFactory bf = new SpringBusFactory();
> 			URL busFile = Client.class.getResource("client.xml");
> 			Bus bus = bf.createBus(busFile.toString());
> 			BusFactory.setDefaultBus(bus);
>
> //			bus.getOutInterceptors().add(new MessageLossSimulator());
> 			GreeterService service;
> 			if (args.length != 0 && args[0].length() != 0) {
> 				File wsdlFile = new File(args[0]);
> 				URL wsdlURL;
> 				if (wsdlFile.exists()) {
> 					wsdlURL = wsdlFile.toURI().toURL();
> 				} else {
> 					wsdlURL = new URL(args[0]);
> 				}
> 				service = new GreeterService(wsdlURL);
> 			} else {
> 				service = new GreeterService();
> 			}
> 			Greeter port = service.getGreeterPort();
>
> 			String[] names = new String[] { "Anne", "Bill", "Chris", "Daisy" };
> //			System.out.println("Invoking greetMeOneWay...");
> //			port.greetMeOneWay("nizar");
> //			System.out.println("No response as method is OneWay\n");
> 			// System.exit(565);
> 			 for (int i = 0; i < names.length; i++) {
> 			 System.out.println("Invoking greetMeOneWay...");
> 			 port.greetMeOneWay(names[i]);
> 			 System.out.println("No response as method is OneWay\n");
> 			 }
>
> 			// allow aynchronous resends to occur
> 			Thread.sleep(30 * 1000);
>
> 			if (port instanceof Closeable) {
> 				((Closeable) port).close();
> 			}
> 		
> 			bus.shutdown(true);
>
> 		} catch (UndeclaredThrowableException ex) {
> 			ex.getUndeclaredThrowable().printStackTrace();
> 		} catch (Throwable ex) {
> 			ex.printStackTrace();
> 		} finally {
> 			System.out.println("Exit");
> 			System.exit(0);
> 		}
> 	}
> }
>
> and here is the log conversation:
>
>
> août 30, 2013 10:35:54 AM
> org.springframework.context.support.AbstractApplicationContext
> prepareRefresh
> INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@7cdc58:
> startup date [Fri Aug 30 10:35:54 GMT+01:00 2013]; root of context hierarchy
> août 30, 2013 10:35:55 AM org.apache.cxf.bus.spring.BusApplicationContext
> getConfigResources
> INFO: Loaded configuration file
> file:/D:/Work/TestingGwtSpringWs/TestingWsReliable/build/classes/demo/ws_rm/client/client.xml.
> août 30, 2013 10:35:55 AM
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions
> INFO: Loading XML bean definitions from URL
> [file:/D:/Work/TestingGwtSpringWs/TestingWsReliable/build/classes/demo/ws_rm/client/client.xml]
> août 30, 2013 10:35:55 AM
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> preInstantiateSingletons
> INFO: Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@1596170:
> defining beans
> [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,{http://cxf.apache.org/hello_world_soap_http}GreeterPort.http-conduit];
> root of factory hierarchy
> août 30, 2013 10:35:56 AM
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromWSDL
> INFO: Creating Service
> {http://cxf.apache.org/hello_world_soap_http}GreeterService from WSDL:
> file:hello_world_rm.wsdl
> Invoking greetMeOneWay...
> août 30, 2013 10:35:56 AM
> org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl
> setUpDecoupledDestination
> INFO: creating decoupled endpoint: http://localhost:9990/decoupled_endpoint
> août 30, 2013 10:35:56 AM org.eclipse.jetty.server.Server doStart
> INFO: jetty-8.1.7.v20120910
> août 30, 2013 10:35:56 AM org.eclipse.jetty.server.AbstractConnector doStart
> INFO: Started SelectChannelConnector@localhost:9990
> août 30, 2013 10:35:57 AM org.apache.cxf.ws.rm.Proxy invoke
> INFO: Sending out-of-band RM protocol message
> {http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence.
> août 30, 2013 10:35:57 AM
> org.apache.cxf.services.SequenceAbstractService.SequenceAbstractSoapPort.SequenceAbstractPortType
> INFO: Outbound Message
> ---------------------------
> ID: 1
> Address: http://localhost:9000/SoapContext/GreeterPort
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml
> Headers: {Accept=[*/*], Connection=[Keep-Alive],
> SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:d597671f-77a7-42a1-83af-eaad4619c3e5</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><ReplyTo
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>http://localhost:9990/decoupled_endpoint</Address></ReplyTo></soap:Header><soap:Body><CreateSequence
> xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm"
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"><AcksTo><ns2:Address>http://localhost:9990/decoupled_endpoint</ns2:Address></AcksTo><Expires>PT0S</Expires><Offer><Identifier>urn:uuid:f8a25446-aa8c-4f30-a881-9b6320d851ae</Identifier><Expires>PT0S</Expires></Offer></CreateSequence></soap:Body></soap:Envelope>
> --------------------------------------
> août 30, 2013 10:35:57 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
> INFO: Inbound Message
> ----------------------------
> ID: 2
> Address: http://localhost:9990/decoupled_endpoint
> Response-Code: 200
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml; charset=UTF-8
> Headers: {Accept=[*/*], Cache-Control=[no-cache], connection=[keep-alive],
> Content-Length=[997], content-type=[text/xml; charset=UTF-8],
> Host=[localhost:9990], Pragma=[no-cache], User-Agent=[Apache CXF 2.7.6]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequenceResponse</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:29d9e18d-fc33-475d-b027-e09a9ca48c50</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9990/decoupled_endpoint</To><RelatesTo
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:d597671f-77a7-42a1-83af-eaad4619c3e5</RelatesTo></soap:Header><soap:Body><CreateSequenceResponse
> xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm"
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</Identifier><Expires>P0Y0M0DT0H0M0S</Expires><Accept><AcksTo><ns2:Address>http://localhost:9000/SoapContext/GreeterPort</ns2:Address></AcksTo></Accept></CreateSequenceResponse></soap:Body></soap:Envelope>
> --------------------------------------
> août 30, 2013 10:35:57 AM org.apache.cxf.ws.rm.soap.RMSoapInterceptor
> updateServiceModelInfo
> INFO: Updating service model info in exchange
> août 30, 2013 10:35:57 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
> INFO: Outbound Message
> ---------------------------
> ID: 3
> Address: http://localhost:9000/SoapContext/GreeterPort
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml
> Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:347cb2dc-5420-478e-8533-c478cfad08c6</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
> soap:mustUnderstand="1"
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>1</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
> xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Anne</requestType></greetMeOneWay></soap:Body></soap:Envelope>
> --------------------------------------
> No response as method is OneWay
>
> Invoking greetMeOneWay...
> août 30, 2013 10:35:57 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
> INFO: Outbound Message
> ---------------------------
> ID: 4
> Address: http://localhost:9000/SoapContext/GreeterPort
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml
> Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:b07b6949-e233-4801-9939-632c41860f55</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
> soap:mustUnderstand="1"
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>2</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
> xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Bill</requestType></greetMeOneWay></soap:Body></soap:Envelope>
> --------------------------------------
> No response as method is OneWay
>
> Invoking greetMeOneWay...
> août 30, 2013 10:35:57 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
> INFO: Outbound Message
> ---------------------------
> ID: 5
> Address: http://localhost:9000/SoapContext/GreeterPort
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml
> Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:23ab3d34-7669-4227-b1f2-ff0f885e3698</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
> soap:mustUnderstand="1"
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>3</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
> xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Chris</requestType></greetMeOneWay></soap:Body></soap:Envelope>
> --------------------------------------
> No response as method is OneWay
>
> Invoking greetMeOneWay...
> août 30, 2013 10:35:57 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
> INFO: Outbound Message
> ---------------------------
> ID: 6
> Address: http://localhost:9000/SoapContext/GreeterPort
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml
> Headers: {Accept=[*/*], Connection=[Keep-Alive], SOAPAction=[""]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://cxf.apache.org/hello_world_soap_http/Greeter/greetMeOneWayRequest</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:8e9ea65b-73d1-44a8-81ac-50c181e45096</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9000/SoapContext/GreeterPort</To><wsrm:Sequence
> soap:mustUnderstand="1"
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:MessageNumber>4</wsrm:MessageNumber></wsrm:Sequence></soap:Header><soap:Body><greetMeOneWay
> xmlns="http://cxf.apache.org/hello_world_soap_http/types"><requestType>Daisy</requestType></greetMeOneWay></soap:Body></soap:Envelope>
> --------------------------------------
> No response as method is OneWay
>
> août 30, 2013 10:35:59 AM
> org.apache.cxf.services.GreeterService.GreeterPort.Greeter
> INFO: Inbound Message
> ----------------------------
> ID: 7
> Address: http://localhost:9990/decoupled_endpoint
> Response-Code: 200
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml; charset=UTF-8
> Headers: {Accept=[*/*], Cache-Control=[no-cache], connection=[keep-alive],
> Content-Length=[798], content-type=[text/xml; charset=UTF-8],
> Host=[localhost:9990], Pragma=[no-cache],
> SOAPAction=["http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement"],
> User-Agent=[Apache CXF 2.7.6]}
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Action
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement</Action><MessageID
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:b8b59ec9-69d2-4bab-99e0-1dae075eccdb</MessageID><To
> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9990/decoupled_endpoint</To><wsrm:SequenceAcknowledgement
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing"
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"><wsrm:Identifier>urn:uuid:936f7b4b-612e-4b28-8ed5-7e355be51500</wsrm:Identifier><wsrm:AcknowledgementRange
> Lower="1"
> Upper="4"/></wsrm:SequenceAcknowledgement></soap:Header><soap:Body/></soap:Envelope>
> --------------------------------------
> août 30, 2013 10:35:59 AM org.apache.cxf.ws.rm.soap.RMSoapInterceptor
> updateServiceModelInfo
> INFO: Updating service model info in exchange
> août 30, 2013 10:36:27 AM org.eclipse.jetty.server.handler.ContextHandler
> doStop
> INFO: stopped o.e.j.s.h.ContextHandler{,null}
> août 30, 2013 10:36:27 AM
> org.springframework.context.support.AbstractApplicationContext doClose
> INFO: Closing org.apache.cxf.bus.spring.BusApplicationContext@7cdc58:
> startup date [Fri Aug 30 10:35:54 GMT+01:00 2013]; root of context hierarchy
> août 30, 2013 10:36:27 AM
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
> destroySingletons
> INFO: Destroying singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@1596170:
> defining beans
> [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,cxf.config0,{http://cxf.apache.org/hello_world_soap_http}GreeterPort.http-conduit];
> root of factory hierarchy
> Exit
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Where-is-the-TerminateSequence-message-tp5733333.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>