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 <da...@gmail.com> on 2006/01/05 23:46:30 UTC
[Axis2] Still struggling...
Ajith, Deepal,
Managed to go a little bit further...Could u please help me with the
WSDL here? (DLDataService.wsdl in AXIS2-343). incoming request looks
like this:
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header><wsa:To
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:8081/axis2/services/DataService</wsa:To><wsa:Action
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">DataValuesRequest</wsa:Action><wsa:ReplyTo
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:8B7DDE364B7CBBD62211365004585931</wsa:MessageID></soapenv:Header><soapenv:Body><dataValuesRequest
xmlns="http://data.soap.highlinedata.com/Data.xsd1"><dps><dp><li>ID:0</li></dp><dp><li>ID:1</li></dp><dp><li>ID:2</li></dp><dp><li>ID:3</li></dp><dp><li>ID:4</li></dp></dps></dataValuesRequest></soapenv:Body></soapenv:Envelope>
The DataServiceMessageReceiver is looking for "DataValuesRequest" in
the method name and the soap:Body has "dataValuesRequest".
thanks,
dims
--
Davanum Srinivas : http://wso2.com/blogs/
Re: [Axis2] Still struggling...
Posted by Davanum Srinivas <da...@gmail.com>.
FYI, Stack trace is as follows, see attached client and server side code.
thanks,
dims
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: null;
nested exception is:
java.lang.NullPointerException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:254)
at com.highlinedata.soap.data.data_wsdl.DataServiceMessageReceiver.invokeBusinessLogic(DataServiceMessageReceiver.java:148)
at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:323)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.HTTPWorker.processRequest(HTTPWorker.java:186)
at org.apache.axis2.transport.http.server.SimpleConnectionThread.run(SimpleConnectionThread.java:95)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at org.apache.axis2.context.MessageContext.setEnvelope(MessageContext.java:685)
at com.highlinedata.soap.data.data_wsdl.DataServiceMessageReceiver.invokeBusinessLogic(DataServiceMessageReceiver.java:145)
... 8 more
at org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:148)
at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:255)
... 17 more
On 1/5/06, Davanum Srinivas <da...@gmail.com> wrote:
> Ajith, Deepal,
>
> Managed to go a little bit further...Could u please help me with the
> WSDL here? (DLDataService.wsdl in AXIS2-343). incoming request looks
> like this:
>
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header><wsa:To
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:8081/axis2/services/DataService</wsa:To><wsa:Action
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">DataValuesRequest</wsa:Action><wsa:ReplyTo
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:8B7DDE364B7CBBD62211365004585931</wsa:MessageID></soapenv:Header><soapenv:Body><dataValuesRequest
> xmlns="http://data.soap.highlinedata.com/Data.xsd1"><dps><dp><li>ID:0</li></dp><dp><li>ID:1</li></dp><dp><li>ID:2</li></dp><dp><li>ID:3</li></dp><dp><li>ID:4</li></dp></dps></dataValuesRequest></soapenv:Body></soapenv:Envelope>
>
> The DataServiceMessageReceiver is looking for "DataValuesRequest" in
> the method name and the soap:Body has "dataValuesRequest".
>
> thanks,
> dims
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>
--
Davanum Srinivas : http://wso2.com/blogs/