You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Bruno René Santos <br...@gmail.com> on 2013/05/20 11:04:22 UTC
Add a new Header to a function
The service I am consuming needs to repeat a complex type on the header of
the request. Do I have to create a xml counterpart to the datatype created
by CXF or can I insert it as a Java type on the request header?
Regards
--
Bruno René Santos
Lisboa - Portugal
Re: Add a new Header to a function
Posted by Bruno René Santos <br...@gmail.com>.
Hi,
The complex type was defined as an implicit header. So I user wsdl2java
with -exsh true and I was able to configure it afterwards.
Regards
Bruno
On Mon, May 20, 2013 at 11:57 AM, Freeman Fang <fr...@gmail.com>wrote:
> Hi,
>
> You may wanna check this FAQ[1]
> [1]
> http://cxf.apache.org/faq.html#FAQ-HowcanIaddsoapheaderstotherequest%2Fresponse%3F
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://fusesource.com | http://www.redhat.com/
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: @Freeman小屋
>
> www.camelone.org : The open source integration conference:
>
> On 2013-5-20, at 下午5:04, Bruno René Santos wrote:
>
> > The service I am consuming needs to repeat a complex type on the header
> of
> > the request. Do I have to create a xml counterpart to the datatype
> created
> > by CXF or can I insert it as a Java type on the request header?
> >
> > Regards
> >
> > --
> > Bruno René Santos
> > Lisboa - Portugal
>
>
--
Bruno René Santos
Lisboa - Portugal
Re: Add a new Header to a function
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
You may wanna check this FAQ[1]
[1]http://cxf.apache.org/faq.html#FAQ-HowcanIaddsoapheaderstotherequest%2Fresponse%3F
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋
www.camelone.org : The open source integration conference:
On 2013-5-20, at 下午5:04, Bruno René Santos wrote:
> The service I am consuming needs to repeat a complex type on the header of
> the request. Do I have to create a xml counterpart to the datatype created
> by CXF or can I insert it as a Java type on the request header?
>
> Regards
>
> --
> Bruno René Santos
> Lisboa - Portugal