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] Work started: (AXIS2-2305) Doc/Lit/Bare with Primitives
Date Sat, 10 Mar 2007 13:39:09 GMT

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

Work on AXIS2-2305 started by Rich Scheuerle.

> 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


Mime
View raw message