You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/03/13 15:41:09 UTC
[jira] Resolved: (AXIS2-2311) UnmarshalException for method with a
header (no ObjectFactory)
[ 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