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/09 19:25:09 UTC
[jira] Assigned: (AXIS2-2305) Doc/Lit/Bare with Primitives
[ https://issues.apache.org/jira/browse/AXIS2-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas reassigned AXIS2-2305:
---------------------------------------
Assignee: Rich Scheuerle
Rich,
Could u please take a look at this.
thanks,
dims
> 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