You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Cencio <ce...@gmail.com> on 2008/04/28 17:13:37 UTC

[CXF] WS-Addressing problems

Hi all,

i'm trying to use WS-Addressing. I enable both client and server to use it.
ReplyTo is not anonymous (Client took from samples). The service is
JavaFirst and the operation invoked is request response. 

This is the error log:

INFO: Inbound Message
----------------------------
Encoding: UTF-8
Headers: {cache-control=[no-cache], connection=[Keep-Alive],
host=[127.0.0.1:8888], user-agent=[Java/1.5.0_11],
transfer-encoding=[chunked], pragma=[no-cache], content-type=[text/xml;
charset=UTF-8], accept=[*],
soapaction=["http://www.rivenditore.org/service/ordini/#SubmitOrdine"]}
Messages: 
Message:

Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:1209392436023</MessageID><To
xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8888/ese8_rivenditore/ordine</To><ReplyTo
xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localhost:9990/decoupled_endpoint</Address></ReplyTo><FaultTo
xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localhost:9990/decoupled_endpoint</Address></FaultTo><Action
xmlns="http://www.w3.org/2005/08/addressing">http://www.rivenditore.org/service/ordini/#SubmitOrdine</Action></soap:Header><soap:Body><ns2:ordine
xmlns:ns2="http://www.rivenditore.org/ordiniElements"><articolo><codice>AA0001</codice><quantita>3</quantita></articolo></ns2:ordine></soap:Body></soap:Envelope>
--------------------------------------
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: WS-Addressing - failed to retrieve Message Addressing Properties from
context
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
unmarshalMAPs
INFO: Inbound WS-Addressing headers
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
decodeAsNative
INFO: MessageID : urn:uuid:1209392436023
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
decodeAsNative
INFO: To : http://localhost:8888/ese8_rivenditore/ordine
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
decodeAsNative
INFO: ReplyTo : http://localhost:9990/decoupled_endpoint
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
decodeAsNative
INFO: FaultTo : http://localhost:9990/decoupled_endpoint
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
decodeAsNative
INFO: Action : http://www.rivenditore.org/service/ordini/#SubmitOrdine
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [Action: , To:
http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
http://www.w3.org/2005/08/addressing/none]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [Action: , To:
http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
http://www.w3.org/2005/08/addressing/none]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId:
urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23, To:
http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
http://www.w3.org/2005/08/addressing/none]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId:
urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23, To:
http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
http://www.w3.org/2005/08/addressing/none]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec encode
INFO: Outbound WS-Addressing headers
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
encodeAsExposed
INFO: MessageID : urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
encodeAsExposed
INFO: To : http://www.w3.org/2005/08/addressing/anonymous
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
encodeAsExposed
INFO: ReplyTo : http://www.w3.org/2005/08/addressing/none
28-apr-2008 16.20.37
org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
INFO: Outbound Message
---------------------------
Encoding: UTF-8
Headers: {SOAPAction=[""]}
Messages: 
Payload: <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23</MessageID><To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><ReplyTo
xmlns="http://www.w3.org/2005/08/addressing"><Address>http://www.w3.org/2005/08/addressing/none</Address></ReplyTo></soap:Header><soap:Body
/></soap:Envelope>
--------------------------------------
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 isi.esercitazione.ese8.server.Server_JavaFirst
submitOrdine
INFO: Executing operation submitOrdine
isi.esercitazione.ese8.server.OrdineType@ee90e9
Rimando via
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message null
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId:
urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse, To:
http://localhost:9990/decoupled_endpoint, RelatesTo: urn:uuid:1209392436023]
28-apr-2008 16.20.37 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.NullPointerException
        at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:197)
        at
org.apache.cxf.ws.addressing.ContextUtils$1.run(ContextUtils.java:411)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId:
urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse, To:
http://localhost:9990/decoupled_endpoint, RelatesTo: urn:uuid:1209392436023]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId:
urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse, To:
http://localhost:9990/decoupled_endpoint, RelatesTo: urn:uuid:1209392436023]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
http://localhost:9990/decoupled_endpoint, FaultTo:
http://localhost:9990/decoupled_endpoint]
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.inbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
INFO: associating MAPs with context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property
javax.xml.ws.addressing.context.outbound
28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: current MAPs [MessageId:
urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse, To:
http://localhost:9990/decoupled_endpoint, RelatesTo: urn:uuid:1209392436023]
28-apr-2008 16.20.37 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.NullPointerException
        at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:254)
        at
org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:197)
        at
org.apache.cxf.ws.addressing.ContextUtils$1.run(ContextUtils.java:411)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)










This is the beans.xml:



<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xmlns:cxf="http://cxf.apache.org/core" 
    xmlns:wsa="http://cxf.apache.org/ws/addressing"
    xsi:schemaLocation="http://cxf.apache.org/core
http://cxf.apache.org/schemas/core.xsd
    http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
    http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
    
    
    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
    
    <cxf:bus>
        <cxf:features>
            <cxf:logging/>
            <wsa:addressing/>
	    </cxf:features>
    </cxf:bus>
    
    <jaxws:endpoint 
        id="ese8ordine" 
        serviceName="s:OrdineService"
        implementor="isi.esercitazione.ese8.server.Server_JavaFirst" 
        address="/ordine" 
        xmlns:s="http://www.rivenditore.org/Ordine"/>

</beans>







I can't find where i make the error.. The sample client works, anyway i use
cxf-2.1-SNAPSHOT-(15/04/08) and Java 1.5
Thx for any help,
Lorenzo 
-- 
View this message in context: http://www.nabble.com/-CXF--WS-Addressing-problems-tp16941097p16941097.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: [CXF] WS-Addressing problems

Posted by Daniel Kulp <dk...@apache.org>.
On Monday 28 April 2008, Cencio wrote:
> I tryed to make the service start in standalone server (like in the
> sample) and it works... so it should be a config error (i'm deploying
> in Tomcat5).. the beans.xml is in the previous message... if anyone
> needs the source just ask....

Can you log a jira and possibly attach a sample that shows the problem:

https://issues.apache.org/jira/browse/CXF

Thanks!
Dan



>
> Thx again,
> Lorenzo
>
> Cencio wrote:
> > Hi all,
> >
> > i'm trying to use WS-Addressing. I enable both client and server to
> > use it. ReplyTo is not anonymous (Client took from samples). The
> > service is JavaFirst and the operation invoked is request response.
> >
> > This is the error log:
> >
> > INFO: Inbound Message
> > ----------------------------
> > Encoding: UTF-8
> > Headers: {cache-control=[no-cache], connection=[Keep-Alive],
> > host=[127.0.0.1:8888], user-agent=[Java/1.5.0_11],
> > transfer-encoding=[chunked], pragma=[no-cache],
> > content-type=[text/xml; charset=UTF-8], accept=[*],
> > soapaction=["http://www.rivenditore.org/service/ordini/#SubmitOrdine
> >"]} Messages:
> > Message:
> >
> > Payload: <soap:Envelope
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header>
> ><MessageID
> > xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:1209392436023<
> >/MessageID><To
> > xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8888/e
> >se8_rivenditore/ordine</To><ReplyTo
> > xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localho
> >st:9990/decoupled_endpoint</Address></ReplyTo><FaultTo
> > xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localho
> >st:9990/decoupled_endpoint</Address></FaultTo><Action
> > xmlns="http://www.w3.org/2005/08/addressing">http://www.rivenditore.
> >org/service/ordini/#SubmitOrdine</Action></soap:Header><soap:Body><ns
> >2:ordine
> > xmlns:ns2="http://www.rivenditore.org/ordiniElements"><articolo><cod
> >ice>AA0001</codice><quantita>3</quantita></articolo></ns2:ordine></so
> >ap:Body></soap:Envelope> --------------------------------------
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: WS-Addressing - failed to retrieve Message Addressing
> > Properties from context
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> > unmarshalMAPs
> > INFO: Inbound WS-Addressing headers
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> > decodeAsNative
> > INFO: MessageID : urn:uuid:1209392436023
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> > decodeAsNative
> > INFO: To : http://localhost:8888/ese8_rivenditore/ordine
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> > decodeAsNative
> > INFO: ReplyTo : http://localhost:9990/decoupled_endpoint
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> > decodeAsNative
> > INFO: FaultTo : http://localhost:9990/decoupled_endpoint
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> > decodeAsNative
> > INFO: Action :
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine 28-apr-2008
> > 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs INFO:
> > associating MAPs with context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [Action: , To:
> > http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> > http://www.w3.org/2005/08/addressing/none]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [Action: , To:
> > http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> > http://www.w3.org/2005/08/addressing/none]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId:
> > urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23, To:
> > http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> > http://www.w3.org/2005/08/addressing/none]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId:
> > urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23, To:
> > http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> > http://www.w3.org/2005/08/addressing/none]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> > encode INFO: Outbound WS-Addressing headers
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> > encodeAsExposed
> > INFO: MessageID : urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> > encodeAsExposed
> > INFO: To : http://www.w3.org/2005/08/addressing/anonymous
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> > encodeAsExposed
> > INFO: ReplyTo : http://www.w3.org/2005/08/addressing/none
> > 28-apr-2008 16.20.37
> > org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback
> > onClose INFO: Outbound Message
> > ---------------------------
> > Encoding: UTF-8
> > Headers: {SOAPAction=[""]}
> > Messages:
> > Payload: <soap:Envelope
> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header>
> ><MessageID
> > xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:bc77546f-1736-
> >422d-8a3e-d8034f48ab23</MessageID><To
> > xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/
> >08/addressing/anonymous</To><ReplyTo
> > xmlns="http://www.w3.org/2005/08/addressing"><Address>http://www.w3.
> >org/2005/08/addressing/none</Address></ReplyTo></soap:Header><soap:Bo
> >dy /></soap:Envelope>
> > --------------------------------------
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 isi.esercitazione.ese8.server.Server_JavaFirst
> > submitOrdine
> > INFO: Executing operation submitOrdine
> > isi.esercitazione.ese8.server.OrdineType@ee90e9
> > Rimando via
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message null
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId:
> > urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> > http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineRespon
> >se, To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> > urn:uuid:1209392436023]
> > 28-apr-2008 16.20.37 org.apache.cxf.phase.PhaseInterceptorChain
> > doIntercept
> > INFO: Interceptor has thrown exception, unwinding now
> > java.lang.NullPointerException
> >         at
> > org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(Me
> >ssageSenderInterceptor.java:46) at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
> >torChain.java:220) at
> > org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(Ou
> >tgoingChainInterceptor.java:74) at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
> >torChain.java:220) at
> > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorCh
> >ain.java:197) at
> > org.apache.cxf.ws.addressing.ContextUtils$1.run(ContextUtils.java:41
> >1) at
> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe
> >cutor.java:650) at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto
> >r.java:675) at java.lang.Thread.run(Thread.java:595)
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId:
> > urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> > http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineRespon
> >se, To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> > urn:uuid:1209392436023]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> > http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineRespon
> >se, To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> > urn:uuid:1209392436023]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator
> > getMAPs INFO: MAPs retrieved from message [MessageId:
> > urn:uuid:1209392436023, Action:
> > http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> > http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> > http://localhost:9990/decoupled_endpoint, FaultTo:
> > http://localhost:9990/decoupled_endpoint]
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.inbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > storeMAPs INFO: associating MAPs with context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: retrieving MAPs from context property
> > javax.xml.ws.addressing.context.outbound
> > 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> > retrieveMAPs
> > INFO: current MAPs [MessageId:
> > urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> > http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineRespon
> >se, To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> > urn:uuid:1209392436023]
> > 28-apr-2008 16.20.37 org.apache.cxf.phase.PhaseInterceptorChain
> > doIntercept
> > INFO: Interceptor has thrown exception, unwinding now
> > java.lang.NullPointerException
> >         at
> > org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(Me
> >ssageSenderInterceptor.java:46) at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
> >torChain.java:220) at
> > org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMes
> >sage(AbstractFaultChainInitiatorObserver.java:96) at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
> >torChain.java:254) at
> > org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(Ou
> >tgoingChainInterceptor.java:74) at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercep
> >torChain.java:220) at
> > org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorCh
> >ain.java:197) at
> > org.apache.cxf.ws.addressing.ContextUtils$1.run(ContextUtils.java:41
> >1) at
> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe
> >cutor.java:650) at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto
> >r.java:675) at java.lang.Thread.run(Thread.java:595)
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > This is the beans.xml:
> >
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <beans xmlns="http://www.springframework.org/schema/beans"
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >     xmlns:jaxws="http://cxf.apache.org/jaxws"
> >     xmlns:cxf="http://cxf.apache.org/core"
> >     xmlns:wsa="http://cxf.apache.org/ws/addressing"
> >     xsi:schemaLocation="http://cxf.apache.org/core
> > http://cxf.apache.org/schemas/core.xsd
> >     http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans.xsd
> >     http://cxf.apache.org/jaxws
> > http://cxf.apache.org/schemas/jaxws.xsd">
> >
> >
> >     <import resource="classpath:META-INF/cxf/cxf.xml" />
> >     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"
> > /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> >
> >     <cxf:bus>
> >         <cxf:features>
> >             <cxf:logging/>
> >             <wsa:addressing/>
> > 	    </cxf:features>
> >     </cxf:bus>
> >
> >     <jaxws:endpoint
> >         id="ese8ordine"
> >         serviceName="s:OrdineService"
> >         implementor="isi.esercitazione.ese8.server.Server_JavaFirst"
> >         address="/ordine"
> >         xmlns:s="http://www.rivenditore.org/Ordine"/>
> >
> > </beans>
> >
> >
> >
> >
> >
> >
> >
> > I can't find where i make the error.. The sample client works,
> > anyway i use cxf-2.1-SNAPSHOT-(15/04/08) and Java 1.5
> > Thx for any help,
> > Lorenzo



-- 
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog

Re: [CXF] WS-Addressing problems

Posted by Cencio <ce...@gmail.com>.
I tryed to make the service start in standalone server (like in the sample)
and it works... so it should be a config error (i'm deploying in Tomcat5)..
the beans.xml is in the previous message... if anyone needs the source just
ask....


Thx again,
Lorenzo



Cencio wrote:
> 
> Hi all,
> 
> i'm trying to use WS-Addressing. I enable both client and server to use
> it. ReplyTo is not anonymous (Client took from samples). The service is
> JavaFirst and the operation invoked is request response. 
> 
> This is the error log:
> 
> INFO: Inbound Message
> ----------------------------
> Encoding: UTF-8
> Headers: {cache-control=[no-cache], connection=[Keep-Alive],
> host=[127.0.0.1:8888], user-agent=[Java/1.5.0_11],
> transfer-encoding=[chunked], pragma=[no-cache], content-type=[text/xml;
> charset=UTF-8], accept=[*],
> soapaction=["http://www.rivenditore.org/service/ordini/#SubmitOrdine"]}
> Messages: 
> Message:
> 
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><MessageID
> xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:1209392436023</MessageID><To
> xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8888/ese8_rivenditore/ordine</To><ReplyTo
> xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localhost:9990/decoupled_endpoint</Address></ReplyTo><FaultTo
> xmlns="http://www.w3.org/2005/08/addressing"><Address>http://localhost:9990/decoupled_endpoint</Address></FaultTo><Action
> xmlns="http://www.w3.org/2005/08/addressing">http://www.rivenditore.org/service/ordini/#SubmitOrdine</Action></soap:Header><soap:Body><ns2:ordine
> xmlns:ns2="http://www.rivenditore.org/ordiniElements"><articolo><codice>AA0001</codice><quantita>3</quantita></articolo></ns2:ordine></soap:Body></soap:Envelope>
> --------------------------------------
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: WS-Addressing - failed to retrieve Message Addressing Properties
> from context
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> unmarshalMAPs
> INFO: Inbound WS-Addressing headers
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> decodeAsNative
> INFO: MessageID : urn:uuid:1209392436023
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> decodeAsNative
> INFO: To : http://localhost:8888/ese8_rivenditore/ordine
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> decodeAsNative
> INFO: ReplyTo : http://localhost:9990/decoupled_endpoint
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> decodeAsNative
> INFO: FaultTo : http://localhost:9990/decoupled_endpoint
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.soap.MAPCodec
> decodeAsNative
> INFO: Action : http://www.rivenditore.org/service/ordini/#SubmitOrdine
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [Action: , To:
> http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> http://www.w3.org/2005/08/addressing/none]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [Action: , To:
> http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> http://www.w3.org/2005/08/addressing/none]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.36 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId:
> urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23, To:
> http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> http://www.w3.org/2005/08/addressing/none]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId:
> urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23, To:
> http://www.w3.org/2005/08/addressing/anonymous, ReplyTo:
> http://www.w3.org/2005/08/addressing/none]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec encode
> INFO: Outbound WS-Addressing headers
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> encodeAsExposed
> INFO: MessageID : urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> encodeAsExposed
> INFO: To : http://www.w3.org/2005/08/addressing/anonymous
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.soap.MAPCodec
> encodeAsExposed
> INFO: ReplyTo : http://www.w3.org/2005/08/addressing/none
> 28-apr-2008 16.20.37
> org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
> INFO: Outbound Message
> ---------------------------
> Encoding: UTF-8
> Headers: {SOAPAction=[""]}
> Messages: 
> Payload: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><MessageID
> xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:bc77546f-1736-422d-8a3e-d8034f48ab23</MessageID><To
> xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><ReplyTo
> xmlns="http://www.w3.org/2005/08/addressing"><Address>http://www.w3.org/2005/08/addressing/none</Address></ReplyTo></soap:Header><soap:Body
> /></soap:Envelope>
> --------------------------------------
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 isi.esercitazione.ese8.server.Server_JavaFirst
> submitOrdine
> INFO: Executing operation submitOrdine
> isi.esercitazione.ese8.server.OrdineType@ee90e9
> Rimando via
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message null
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId:
> urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse,
> To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> urn:uuid:1209392436023]
> 28-apr-2008 16.20.37 org.apache.cxf.phase.PhaseInterceptorChain
> doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> java.lang.NullPointerException
>         at
> org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>         at
> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:197)
>         at
> org.apache.cxf.ws.addressing.ContextUtils$1.run(ContextUtils.java:411)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId:
> urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse,
> To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> urn:uuid:1209392436023]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId:
> urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse,
> To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> urn:uuid:1209392436023]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId: urn:uuid:1209392436023, Action:
> http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.MAPAggregator getMAPs
> INFO: MAPs retrieved from message [MessageId: urn:uuid:1209392436023,
> Action: http://www.rivenditore.org/service/ordini/#SubmitOrdine, To:
> http://localhost:8888/ese8_rivenditore/ordine, ReplyTo:
> http://localhost:9990/decoupled_endpoint, FaultTo:
> http://localhost:9990/decoupled_endpoint]
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.inbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils storeMAPs
> INFO: associating MAPs with context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: retrieving MAPs from context property
> javax.xml.ws.addressing.context.outbound
> 28-apr-2008 16.20.37 org.apache.cxf.ws.addressing.ContextUtils
> retrieveMAPs
> INFO: current MAPs [MessageId:
> urn:uuid:fcbbef43-de25-4b43-b440-8891dd66e136, Action:
> http://www.rivenditore.org/Ordine/OrdineInterface/submitOrdineResponse,
> To: http://localhost:9990/decoupled_endpoint, RelatesTo:
> urn:uuid:1209392436023]
> 28-apr-2008 16.20.37 org.apache.cxf.phase.PhaseInterceptorChain
> doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> java.lang.NullPointerException
>         at
> org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>         at
> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:96)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:254)
>         at
> org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:197)
>         at
> org.apache.cxf.ws.addressing.ContextUtils$1.run(ContextUtils.java:411)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This is the beans.xml:
> 
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <beans xmlns="http://www.springframework.org/schema/beans"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xmlns:jaxws="http://cxf.apache.org/jaxws"
>     xmlns:cxf="http://cxf.apache.org/core" 
>     xmlns:wsa="http://cxf.apache.org/ws/addressing"
>     xsi:schemaLocation="http://cxf.apache.org/core
> http://cxf.apache.org/schemas/core.xsd
>     http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
>     http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
>     
>     
>     <import resource="classpath:META-INF/cxf/cxf.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>     <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
>     
>     <cxf:bus>
>         <cxf:features>
>             <cxf:logging/>
>             <wsa:addressing/>
> 	    </cxf:features>
>     </cxf:bus>
>     
>     <jaxws:endpoint 
>         id="ese8ordine" 
>         serviceName="s:OrdineService"
>         implementor="isi.esercitazione.ese8.server.Server_JavaFirst" 
>         address="/ordine" 
>         xmlns:s="http://www.rivenditore.org/Ordine"/>
> 
> </beans>
> 
> 
> 
> 
> 
> 
> 
> I can't find where i make the error.. The sample client works, anyway i
> use cxf-2.1-SNAPSHOT-(15/04/08) and Java 1.5
> Thx for any help,
> Lorenzo 
> 

-- 
View this message in context: http://www.nabble.com/-CXF--WS-Addressing-problems-tp16941097p16941804.html
Sent from the cxf-user mailing list archive at Nabble.com.