Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2
  • Fix Version/s: 1.3
  • Component/s: Modules: CXF
  • Labels:
    None
  • Environment:

    JDK 1.5.0_04, Mule standalone, JBoss 4.0.2

  • Configuration:
    Hide

    <global-endpoints>
    <endpoint name="test-IN" address="jms:////51box/sadmUserQueue?createConnector=ALWAYS" connector="jmsConnector"/>
    <endpoint name="test-WS-OUT" address="axis:http://localhost:8080/BasicWS/OrganizationService?method=getContactInfo"/>
    </global-endpoints>

    <mule-descriptor name="test-WS-BRIDGE"
    inboundEndpoint="test-IN"
    outboundTransformer="JmsToObject ObjectToXml"
    outboundEndpoint="test-WS-OUT"
    implementation="org.mule.components.simple.BridgeComponent"/>

    Show
    <global-endpoints> <endpoint name="test-IN" address="jms:////51box/sadmUserQueue?createConnector=ALWAYS" connector="jmsConnector"/> <endpoint name="test-WS-OUT" address="axis:http://localhost:8080/BasicWS/OrganizationService?method=getContactInfo"/> </global-endpoints> <mule-descriptor name="test-WS-BRIDGE" inboundEndpoint="test-IN" outboundTransformer="JmsToObject ObjectToXml" outboundEndpoint="test-WS-OUT" implementation="org.mule.components.simple.BridgeComponent"/>
  • Log Output:
    Hide
    09:26:47,723 ERROR [Call] Exception:
    org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
            at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2448)
            at org.apache.axis.client.Call.invoke(Call.java:2347)
            at org.apache.axis.client.Call.invoke(Call.java:1804)
            at org.mule.providers.soap.axis.AxisMessageDispatcher.doSend(AxisMessageDispatcher.java:192)
            at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
            at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
            at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)
            at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)
            at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:53)
            at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:77)
            at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)
            at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)
            at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)
            at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:49)
            at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:77)
            at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
            at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
            at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
            at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:225)
            at org.mule.providers.jms.JmsMessageReceiver.onMessage(JmsMessageReceiver.java:101)
            at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:707)
            at java.lang.Thread.run(Thread.java:595)
    09:26:47,743 ERROR [DefaultExceptionStrategy]
    ********************************************************************************
    Message : Failed to route event via endpoint: ImmutableMuleEndpoint{connector=org.mule.providers.soap.axis.AxisConnector@10bbf9e, endpointUri=http://localhost:
    8080/BasicWS/OrganizationBeanServicePort?method=getContactInfo, transformer=Transformer{name='JmsToObject', returnClass=false, returnClass=false, sourceTypes=[interface
     javax.jms.Message]}, name='test-WS-OUT', type='sender', properties={method=getContactInfo}, transactionConfig=org.mule.impl.MuleTransactionConfig@13c7378, filter=null,
     deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=null, initialState=started, createConnector=0}. Message payload is of type: org.jbos
    s.mq.SpyObjectMessage
    Type : org.mule.umo.provider.DispatchException
    Code : 42999
    JavaDoc : http://mule.codehaus.org/docs/apidocs/org/mule/umo/provider/DispatchException.html
    Payload : org.jboss.mq.SpyObjectMessage {
    Header {
       jmsDestination : QUEUE.sadmUserQueue
       jmsDeliveryMode : 2
       jmsExpiration : 0
       jmsPriority : 4
       jmsMessageID : ID:17-11342032065221
       jmsTimeStamp : 1134203206522
       jmsCorrelationID: null
       jmsReplyTo : null
       jmsType : null
       jmsRedelivered : false
       jmsProperties : {MessageType=ServiceResponse}
       jmsPropReadWrite: false
       msgReadOnly : true
       producerClientId: ID:17
    }
    }
    ********************************************************************************
    Exception stack is:
    1. Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType (org.xml.sax.SAXException)
      org.apache.axis.message.RPCHandler:277 (null)
    2. ; nested exception is:
            org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType (org.apache.axis.Axi
    sFault)
      org.apache.axis.AxisFault:101 (null)
    3. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=org.mule.providers.soap.axis.AxisConnector@10bbf9e, endpointUri=http://localhost:8080/BasicWS/Org
    anizationBeanServicePort?method=getContactInfo, transformer=Transformer{name='JmsToObject', returnClass=false, returnClass=false, sourceTypes=[interface javax.jms.Messa
    ge]}, name='test-WS-OUT', type='sender', properties={method=getContactInfo}, transactionConfig=org.mule.impl.MuleTransactionConfig@13c7378, filter=null, deleteUnaccepte
    dMessages=false, initialised=true, securityFilter=null, synchronous=null, initialState=started, createConnector=0}. Message payload is of type: org.jboss.mq.SpyObjectMe
    ssage (org.mule.umo.provider.DispatchException)
      org.mule.providers.AbstractMessageDispatcher:179 (http://mule.codehaus.org/docs/apidocs/org/mule/umo/provider/DispatchException.html)
    ********************************************************************************
    Root Exception stack trace:
    org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
            at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
            at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
            at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
            at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
            at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
            at org.apache.axis.client.Call.invoke(Call.java:2448)
            at org.apache.axis.client.Call.invoke(Call.java:2347)
            at org.apache.axis.client.Call.invoke(Call.java:1804)
            at org.mule.providers.soap.axis.AxisMessageDispatcher.doSend(AxisMessageDispatcher.java:192)
            at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
            at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
            at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)
            at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)
            at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:53)
            at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:77)
            at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)
            at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)
            at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)
            at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:49)
            at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:77)
            at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
            at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
            at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
            at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:225)
            at org.mule.providers.jms.JmsMessageReceiver.onMessage(JmsMessageReceiver.java:101)
            at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:707)
            at java.lang.Thread.run(Thread.java:595)

    ********************************************************************************

    09:26:47,753 ERROR [DefaultExceptionStrategy] Message being processed is: MuleMessage{id=ID:17-11342032065221, payload=org.jboss.mq.SpyObjectMessage, correlationId=null
    , correlationGroup=-1, correlationSeq=-1, exceptionPayload=null, properties={
    MessageType=ServiceResponse
    JMSDestination=QUEUE.sadmUserQueue
    JMSRedelivered=false
    JMSTimestamp=1134203206522
    JMSExpiration=0
    JMSType=null
    JMSDeliveryMode=2
    JMSMessageID=ID:17-11342032065221
    JMSCorrelationID=null
    JMSPriority=4
    JMSReplyTo=null
    }}
    09:26:47,864 WARN [ExceptionHelper] Failed to load error mappings from: META-INF/services/org/mule/config/jms-exception-mappings.properties. This may be because there
    are no error code mappings for protocol: jms
    Show
    09:26:47,723 ERROR [Call] Exception: org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType         at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)         at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)         at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)         at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)         at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)         at org.apache.axis.client.Call.invoke(Call.java:2448)         at org.apache.axis.client.Call.invoke(Call.java:2347)         at org.apache.axis.client.Call.invoke(Call.java:1804)         at org.mule.providers.soap.axis.AxisMessageDispatcher.doSend(AxisMessageDispatcher.java:192)         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)         at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)         at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:53)         at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:77)         at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)         at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)         at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)         at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:49)         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:77)         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:225)         at org.mule.providers.jms.JmsMessageReceiver.onMessage(JmsMessageReceiver.java:101)         at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:707)         at java.lang.Thread.run(Thread.java:595) 09:26:47,743 ERROR [DefaultExceptionStrategy] ******************************************************************************** Message : Failed to route event via endpoint: ImmutableMuleEndpoint{connector=org.mule.providers.soap.axis.AxisConnector@10bbf9e, endpointUri=http://localhost: 8080/BasicWS/OrganizationBeanServicePort?method=getContactInfo, transformer=Transformer{name='JmsToObject', returnClass=false, returnClass=false, sourceTypes=[interface  javax.jms.Message]}, name='test-WS-OUT', type='sender', properties={method=getContactInfo}, transactionConfig=org.mule.impl.MuleTransactionConfig@13c7378, filter=null,  deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=null, initialState=started, createConnector=0}. Message payload is of type: org.jbos s.mq.SpyObjectMessage Type : org.mule.umo.provider.DispatchException Code : 42999 JavaDoc : http://mule.codehaus.org/docs/apidocs/org/mule/umo/provider/DispatchException.html Payload : org.jboss.mq.SpyObjectMessage { Header {    jmsDestination : QUEUE.sadmUserQueue    jmsDeliveryMode : 2    jmsExpiration : 0    jmsPriority : 4    jmsMessageID : ID:17-11342032065221    jmsTimeStamp : 1134203206522    jmsCorrelationID: null    jmsReplyTo : null    jmsType : null    jmsRedelivered : false    jmsProperties : {MessageType=ServiceResponse}    jmsPropReadWrite: false    msgReadOnly : true    producerClientId: ID:17 } } ******************************************************************************** Exception stack is: 1. Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType (org.xml.sax.SAXException)   org.apache.axis.message.RPCHandler:277 (null) 2. ; nested exception is:         org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType (org.apache.axis.Axi sFault)   org.apache.axis.AxisFault:101 (null) 3. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=org.mule.providers.soap.axis.AxisConnector@10bbf9e, endpointUri=http://localhost:8080/BasicWS/Org anizationBeanServicePort?method=getContactInfo, transformer=Transformer{name='JmsToObject', returnClass=false, returnClass=false, sourceTypes=[interface javax.jms.Messa ge]}, name='test-WS-OUT', type='sender', properties={method=getContactInfo}, transactionConfig=org.mule.impl.MuleTransactionConfig@13c7378, filter=null, deleteUnaccepte dMessages=false, initialised=true, securityFilter=null, synchronous=null, initialState=started, createConnector=0}. Message payload is of type: org.jboss.mq.SpyObjectMe ssage (org.mule.umo.provider.DispatchException)   org.mule.providers.AbstractMessageDispatcher:179 (http://mule.codehaus.org/docs/apidocs/org/mule/umo/provider/DispatchException.html) ******************************************************************************** Root Exception stack trace: org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType         at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)         at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)         at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)         at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)         at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)         at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)         at org.apache.axis.client.Call.invoke(Call.java:2448)         at org.apache.axis.client.Call.invoke(Call.java:2347)         at org.apache.axis.client.Call.invoke(Call.java:1804)         at org.mule.providers.soap.axis.AxisMessageDispatcher.doSend(AxisMessageDispatcher.java:192)         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)         at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)         at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:53)         at org.mule.routing.outbound.OutboundPassThroughRouter.route(OutboundPassThroughRouter.java:77)         at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)         at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)         at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)         at org.mule.routing.inbound.ForwardingConsumer.process(ForwardingConsumer.java:49)         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:77)         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:225)         at org.mule.providers.jms.JmsMessageReceiver.onMessage(JmsMessageReceiver.java:101)         at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:707)         at java.lang.Thread.run(Thread.java:595) ******************************************************************************** 09:26:47,753 ERROR [DefaultExceptionStrategy] Message being processed is: MuleMessage{id=ID:17-11342032065221, payload=org.jboss.mq.SpyObjectMessage, correlationId=null , correlationGroup=-1, correlationSeq=-1, exceptionPayload=null, properties={ MessageType=ServiceResponse JMSDestination=QUEUE.sadmUserQueue JMSRedelivered=false JMSTimestamp=1134203206522 JMSExpiration=0 JMSType=null JMSDeliveryMode=2 JMSMessageID=ID:17-11342032065221 JMSCorrelationID=null JMSPriority=4 JMSReplyTo=null }} 09:26:47,864 WARN [ExceptionHelper] Failed to load error mappings from: META-INF/services/org/mule/config/jms-exception-mappings.properties. This may be because there are no error code mappings for protocol: jms
  • Similar Issues:
    None

Description

Using the JMS-to-Webservice bridge configuration that was working with Mule 1.1.1 now fails with Mule 1.2 (see stack).

Either it was working by accident on 1.1.1 or some regression happened on 1.2?

FYI. The webservice is an EJB-Endpoint hosted on JBoss 4.0.2 and is validated as compliant with WS-I BP 1.0. The JMS Queue is provided by JBossMQ.

Cheers,
David

Activity

Hide
David Dossot added a comment -

Precision : the return type of the web service is an xsd:string, so I think there is no need to set the beanTypes (http://mule.codehaus.org/Configuring+Axis#ConfiguringAxis-TypeMappings).

Show
David Dossot added a comment - Precision : the return type of the web service is an xsd:string, so I think there is no need to set the beanTypes (http://mule.codehaus.org/Configuring+Axis#ConfiguringAxis-TypeMappings).
Hide
David Dossot added a comment -

I wonder if this is not similar to this issue : Axis hates Strings? (http://archive.codehaus.org/mule/user/msg02721.html), even if in my case I return a basic String, not a complex type?

Show
David Dossot added a comment - I wonder if this is not similar to this issue : Axis hates Strings? (http://archive.codehaus.org/mule/user/msg02721.html), even if in my case I return a basic String, not a complex type?
Hide
Ross Mason added a comment -

I'm starting to wonder if this has anything to do with us move to Axis 1.3 for mule 1.2... I'll set up a testcase for this scenario and see if I can reproduce.

Show
Ross Mason added a comment - I'm starting to wonder if this has anything to do with us move to Axis 1.3 for mule 1.2... I'll set up a testcase for this scenario and see if I can reproduce.
Hide
Ross Mason added a comment -

I believe this is now resolved by setting the "doAutoTypes" property to false on the Mule service descriptor and registering your beanTypes according to: http://muleumo.org/Configuring+Axis

Show
Ross Mason added a comment - I believe this is now resolved by setting the "doAutoTypes" property to false on the Mule service descriptor and registering your beanTypes according to: http://muleumo.org/Configuring+Axis
Hide
Ross Mason added a comment -

Thanks for reporting

Show
Ross Mason added a comment - Thanks for reporting

People

Vote (3)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: