axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2311) UnmarshalException for method with a header (no ObjectFactory)
Date Tue, 13 Mar 2007 14:41:09 GMT

     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message