using the useJBIWrapper="false" the handlers are invoked but it happens
something different.
In my generated classes the signoatures of the method are something as:

public GetMyMethodResponse myMethod(Holder<MyHeader> holder,
GetMyMethodResquest request)

because the header is sent back to the client and is shared by the WS
context invocation (as from the JAX-WS specification).

before activating the suggest option the message reached the endpoint, now I
get this exception:


Caused by: org.apache.cxf.interceptor.Fault: wrong number of arguments while
invoking public com.my.package.GetMyMethodResponse
com.my.package.MyEndpointImpl.myMethod(javax.xml.ws.Holder,com.my.package.GetMyMethodRequest)
throws com.my.package.ProcessingFailureException with params
[javax.xml.ws.hol...@1476189].

It seems the Holder<Header> is not recognised in the signature of the
method, so the message does not reach the correct destination.

any suggestions?
-- 
View this message in context: 
http://www.nabble.com/CXF-SE-and-javax.xml.ws.handler.soap.SOAPHandler-tp21958245p21975306.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to