You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cgsk <ka...@gmail.com> on 2012/09/19 18:04:00 UTC

Adding custom soap header in camel spring-ws

Hi there,

Is there a way to add custom header to Soap message as below. I am using
Camel-SpringWS.

<soapenv:Header>
     <v1:CustomerObject xmlns:ns7="" soapenv:mustUnderstand="0">
       <v1:ID></v1:ID>
     </v1:CustomerObject>
</soapenv:Header>

where CustomerObject being a java object generated using cxf-codegen-plugin

Regards,
Karthik



--
View this message in context: http://camel.465427.n5.nabble.com/Adding-custom-soap-header-in-camel-spring-ws-tp5719609.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Adding custom soap header in camel spring-ws

Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Sep 24, 2012 at 9:50 AM, Claus Ibsen <cl...@gmail.com> wrote:
> On Wed, Sep 19, 2012 at 6:04 PM, cgsk <ka...@gmail.com> wrote:
>> Hi there,
>>
>> Is there a way to add custom header to Soap message as below. I am using
>> Camel-SpringWS.
>>
>> <soapenv:Header>
>>      <v1:CustomerObject xmlns:ns7="" soapenv:mustUnderstand="0">
>>        <v1:ID></v1:ID>
>>      </v1:CustomerObject>
>> </soapenv:Header>
>>
>> where CustomerObject being a java object generated using cxf-codegen-plugin
>>
>
> I am not sure its possible. I recall some JIRA ticket maybe related to
> spring-web-service.
> Maybe check there to see what we have. If not feel free to create a
> JIRA ticket with this request.
>

I logged a ticket to not forget about this
https://issues.apache.org/jira/browse/CAMEL-5669

>
>
>> Regards,
>> Karthik
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/Adding-custom-soap-header-in-camel-spring-ws-tp5719609.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: Adding custom soap header in camel spring-ws

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Sep 19, 2012 at 6:04 PM, cgsk <ka...@gmail.com> wrote:
> Hi there,
>
> Is there a way to add custom header to Soap message as below. I am using
> Camel-SpringWS.
>
> <soapenv:Header>
>      <v1:CustomerObject xmlns:ns7="" soapenv:mustUnderstand="0">
>        <v1:ID></v1:ID>
>      </v1:CustomerObject>
> </soapenv:Header>
>
> where CustomerObject being a java object generated using cxf-codegen-plugin
>

I am not sure its possible. I recall some JIRA ticket maybe related to
spring-web-service.
Maybe check there to see what we have. If not feel free to create a
JIRA ticket with this request.



> Regards,
> Karthik
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Adding-custom-soap-header-in-camel-spring-ws-tp5719609.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen