Hi all, Can we bind two JSR181 service units with Http service unit ?
I am trying to develop a service assembly havng two JSR181 sevice units, I bind these service units with Http service unit. I mentioned both of JSR181 service units in Http service units xbean.xml <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:hello="http://www.org.apache.samples/Hello/" xmlns:food="http://motorola.com/food"> <http:endpoint service="hello:Hello" endpoint="HelloSOAP" role="consumer" locationURI="http://0.0.0.0:5252/service/Hello" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true" /> <http:endpoint service="food:food" endpoint="foodSOAP" role="consumer" locationURI="http://0.0.0.0:8686/food" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true" /> </beans> Both JSR181's wsdl files are shown in Internet Explorer http://0.0.0.0:8686/food/MAIN.WSDL http://0.0.0.0:5252/Hello/MAIN.WSDL When I test with food endpoint ,it works fine, but for Hello endpoint testing it throws an error ERROR - DefaultFaultHandler - Fault occurred! java.lang.IllegalStateException: Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE at com.ctc.wstx.sr.BasicStreamReader.getLocalName(BasicStreamReader.java:708) at org.codehaus.xfire.util.stax.DepthXMLStreamReader.getLocalName(DepthXMLStreamReader.java: 100) at org.codehaus.xfire.aegis.stax.ElementReader.<init>(ElementReader.java:58) at org.codehaus.xfire.aegis.stax.ElementReader.<init>(ElementReader.java:69) at org.apache.servicemix.jsr181.xfire.ServiceFactoryHelper$FixedJAXWSOperationBinding.readMe ssage(ServiceFactoryHelper.java:403) at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64) at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38) at org.apache.servicemix.jsr181.Jsr181ExchangeProcessor.process(Jsr181ExchangeProcessor.java :110) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:4 41) at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImp l.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(ThreadPo olExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx ecutor.java:690) at java.lang.Thread.run(Thread.java:595) Please Help me on this issue. -- View this message in context: http://www.nabble.com/JSR181-Problem-tf3655577s12049.html#a10212775 Sent from the ServiceMix - User mailing list archive at Nabble.com.
