axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2311) UnmarshalException for method with a header (no ObjectFactory)
Date Mon, 12 Mar 2007 22:22:09 GMT

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

Rich Scheuerle commented on AXIS2-2311:
---------------------------------------

This is a doc/lit wrapped scenario.  

I am not sure that I agree with the content of the body.  The wrapper element should not have
an xsi:nil="true".

This seems to be a client problem.

Can you please provide the exception stack.

----------------------------
Also please provide Name.  Is this a xjc generated object ? Does its @XmlRootElement comply
with the @WebParam setting.

I think you are digging on some new issues here...but I need more information.

-----------------------------

Finally is this CTS related or  is related to vendor feature comparisons ?

> 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