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/12 18:31:09 UTC

[jira] Assigned: (AXIS2-2312) Doc/Lit/Bare with custom targetNamespaces in WebParam

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

Davanum Srinivas reassigned AXIS2-2312:
---------------------------------------

    Assignee: Rich Scheuerle

> Doc/Lit/Bare with custom targetNamespaces in WebParam
> -----------------------------------------------------
>
>                 Key: AXIS2-2312
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2312
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Rich Scheuerle
>
> UnmarshalException with the following code and soap request.
> ====================================
> package webparam.webparam1.server;
> @WebService
> @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.BARE)
> public class webParamWebService {
>   @WebMethod(operationName="helloString3", action="urn:HelloString3")
>   public void hello3(@WebParam (name="name3", partName="string3", targetNamespace="helloString3/name", header=true) String name, @WebParam (name="Name", targetNamespace="helloString3/Name", mode=WebParam.Mode.INOUT) Holder<Name> name2) {
>     Name newName = new Name();
>     newName.setFirstName("abc"); 
>     newName.setLastName("def"); 
>     name2.value = newName;
>   }
> }
> ================================= 
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> 	<soapenv:Header>
> 		<ns5:name3 xmlns:ns5="helloString3/name">abc</ns5:name3>
> 	</soapenv:Header>
> 	<soapenv:Body>
> 		<ns2:Name xmlns:ns5="helloString3/name">
> 			<firstName>k</firstName>
> 			<lastName>l</lastName>
> 		</ns2:Name>
> 	</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