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 "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/03/12 23:46:09 UTC

[jira] Closed: (AXIS2-2305) Doc/Lit/Bare with Primitives

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

Rich Scheuerle closed AXIS2-2305.
---------------------------------

    Resolution: Fixed

No test provided.

Dims, 

Please test and reopen if a problem is found.

> Doc/Lit/Bare with Primitives
> ----------------------------
>
>                 Key: AXIS2-2305
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2305
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>         Assigned To: Rich Scheuerle
>
> Hi,
> Ran into this when testing JSR 181 annotations...
> @WebService
> @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.BARE)
> public class webParamWebService {
>   
>   @WebMethod(operationName="helloString", action="urn:HelloString")
>   public String hello(@WebParam (name="string1") String name) {
>     return "hello : Hello " + name + " to Web Service";
>   }
> }
> Note that the paramter string1 is not a JAXB type, we can't handle this situation right now. Our service fails with an JAXB UnmarshalException. 
> Here's the soap request i used to test.
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns3:string1 xmlns:ns3="http://server.webparam1.webparam/">jsr181</ns3:string1>
> </soapenv:Body>
> </soapenv:Envelope>
> thanks,
> dims

-- 
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