Edit SMX_HOME/conf/log4j.xml, set servicemix log level to DEBUG you
can see the MessageExchange
Btw, absolutely cxf se proxy send out the xml, but I'm not sure what's
the jsr181 endpoint expect.
Freeman
On 2009-6-29, at 下午8:28, jcamus wrote:
No still the same error message : (it seems CXF-SE not sending any
XML)..
How can I display what is it sent during proxy call ?
RROR - DefaultFaultHandler - Fault occurred!
rg.codehaus.xfire.XFireRuntimeException: Could not read XML stream..
Nested
exception is com.ctc.wstx.exc.WstxParsingException: E
pected a text token, got START_ELEMENT.
at [row,col {unknown-source}]: [1,174]
om.ctc.wstx.exc.WstxParsingException: Expected a text token, got
START_ELEMENT.
at [row,col {unknown-source}]: [1,174]
at
com
.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:
630)
at
com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
at
com
.ctc.wstx.sr.BasicStreamReader.getElementText(BasicStreamReader.java:
677)
at
org
.codehaus
.xfire
.util
.stax.DepthXMLStreamReader.getElementText(DepthXMLStreamReader.java:
86)
at
org
.codehaus
.xfire
.util
.stax.DepthXMLStreamReader.getElementText(DepthXMLStreamReader.java:
86)
at
org
.codehaus.xfire.aegis.stax.ElementReader.getValue(ElementReader.java:
122)
at
org
.codehaus
.xfire.aegis.type.basic.StringType.readObject(StringType.java:21)
at
org
.codehaus
.xfire
.aegis.AegisBindingProvider.readParameter(AegisBindingProvider.java:
162)
at
org
.codehaus
.xfire.service.binding.AbstractBinding.read(AbstractBinding.java:206)
at
org
.codehaus
.xfire
.service.binding.WrappedBinding.readMessage(WrappedBinding.java:50)
at
org
.codehaus
.xfire
.jaxws.JAXWSOperationBinding.readMessage(JAXWSOperationBinding.java:
182)
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.Jsr181Endpoint.process(Jsr181Endpoint.java:
498)
at
org
.apache
.servicemix
.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
at
org
.apache
.servicemix
.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:
581)
at
org
.apache
.servicemix
.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:
535)
at
org
.apache
.servicemix
.common
.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
at
org
.apache
.servicemix
.jbi
.messaging
.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:623)
at
org
.apache
.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
at
org
.apache
.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue
$1.run(SedaQueue.java:134)
at
java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Freeman Fang wrote:
Try add
annotations="jsr181" also
Freeman
On 2009-6-29, at 下午8:16, jcamus wrote:
Here is my jsr xbean.xml :
<jsr181:endpoint endpoint="jsrTest" typeMapping="jaxb2">
<jsr181:pojo>
<bean class="test.JsrTestServiceImpl" />
</jsr181:pojo>
</jsr181:endpoint>
--
View this message in context:
http://www.nabble.com/How-to-call-a-JSR181-proxy-from-CXF-SE--tp24250726p24253109.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
--
View this message in context:
http://www.nabble.com/How-to-call-a-JSR181-proxy-from-CXF-SE--tp24250726p24253254.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com