[ 
https://issues.apache.org/jira/browse/AXIS2-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davanum Srinivas resolved AXIS2-2311.
-------------------------------------

    Resolution: Fixed

Latest svn seems to have fixed this.

thanks,
dims

> UnmarshalException for method with a header (no ObjectFactory)
> --------------------------------------------------------------
>
>                 Key: AXIS2-2311
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2311
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Rich Scheuerle
>
> Am getting an Unmarshal Exception. Please see code and soap request below. 
> FYI. Name is a pojo with a firstname/lastname (no annotations)
> ====================== Server-side code ==============================
> package webparam.webparam2.server;
> @WebService
> public class webParam2WebService {
>   @WebMethod(operationName="helloString6", action="urn:HelloString6")
>   public String hello6(@WebParam (name="string1", header=true) Name name) {
>     return "Hello " + name + " to Web Service";
>   }
> }
> ========================== SOAP Request ==========================
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Header>
>               <ns4:string1 xmlns:ns4="http://server.webparam2.webparam/";>
>                       <firstName>abc</firstName>
>                       <lastName>def</lastName>
>               </ns4:string1>
>       </soapenv:Header>
>       <soapenv:Body>
>               <ns4:helloString6 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:ns4="http://server.webparam2.webparam/"; xsi:nil="true"/>
>       </soapenv:Body>
> </soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to