You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by KrisK <pk...@gmail.com> on 2009/02/25 18:09:53 UTC
Exception while invoking a webservice from service mix
HI,
I am getting the following error whenever i try to invoke a webservice from
service mix. Please can anyone help. Do let me know in case you need more
details
org.apache.servicemix.http.HttpComponent] Error processing exchange InOut [
]
java.lang.NullPointerException
at
org.apache.servicemix.jbi.util.DOMUtil.getNextSiblingElement(DOMUtil.java:188)
at
org.apache.servicemix.soap.marshalers.SoapReader.readSoapUsingDom(SoapReader.java:133)
at
org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:80)
at
org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:73)
at
org.apache.servicemix.http.processors.ProviderProcessor.processInOut(ProviderProcessor.java:241)
at
org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:183)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Regards,
Krisk
--
View this message in context: http://www.nabble.com/Exception-while-invoking-a-webservice-from-service-mix-tp22207256p22207256.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Exception while invoking a webservice from service mix
Posted by KrisK <pk...@gmail.com>.
HI,
Many thanks for your quick response. Attached is the xbean.xml and the
sample request. Thanks in advance.
Regards,
Krisk
jb-58 wrote:
>
> Hi,
>
> it looks like the SOAP marshaler fails when reading the DOM document.
> Could we have your xbean.xml and an example of soap envelope request ?
>
> Regards
> JB
>
> On Wednesday 25 February 2009 - 09:09, KrisK wrote:
>>
>> HI,
>>
>> I am getting the following error whenever i try to invoke a webservice
>> from
>> service mix. Please can anyone help. Do let me know in case you need more
>> details
>>
>> org.apache.servicemix.http.HttpComponent] Error processing exchange InOut
>> [
>> ]
>> java.lang.NullPointerException
>> at
>> org.apache.servicemix.jbi.util.DOMUtil.getNextSiblingElement(DOMUtil.java:188)
>> at
>> org.apache.servicemix.soap.marshalers.SoapReader.readSoapUsingDom(SoapReader.java:133)
>> at
>> org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:80)
>> at
>> org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:73)
>> at
>> org.apache.servicemix.http.processors.ProviderProcessor.processInOut(ProviderProcessor.java:241)
>> at
>> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:183)
>> at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
>> at
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
>> at
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>> at
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
>> at
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
>> at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
>> at
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>> at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>> at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> Regards,
>> Krisk
>> --
>> View this message in context:
>> http://www.nabble.com/Exception-while-invoking-a-webservice-from-service-mix-tp22207256p22207256.html
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>
>
http://www.nabble.com/file/p22208312/xbean.xml xbean.xml
http://www.nabble.com/file/p22208312/Req.xml Req.xml
--
View this message in context: http://www.nabble.com/Exception-while-invoking-a-webservice-from-service-mix-tp22207256p22208312.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Exception while invoking a webservice from service mix
Posted by jb...@nanthrax.net.
Hi,
it looks like the SOAP marshaler fails when reading the DOM document.
Could we have your xbean.xml and an example of soap envelope request ?
Regards
JB
On Wednesday 25 February 2009 - 09:09, KrisK wrote:
>
> HI,
>
> I am getting the following error whenever i try to invoke a webservice from
> service mix. Please can anyone help. Do let me know in case you need more
> details
>
> org.apache.servicemix.http.HttpComponent] Error processing exchange InOut [
> ]
> java.lang.NullPointerException
> at
> org.apache.servicemix.jbi.util.DOMUtil.getNextSiblingElement(DOMUtil.java:188)
> at
> org.apache.servicemix.soap.marshalers.SoapReader.readSoapUsingDom(SoapReader.java:133)
> at
> org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:80)
> at
> org.apache.servicemix.soap.marshalers.SoapReader.read(SoapReader.java:73)
> at
> org.apache.servicemix.http.processors.ProviderProcessor.processInOut(ProviderProcessor.java:241)
> at
> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:183)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
> at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
> at
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
> at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
> at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
> at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
> at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:595)
>
> Regards,
> Krisk
> --
> View this message in context: http://www.nabble.com/Exception-while-invoking-a-webservice-from-service-mix-tp22207256p22207256.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>