Jms property targetService set in endpoint refererence uri is not sent
-----------------------------------------------------------------------
Key: WSCOMMONS-574
URL: https://issues.apache.org/jira/browse/WSCOMMONS-574
Project: WS-Commons
Issue Type: Bug
Components: Transport
Environment: Windows 7
Reporter: Joern Zimmer
I have written a jms client which should sent a soap over jms message to
websphere server. Unfortunately, my server response with the following message:
[9/12/11 12:37:57:254 CEST] 00000034 JMSListenerMD E WSWS7172E: The system
encountered a JMS exception: org.apache.axis2.AxisFault: WSWS7170E: The
TargetService is not in the correct format.
[9/12/11 12:37:57:267 CEST] 00000034 JMSListenerMD E WSWS3021E: The required
"targetService" property was not present in the inbound JMS request message.
[9/12/11 12:37:57:277 CEST] 00000034 JMSListenerMD E WSWS3018E: Caught
exception during request processing: WSWS3021E: The required "targetService"
property was not present in the inbound JMS request message.
The jms client looks like the following:
TransportOutDescription transportOut = new
TransportOutDescription(Constants.TRANSPORT_JMS);
TransportInDescription transportIn = new
TransportInDescription(Constants.TRANSPORT_JMS);
JMSSender jmsSender = new JMSSender();
TransportListener tl = new JMSListener();
transportOut.setSender(jmsSender);
transportIn.setReceiver(tl);
stub._getServiceClient().getOptions().setTransportOut(transportOut);
stub._getServiceClient().getOptions().setTransportIn(transportIn);
jmsSender.init(ctx, transportOut);
AxisConfiguration axisConfiguration =
ctx.getAxisConfiguration();
axisConfiguration.addTransportOut(transportOut);
stub
._getServiceClient()
.getOptions()
.setTo(
new EndpointReference(
"jms:/jms/Beschaffung_Logistik_Services_Request_Q?transport.jms.ConnectionFactoryJNDIName=jms/Beschaffung_Logistik_Services_QCF&transport.jms.DestinationType=queue&transport.jms.targetService=DF_MP_EckterminBeanPort&transport.jms.ReplyDestination=jms/Beschaffung_Logistik_Services_Reply_Q&transport.jms.ReplyDestinationType=Queue&java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory&java.naming.provider.url=iiop://xxxxx:2809"));
The name of the target service is targetService=DF_MP_EckterminBeanPort. I am
asking me if this is a bug or not supported at the moment. Any help is
appreciated!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]