axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mike rogers (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1491) AxisFault on complex datatypes
Date Sun, 29 Oct 2006 07:47:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1491?page=all ]

mike rogers updated AXIS2-1491:
-------------------------------

    Attachment: inheritance_in_wsdl.diff

the attached diff seems to fix the problem completely. it results in no broken unit/integration
tests and fixes all test cases that i have for my personal projects.  please let me know if
this can be integerated in axis2 1.1, or what i need to do to get it into the codebase.

> AxisFault on complex datatypes
> ------------------------------
>
>                 Key: AXIS2-1491
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1491
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: rpc
>    Affects Versions: 1.0, 1.1
>         Environment: mac os x, emacs, java 5.0, tomcat 5.5.14
>            Reporter: mike rogers
>         Assigned To: Deepal Jayasinghe
>         Attachments: inheritance_in_wsdl.diff, phptest.php, test-src.jar, test.aar, versionclient.pl
>
>
> the service is a simple pojo (for testing purposes) containing two methods:
>  getGreeting: returns a string
>  getVenue: returns a Venue pojo
> clients were written in perl (SOAP::Lite) and php (PEAR::SOAP) [attached]
> 'getGreeting' works as expected.
> request for getVenue:
> <?xml version='1.0' encoding='utf-8'?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>   <soap:Body>
>     <getVenue xmlns="http://service.web.proxito.com/xsd" xsi:nil="true" />
>   </soap:Body>
> </soap:Envelope>
> response for getVenue:
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Header />
>   <soapenv:Body>
>     <soapenv:Fault>
>       <faultcode>soapenv:Client</faultcode>
>       <faultstring>Reader cannot be null</faultstring>
>       <detail>
>         <Exception>
>           org.apache.axis2.AxisFault: Reader cannot be null; nested exception is:
>           java.lang.UnsupportedOperationException: Reader cannot be null
>           at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
>           at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
>           at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
>           at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
>           at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
>           at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
>           at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>           at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>           at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
>           at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>           at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>           at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>           at java.lang.Thread.run(Thread.java:613)
>           Caused by: java.lang.UnsupportedOperationException: Reader cannot be null
>           	at org.apache.axis2.util.StreamWrapper.&lt;init>
>           (StreamWrapper.java:39)
>           at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:66)
>           at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:130)
>           ... 20 more
>         </Exception>
>       </detail>
>     </soapenv:Fault>
>   </soapenv:Body>
> </soapenv:Envelope>

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message