axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasuna Lanka" <>
Subject Re: [Axis2] Custom Soap Header
Date Sat, 13 Dec 2008 04:20:55 GMT
Keith: My attempt to set the SOAP headers in the response similar to the way
you set the Http header hasnt succeeded. thanks for the link..

Thanks for the link provided. ( . That gave a
good insight of the detail of Beans generated.
Here is my xml string:

<ns3:CustHeader xmlns:ns3=""
rigin xmlns:xsi=""
nt" entityID="entityid" organizationID="abc" systemType="systype"
nation xmlns:xsi=""
int" entityID="entityid" organizationID="abc" systemType="systype"
rmediaries><ns3:EndPoint xmlns:xsi="" x
si:type="ns3:EndPoint" entityID="entityid" organizationID="abc"
stype" /></ns3:Intermediaries></ns3:CustHeader>

Another observation: I have CustHeader as well as CustHeader1 classes in the
generated src. In my client code, i am passing CustHeader1 instance as a
second parameter, which contains Cust

On Fri, Dec 12, 2008 at 10:12 AM, keith chapman <>wrote:

> This blog post [1] shows how you could add a SOAP header to the response
> manually.
> Thanks,
> Keith.
> [1]
>  On Wed, Dec 10, 2008 at 3:36 AM, Prasuna Lanka <>wrote:
>> Hello,
>> Using Axis2-1.3. , I generated server side stuff from a 3rd party wsdl
>> which contains definitions for custom SOAP Header. That is comprised of more
>> than 3 User defined types. But in the generated source, i couldnt find any
>> way to receive or send that custom SOAP header object except the
>> request ojbject coming in which is in SOAP Body. I read some where to use
>> wsdl2java -exsh true, to get the support for SOAP headers,  but when i tried
>> on command prompt, it shows only help options. Other than OM methods, is
>> there any way that i can read/ the header object from the incoming request?
>> Thanks in advance.
>> Prasoona.
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> blog:

View raw message