--
View this message in context:
http://cxf.547215.n5.nabble.com/Analyse-Soap-Header-via-Interceptor-tp4384763p5713912.html
Sent from the cxf-user mailing list archive at Nabble.com.
I'm really not sure how the object would be null.That is very strange.
DataBinding being null is normal. If there isn't a header processor
registered, the Object would be an org.w3c.dom.Element and the databinding
would be null.
Could you try something like:
System.out.println(StaxUti
This error isn't too surprising if the MessageHeader.class doesn't have an
XmlRootElement annotation on it with the proper name/namespace. Headers
have to be defined as root elements. Alternatively, passing the generated
ObjectFactory to the JAXBDataBinding instead of the MessageHeader.cla
Hi again,
I tried with a basic impl of the HeaderProcessor but fails with following
exception.
Register processor:
// create new ServerFactoryBean
final JaxWsServerFactoryBean svrFactory = new
JaxWsServerFactoryBean();
svrFactory.setServiceClass(serviceInterface);
Hi Daniel,
I followed Svens and your suggestion and removed the SAAJ stuff. My
ReadSOAPHeaderInInterceptor now looks as follows:
public class ReadSOAPHeaderInInterceptor extends AbstractSoapInterceptor {
private final static Logger log =
LoggerFactory.getLogger(ReadSOAPHeaderInInterceptor.cla
On Monday, May 16, 2011 9:26:36 AM Michael Täschner wrote:
> Hi CXF-Users,
>
> can anybody help me figuring out how to read my client set SOAP header on
> server side via an interceptor or give me an idea if my approach is
> incorrect ?
As Sven mentioned, if your interceptor is a kind, the
Soap
6:27 AM
To: users@cxf.apache.org
Subject: Re: Analyse Soap Header via Interceptor
Hi CXF-Users,
can anybody help me figuring out how to read my client set SOAP header on
server side via an interceptor or give me an idea if my approach is
incorrect ?
Thanks and Regards,
Michael
Am 13. Mai 2011 12
Hi CXF-Users,
can anybody help me figuring out how to read my client set SOAP header on
server side via an interceptor or give me an idea if my approach is
incorrect ?
Thanks and Regards,
Michael
Am 13. Mai 2011 12:08 schrieb Michael Täschner :
> Hi again,
>
> can anyone give me a hint how to a
Hi again,
can anyone give me a hint how to access the SOAP Header (complexType
"messageHeader") from the request via an interceptor ?
Thanks and Regards,
Michael
Am 10. Mai 2011 17:17 schrieb Michael Täschner :
> Hi,
>
> I have been trying to handle SOAP headers outside of functional operations
Hi,
I have been trying to handle SOAP headers outside of functional operations,
meaning I do not use @WebParam to separate business concern from context
and/or authorization information. The header type is added to the SEI via
@XmlSeeAlso and using the jaxb binding I can set the header on the clie
10 matches
Mail list logo