You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chathura Herath (JIRA)" <ji...@apache.org> on 2007/07/04 23:00:11 UTC

[jira] Commented: (AXIS2-2898) Probelm of SOAP with JMS transport in axis2

    [ https://issues.apache.org/jira/browse/AXIS2-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510244 ] 

Chathura Herath commented on AXIS2-2898:
----------------------------------------

Its an ADB issue i suspect a ADB namespace issue. For some reason the deserialized element qname differ from the expected element which make the data binging throw an exception.

> Probelm of SOAP with JMS transport in axis2
> -------------------------------------------
>
>                 Key: AXIS2-2898
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2898
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.2
>         Environment: Deploy axis2 in tomcat6.
> Use JMS of AcitiveMQ 4.1.0.
>            Reporter: lizhao chen
>            Assignee: Asankha C. Perera
>         Attachments: jms_example.zip
>
>
>  I am trying to test a webservice with JMS transport. The service works perfectly fine with HTTP but with JMS it gives the following exception during unmarshling. Looks like localName is incorrect. 
> 2007-07-04 10:11:08,213 DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - S
> TART_ELEMENT: {tmf854.v1}TopicExpression_T:TopicExpression_T
> 2007-07-04 10:11:08,213 DEBUG org.apache.axiom.soap.impl.builder.StAXSOAPModelBu
> ilder - Build the OMElelment TopicExpression_TBy the StaxSOAPModelBuilder
> 2007-07-04 10:11:08,253 ERROR org.apache.axis2.transport.jms.JMSMessageReceiver
> - JMS Worker [JMSWorker-1] Encountered an Axis Fault : java.lang.RuntimeExceptio
> n: Unexpected subelement TopicExpression_T; nested exception is:
>         java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subel
> ement TopicExpression_T
> org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected subelement To
> picExpression_T; nested exception is:
>         java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subel
> ement TopicExpression_T
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:367)
>         at org.tmforum.tmf854.v1.ws.notif.NotificationConsumerMessageReceiverInO
> nly.invokeBusinessLogic(NotificationConsumerMessageReceiverInOnly.java:55)
>         at org.apache.axis2.receivers.AbstractInMessageReceiver.receive(Abstract
> InMessageReceiver.java:35)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:177)
>         at org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessa
> geReceiver.java:204)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
> ker.runTask(ThreadPoolExecutor.java:665)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
> ker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unexpected su
> belement TopicExpression_T
>         at org.tmforum.tmf854.v1.ws.notif.NotificationConsumerMessageReceiverInO
> nly.fromOM(NotificationConsumerMessageReceiverInOnly.java:110)
>         at org.tmforum.tmf854.v1.ws.notif.NotificationConsumerMessageReceiverInO
> nly.invokeBusinessLogic(NotificationConsumerMessageReceiverInOnly.java:42)
>         ... 6 more
> Caused by: java.lang.RuntimeException: Unexpected subelement TopicExpression_T
>         at org.tmforum.tmf854.v1.Notify_T$Factory.parse(Notify_T.java:540)
>         at org.tmforum.tmf854.v1.Notify$Factory.parse(Notify.java:292)
>         at org.tmforum.tmf854.v1.ws.notif.NotificationConsumerMessageReceiverInO
> nly.fromOM(NotificationConsumerMessageReceiverInOnly.java:97)
>         ... 7 more

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org