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

Davanum Srinivas resolved AXIS2-2312.
-------------------------------------

    Resolution: Fixed

Latest svn seems to have fixed this.

thanks,
dims

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to