cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduard Hildebrandt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1702) Exception on using MTOM
Date Wed, 16 Jul 2008 09:57:31 GMT

    [ https://issues.apache.org/jira/browse/CXF-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613894#action_12613894
] 

Eduard Hildebrandt commented on CXF-1702:
-----------------------------------------

Korrektur: Beispiel funktioniert problemlos mit HTTP. Fehler scheint nur bei Einsatz von JMS
aufzutreten.

-----

English: It seems that this issue only occurs using JMS as transport.

> Exception on using MTOM
> -----------------------
>
>                 Key: CXF-1702
>                 URL: https://issues.apache.org/jira/browse/CXF-1702
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: Windows XP
>            Reporter: Eduard Hildebrandt
>         Attachments: example-mtom.zip
>
>
> 15.07.2008 17:03:27 org.apache.cxf.interceptor.LoggingInInterceptor logging
> INFO: Inbound Message
> ----------------------------
> Encoding: 
> Headers: {JMSDestination=[Queue[com.mycompany.examples.customerrelations.CustomerServiceV1]],
JMSRedelivered=[false], JMSTimestamp=[1216134207296], JMSExpiration=[1216134227296], SOAPAction=["getCustomer"],
JMSType=null, JMSDeliveryMode=[2], JMSMessageID=[ID:EMS-SERVER.6FC487CBAEB7:1], JMSXGroupID=null,
JMSCorrelationID=null, JMSPriority=[4], JMSReplyTo=[Queue[$TMP$.EMS-SERVER.6FC487CBAEB6.1]]}
> Messages: 
> Message:
> Payload: 
> ------=_Part_0_536608.1216134206859
> Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";
> Content-Transfer-Encoding: binary
> Content-ID: <root.message@cxf.apache.org>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getCustomer
xmlns:ns2="http://www.mycompany.com/examples/customerrelations"><customerNummber>12345</customerNummber></ns2:getCustomer></soap:Body></soap:Envelope>
> ------=_Part_0_536608.1216134206859--
> --------------------------------------
> 15.07.2008 17:03:27 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:54)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
> 	at org.apache.camel.component.cxf.transport.CamelDestination.incoming(CamelDestination.java:148)
> 	at org.apache.camel.component.cxf.transport.CamelDestination$ConsumerProcessor.process(CamelDestination.java:172)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
> 	at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:59)
> 	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:75)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:57)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:155)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:91)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:57)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> 	at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:68)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:531)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:466)
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:435)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322)
> 	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:260)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:944)
> 	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:875)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code
45) in prolog; expected '<'
>  at [row,col {unknown-source}]: [2,1]
> 	at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
> 	at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
> 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> 	at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1095)
> 	at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
> 	... 24 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message