[
https://issues.apache.org/jira/browse/AXIS2-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420938#comment-13420938
]
Sven Strohschein commented on AXIS2-5371:
-----------------------------------------
Hm, ok, maybe it wasn't a bug, but the documentation should get enhanced which
should had been the result of this issue report. Actually the problem isn't
solved completely because there is still an issue with the URL parameters and I
think this time it is really a bug. At least I can not imagine that there is a
meaningful reason which don't need documentation. Why should one and two
parameters work, but not three? I have now asked via the mailing list and hope
that I will get an answer while I suspect it needs to result in a new issue
report. ;-)
Thank you for the fast and good support so far.
> URL-Parameters not processed by REST-Services
> ---------------------------------------------
>
> Key: AXIS2-5371
> URL: https://issues.apache.org/jira/browse/AXIS2-5371
> Project: Axis2
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.6.2
> Reporter: Sven Strohschein
> Assignee: Kishanthan Thangarajah
> Priority: Critical
> Attachments: HelloWebServiceREST.java, hello-rest.wsdl,
> helloWebServiceREST-modified.wsdl, services.xml
>
>
> I was able to generate a REST service with WSDL 2.0 and the wsdl2code Maven
> plugin from Axis2. The service is also running and gets executed when I try
> to access it via the browser, but it is not possible to call it with
> parameters...
> It is a very simple "HelloWorld" REST service which should just take a String
> as a parameter and return the String within a message. As said before the
> service is executed, but the variables/input String is even NULL. I tried the
> following URLs to call the service:
> http://localhost:8080/services/helloWebServiceREST/getHello/input -->
> executed, but no parameter value
> http://localhost:8080/services/helloWebServiceREST/getHello?input -->
> executed, but no parameter value
> http://localhost:8080/services/helloWebServiceREST/getHello?input=test -->
> executed, but no parameter value
> http://localhost:8080/services/helloWebServiceREST/Hello?input --> not
> executed
> http://localhost:8080/services/helloWebServiceREST/Hello/input --> not
> executed
> Is there is mistake in the WSDL or services.xml and which would be the
> correct URL to call the service with a parameter? The documentation for
> RESTful services with WSDL 2.0 and Axis2 is insufficient... It seems that
> there are also no working examples or tutorial on the web.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]