axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Strohschein (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5379) The third URL parameter can not be processed (REST web service with WSDL 2.0)
Date Mon, 20 May 2013 11:11:16 GMT


Sven Strohschein commented on AXIS2-5379:

Hi Martin,

I don't know if I have understand everything your last message. I think you could reproduce
the problem (ADBException with the message "Unexpected subelement") and saw the NoSuchMethodError
in the more detailed Axis2 log. Is that right?

Would my example work with Axis2-1.4? I think option 2 (open a new JIRA issue/ticket) is necessary
in any case, when the error shouldn't be fixed with this issue/ticket. Is there already an
existing JIRA issue/ticket for the NoSuchMethodError?

Thank you very much
> The third URL parameter can not be processed (REST web service with WSDL 2.0)
> -----------------------------------------------------------------------------
>                 Key: AXIS2-5379
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.2
>            Reporter: Sven Strohschein
>            Priority: Blocker
>         Attachments:,, hello-rest-modified.wsdl,
hello-rest.wsdl, helloWebServiceREST.aar,, RESTSample_1.0.0.aar,
> I have developed a simple "hello world" REST web service with WSDL 2.0 and Axis2.
> There are three URL parameters defined, but the third URL parameter can not be processed
(ADBException regarding unexpected element). The first two parameters are processed correctly.
> I could not get an answer via the axis2 mailing list regarding this problem (
), could not find any examples, tutorials or documentation for a REST web service with WSDL
2.0 and more than two parameters.
> The full example code, wsdl, etc. is attached to this issue.
> URL calls
> http://localhost:8080/services/helloWebServiceREST/getHello?input=test -> working
> http://localhost:8080/services/helloWebServiceREST/getHello?input=test&second=test2
-> working
> http://localhost:8080/services/helloWebServiceREST/getHello?input=test&second=test2&third=test3
-> not working ("org.apache.axis2.databinding.ADBException: Unexpected subelement second")
> http://localhost:8080/services/helloWebServiceREST/getHello?input=test&third=test3
-> not working ("org.apache.axis2.databinding.ADBException: Unexpected subelement input")
> Request element
> <xsd:element name="hellorequest">
>   <xsd:complexType>
>     <xsd:sequence>
>       <xsd:element minOccurs="0" name="input" nillable="true" type="xsd:string"/>
>       <xsd:element minOccurs="0" name="second" nillable="true" type="xsd:string"/>
>       <xsd:element minOccurs="0" name="third" nillable="true" type="xsd:string"/>
>     </xsd:sequence>
>   </xsd:complexType>
> </xsd:element>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message