1 Reply Latest reply on Oct 2, 2009 7:42 AM by Kevin Conner

    ESB Web Service Client MessageDeliverException problem

    Steam s Newbie

      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.