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 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? > there is no direct method for this. you can get the Soap Envelop at your skelton method. Please see here[1]. from the soap envelop you can get the headers. thanks, Amila. [1] http://wso2.org/library/2935 [2] http://amilachinthaka.blogspot.com/2008/11/accessing-axis2-information-at-client.html > Thanks in advance. > Prasoona. > > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
