Re: [Axis2] Custom Soap Header

2008-12-12 Thread keith chapman
This blog post [1] shows how you could add a SOAP header to the response manually. Thanks, Keith. [1] http://www.keith-chapman.org/2008/10/axis2-setting-custom-http-headers-on.html On Wed, Dec 10, 2008 at 3:36 AM, Prasuna Lanka prasuna.la...@gmail.comwrote: Hello, Using Axis2-1.3. , I

Re: [Axis2] Custom Soap Header

2008-12-12 Thread Prasuna Lanka
Thanks for the link provided. (http://wso2.org/library/2068) . That gave a good insight of the detail of Beans generated. Here is my xml string: ns3:CustHeader xmlns:ns3=http://webservices.cust.com/cg/4.0/Core/; xmlns:soape nv=http://schemas.xmlsoap.org/soap/envelope/;

Re: [Axis2] Custom Soap Header

2008-12-12 Thread Prasuna Lanka
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. (http://wso2.org/library/2068) . That gave a good insight of the detail of Beans generated. Here is my xml string:

Re: [Axis2] Custom Soap Header

2008-12-11 Thread Prasuna Lanka
I tried in the suggested way, but still the object contains null values. when i looked into the parse method of that class, i found the statement reader.getAttributeValue(*null*,entityID); returning null. The entity id is of Stirng type. xmlstgreamreader docs say, If the namespaceURI is null the

Re: [Axis2] Custom Soap Header

2008-12-11 Thread Amila Suriarachchi
On Fri, Dec 12, 2008 at 1:41 AM, Prasuna Lanka prasuna.la...@gmail.comwrote: I tried in the suggested way, but still the object contains null values. when i looked into the parse method of that class, i found the statement reader.getAttributeValue(*null*,entityID); returning null. The entity

Re: [Axis2] Custom Soap Header

2008-12-10 Thread Prasuna Lanka
Amila Thanks much for the response. I tried BeanUtil.deserialize method(with 4 parameters: classname, OMelem, defaultobjsupplier, null) to get an instance of the custom header, the object is returned but all with null member values..I have the xml string in hand, but why am i not able to get the

Re: [Axis2] Custom Soap Header

2008-12-10 Thread Amila Suriarachchi
On Thu, Dec 11, 2008 at 3:51 AM, Prasuna Lanka [EMAIL PROTECTED]wrote: Amila Thanks much for the response. I tried BeanUtil.deserialize method(with 4 parameters: classname, OMelem, defaultobjsupplier, null) to get an instance of the custom header, the object is returned but all with null

[Axis2] Custom Soap Header

2008-12-09 Thread Prasuna Lanka
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

Re: [Axis2] Custom Soap Header

2008-12-09 Thread Amila Suriarachchi
On Wed, Dec 10, 2008 at 3:36 AM, Prasuna Lanka [EMAIL PROTECTED]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