Hi Folks,
I'm invoking a WS through:
| org.jboss.soa.esb.client.ServiceInvoker.ServiceInvoker(String serviceCategory, String
serviceName) t
| hrows MessageDeliverException
|
|
My method implementation:
|
| protected SOAPMessage invokeService(SOAPMessage message, String category, String
service)
| {
| Log logger = LogFactory.getLog(this.getClass());
| SOAPMessage response = null;
| try
| {
| String strInMsg = getString(message);
| Message msg =
org.jboss.soa.esb.message.format.MessageFactory.getInstance().getMessage();
| msg.getBody().add(strInMsg);
| msg.getProperties().setProperty("ws-transaction-id",
Long.toString(System.nanoTime()));
| Message ret = new ServiceInvoker(category, service).deliverSync(msg,
INTEGRAWS_TIMEOUT);
| response = getSOAPMessage((String)ret.getBody().get());
|
| logger.debug("RESPONSE: "+response.getSOAPBody().toString());
|
| }
| catch (Exception e)
| {
|
| response = getSOAPMessage(e);
| logger.error(e);
|
| }
|
|
|
| return response;
|
| }
|
|
but getting this exception:
| [IBNRegistryWSProvider]org.jboss.soa.esb.listeners.message.MessageDeliverException:
Failed to delive
| r message [header: [ To: JMSEpr [ PortReference < <wsa:Address
jms://HH-Linux1.usbeck.de:1099/queue/esb_queue_integra_ibn_broker/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.initial :
org.jnp.interfaces.NamingContextFacto
| ry/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url :
HH-Linux1.usbeck.de:1099/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>,
<wsa:ReferenceProperties jbossesb:destination-type : queue/>,
<wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:persistent : false/>, <wsa:ReferenceProperties
jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties
jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type :
urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference <
<wsa:Address
jms://HH-Linux1.usbeck.de:1099/queue/esb_queue_integra_ibn_broker_reply/>,
<wsa:ReferenceProperties jbossesb:java.naming.provider.url :
HH-Linux1.usbeck.de:1099/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFacto
| ry/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs :
org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type :
queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:message-selector :
jbossESBresponseUUID='dd2faa97-8509-449b-bc8f-f4
| 4f643ace16'/>, <wsa:ReferenceProperties jbossesb:persistent : false/>,
<wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>,
<wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties
jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]] to Service [IBN:Broker]. Check
for errors.
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258385#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...