REST/GET fails for ADB and XmlBeans generated code.
---------------------------------------------------

                 Key: AXIS2-1683
                 URL: http://issues.apache.org/jira/browse/AXIS2-1683
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Davanum Srinivas
            Priority: Blocker


Deploy either the StockQuoteService.aar from either quickstartadb or 
quickstartxmlbeans and point your browser to:

http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM

to recreate the problem. pojo/axiom based services work fine (from quickstart 
and quickstartaxiom samples respectively)

XmlBeans service shows the following stack trace:
Nov 12, 2006 2:48:23 AM org.apache.axis2.transport.http.AxisRESTServlet doGet
SEVERE: org.apache.axis2.AxisFault: Data binding error; nested exception is:
        java.lang.RuntimeException: Data binding error; nested exception is:
        org.apache.axis2.AxisFault: Data binding error; nested exception is:
        java.lang.RuntimeException: Data binding error

ADB services shows the following stack trace:
<soapenv:Fault 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><faultcode>soapenv:Client</faultcode><faultstring>java.lang.UnsupportedOperationException:
 This element was not created in a manner to be switched; nested exception is:
        java.lang.RuntimeException: java.lang.UnsupportedOperationException: 
This element was not created in a manner to be switched; nested exception is:
        org.apache.axis2.AxisFault: java.lang.UnsupportedOperationException: 
This element was not created in a manner to be switched; nested exception is:
        java.lang.RuntimeException: java.lang.UnsupportedOperationException: 
This element was not created in a manner to be switched</faultstring><detail 
/></soapenv:Fault>

thanks,
dims

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.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]

Reply via email to