Hi, Does anyone have a complete example of jsr181 proxy for external web service? I have two services, one is inside the JBI container and the other one is outside. The inside service consumes the external web service. I followed the jsr181 proxy example, but got an com.ctc.wstx.exc.WstxParsingException: as following: Anyone has any ideas?
Sep 16 14:26:40 yingzhaopc [] 1 Error org/codehaus/xfire/handler/DefaultFaultHa ndler Fault occurred! <org.codehaus.xfire.XFireRuntimeException: Could not read XML stream.. Nested exception is com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT. at [row,col {unknown-source}]: [1,298] com.ctc.wstx.exc.WstxParsingException: Expected a text token, got START_ELEMENT. at [row,col {unknown-source}]: [1,298] at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:451) at com.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.ja va:672) at javax.xml.stream.util.StreamReaderDelegate.getElementText(StreamReade rDelegate.java:72) at javax.xml.stream.util.StreamReaderDelegate.getElementText(StreamReade rDelegate.java:72) at org.codehaus.xfire.util.stax.DepthXMLStreamReader.getElementText(Dept hXMLStreamReader.java:86) at org.codehaus.xfire.util.stax.DepthXMLStreamReader.getElementText(Dept hXMLStreamReader.java:86) at org.codehaus.xfire.aegis.stax.ElementReader.getValue(ElementReader.ja va:122) at org.codehaus.xfire.aegis.type.basic.StringType.readObject(StringType. java:21) at org.codehaus.xfire.aegis.AegisBindingProvider.readParameter(AegisBind ingProvider.java:162) at org.codehaus.xfire.service.binding.AbstractBinding.read(AbstractBindi ng.java:206) at org.codehaus.xfire.service.binding.DocumentBinding.readMessage(Docume ntBinding.java:32) at org.codehaus.xfire.jaxws.JAXWSOperationBinding.readMessage(JAXWSOpera tionBinding.java:182) -- View this message in context: http://www.nabble.com/com.ctc.wstx.exc.WstxParsingException%3A-for-jsr181-proxy-tf4471376s12049.html#a12749180 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.