Same configuration, different result (maybe the reason of ti
sdjn5337 Jul 7, 2008 11:42 PMHi, when I use jbossESB-4.3 GA to config, I got a problem.
In client I use the class SOAPTest to send a SOAP message to the ESB, ESB print the request message and use HttpRouter to send the message to the
server, then print response message and return it to the client.
It seems that if the connection between ESB and server is more than 20 senonds, the ESB will print some message (send error message to client sometimes)
and connect to the server another time after the first request return.
Here is the jboss-esb.xml
<?xml version = "1.0" encoding = "UTF-8"?> <jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd" parameterReloadSecs="5"> <providers> <jms-provider name="JBossMQ" connection-factory="ConnectionFactory" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" jndi-URL="localhost"> <jms-bus busid="quickstartEsbChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/esb_uc"/> </jms-bus> </jms-provider> <jbr-provider name="JBR-Http" protocol="http" host="localhost"> <jbr-bus busid="Http-1" port="8765" /> </jbr-provider> </providers> <services> <service category="MyServiceCategory" name="MyWSProducerService" description="WS Frontend speaks natively to the ESB"> <listeners> <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/> <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel" maxThreads="1"/> </listeners> <actions mep="RequestResponse"> <!--print the request message--> <action name="printMessage" class="com.cvicse.esb.request.HttpRequestMessageAction"/> <action name="httprouter" class="org.jboss.soa.esb.actions.routing.http.HttpRouter"> <property name="endpointUrl" value="https://www.uc.se/UCSoapWeb/services/ucOrders2"> <http-client-property name="file" value="D:/https-uc.properties"/> </property> <!-- localhost:8001 is the URL of mock --> <!--property name="endpointUrl" value="http://localhost:8001"> </property--> <property name="method" value="POST" /> <property name="responseType" value="STRING" /> <property name="headers"> <header name="SOAPAction" value="http://www.uc.se/ws/ucOrders/individualReport" /> </property> </action> <!--print the Response message--> <action name="printResponse" class="com.cvicse.esb.response.HttpResponseMessageAction" /> </actions> </service> </services> </jbossesb>
HttpRequestMessageAction.java
public class HttpRequestMessageAction extends AbstractActionLifecycle{ protected ConfigTree _config; public HttpRequestMessageAction(ConfigTree config) { _config = config; } public Message process(Message message) throws Exception { Properties properties = message.getProperties(); System.out.println("=========== Server Request: ===================================="); System.out.println("Message Payload:"); System.out.println("\t[" + message.getBody().get() + "]"); System.out.println(); System.out.println("\tHeaders:"); System.out.println("\t\thost: " + properties.getProperty("host")); System.out.println("\t\tMethod: " + properties.getProperty("MethodType")); System.out.println("\t\tPath: " + properties.getProperty("Path")); System.out.println("\t\tuser-agent: " + properties.getProperty("user-agent")); System.out.println("\t\tcontent-type: " + properties.getProperty("content-type")); System.out.println("================================================================"); return message; } }
HttpResponseMessageAction.java
public class HttpResponseMessageAction extends AbstractActionLifecycle { protected ConfigTree _config; public HttpResponseMessageAction(ConfigTree config) { _config = config; } public Message process(Message message) throws Exception { HttpResponse httpResponse = (HttpResponse) message.getBody().get(HttpResponse.RESPONSE_KEY); System.out.println("=========== Client Response: ==================================="); System.out.println("Message Payload:"); System.out.println("\t[" + message.getBody().get() + "]"); System.out.println(); System.out.println("Http Response:"); System.out.println("\tCode: " + httpResponse.getResponseCode()); System.out.println("\tLength: " + httpResponse.getLength()); System.out.println("\tEncoding: " + httpResponse.getEncoding()); System.out.println("\tHeaders:"); List<HttpHeader> headers = httpResponse.getHeaders(); for (HttpHeader header : headers) { System.out.println("\t\t" + header.getName() + ": " + header.getValue()); } System.out.println("================================================================"); return message; } }
SOAPTest.java
public class SOAPTest { public static void main(String args[]) { HttpClient client = new HttpClient(); PostMethod postMethod = new PostMethod("http://localhost:8765/"); String re=getMessage(); StringRequestEntity requestEntity = new StringRequestEntity(re); postMethod.setRequestEntity(requestEntity); try { client.executeMethod(postMethod); System.out.println("Response from web service"); System.out.println(postMethod.getResponseBodyAsString()); } catch (HttpException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } private static String getMessage() { String msg = new String(StreamUtils.readStream(SOAPTest.class.getResourceAsStream("soap_message_request_uc.xml"))); return msg; } }
The first time I use mock as the server, the client got the correct message and the ESB print the excepted message, as follows
17:24:19,750 INFO [STDOUT] =========== Server Request: ==================================== 17:24:19,750 INFO [STDOUT] Message Payload: 17:24:19,750 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucor="http://www.uc.se/sc hemas/ucOrderRequest/"> <soapenv:Header/> <soapenv:Body> <ucor:individualReport ucor:product="****" ucor:version="****"> <ucor:customer> <ucor:userId>****</ucor:userId> <ucor:password>****</ucor:password> </ucor:customer> <ucor:individualReportQuery ucor:xmlReply="true" ucor:htmlReply="true"> <ucor:object>****</ucor:object> <ucor:template ucor:id="****"> <ucor:templateParams> </ucor:templateParams> </ucor:template> </ucor:individualReportQuery> </ucor:individualReport> </soapenv:Body> </soapenv:Envelope>] 17:24:19,750 INFO [STDOUT] Headers: 17:24:19,750 INFO [STDOUT] host: localhost:8765 17:24:19,750 INFO [STDOUT] Method: POST 17:24:19,750 INFO [STDOUT] Path: / 17:24:19,750 INFO [STDOUT] user-agent: Jakarta Commons-HttpClient/3.0.1 17:24:19,750 INFO [STDOUT] content-type: null 17:24:19,750 INFO [STDOUT] ================================================================ 17:24:20,062 INFO [STDOUT] =========== Client Response: =================================== 17:24:20,062 INFO [STDOUT] Message Payload: 17:24:20,062 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.x mlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header/> <soapenv:Body> <p346:ucReply xmlns:p346="http://www.uc.se/schemas/ucOrderReply/"> ....................... </p346:ucReply> </soapenv:Body> </soapenv:Envelope>] 17:24:20,062 INFO [STDOUT] Http Response: 17:24:20,062 INFO [STDOUT] Code: 200 17:24:20,062 INFO [STDOUT] Length: 3957 17:24:20,062 INFO [STDOUT] Encoding: utf-8 17:24:20,062 INFO [STDOUT] Headers: 17:24:20,062 INFO [STDOUT] Content-Type: text/xml;charset=UTF-8 17:24:20,062 INFO [STDOUT] SOAPAction: http://www.uc.se/ws/ucOrders/individualReport 17:24:20,062 INFO [STDOUT] User-Agent: Jakarta Commons-HttpClient/3.0.1 17:24:20,062 INFO [STDOUT] Host: localhost 17:24:20,062 INFO [STDOUT] Content-Length: 782 17:24:20,062 INFO [STDOUT] ================================================================ (Then the client print the result------this is not the print message in ESB)
At second time I connect to the real server, the client show error message, see picture[img]http://byfiles.storage.live.com/y1pfhMf-
6wZUGZFjJi_abRSPxZ_yCwOFkVdKJ30Dqy0o9laDI1jxUHvxw81B0OgAJvT[/img]. Follows is the print message in ESB
17:31:46,297 INFO [STDOUT] =========== Server Request: ==================================== 17:31:46,297 INFO [STDOUT] Message Payload: 17:31:46,297 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucor="http://www.uc.se/sc hemas/ucOrderRequest/"> <soapenv:Header/> <soapenv:Body> <ucor:individualReport ucor:product="******" ucor:version="******"> <ucor:customer> <ucor:userId>*******</ucor:userId> <ucor:password>***</ucor:password> </ucor:customer> <ucor:individualReportQuery ucor:xmlReply="true" ucor:htmlReply="true"> <ucor:object>**********</ucor:object> <ucor:template ucor:id="*****"> <ucor:templateParams> </ucor:templateParams> </ucor:template> </ucor:individualReportQuery> </ucor:individualReport> </soapenv:Body> </soapenv:Envelope>] 17:31:46,297 INFO [STDOUT] Headers: 17:31:46,297 INFO [STDOUT] host: localhost:8765 17:31:46,297 INFO [STDOUT] Method: POST 17:31:46,297 INFO [STDOUT] Path: / 17:31:46,297 INFO [STDOUT] user-agent: Jakarta Commons-HttpClient/3.0.1 17:31:46,297 INFO [STDOUT] content-type: null 17:31:46,297 INFO [STDOUT] ================================================================ 17:32:06,297 INFO [ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProper ties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provide r.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbosses b:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection- factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : A UTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/j ms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.na ming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : ConnectionF actory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='5cfbe67e-9873-4862-9d18-cc5daec847e0'/>, <wsa:Reference Properties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties j bossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ] 17:32:06,328 INFO [ServiceInvoker] Badly formed EPR [EPR: PortReference < <wsa:Address http://localhost:8765/> >] for Service [MyServiceCat egory:MyWSProducerService] and Message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbosses b:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFa ctory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destinatio n-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : Co nnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='5cfbe67e-9873-4862-9d18-cc5daec847e0'/>, <wsa: ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferencePro perties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]].Courier for EPR not supp orted: ESB-unaware EPR used! 17:32:06,359 INFO [ServiceInvoker] Invalid EPR for service (probably ESB-unaware): ignoring for message: header: [ To: JMSEpr [ PortReferen ce < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.Na mingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.namin g.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:s pecification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb: persistent : true/>, <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://127 .0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbosses b:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : jb ossESBresponseUUID='5cfbe67e-9873-4862-9d18-cc5daec847e0'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:t ype : urn:jboss/esb/epr/type/jms/> > ] ] 17:32:06,422 INFO [ServiceInvoker] Delivering message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_u c/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbo ssesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:Re ferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProper ties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbos sesb: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://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferencePr operties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces .NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbo ssesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connect ion-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='5cfbe67e-9873-4862-9d18-cc5dae c847e0'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, < wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]] to DLQ. 17:32:06,484 ERROR [JBossRemotingGatewayListener] JBoss Remoting Gateway failed to synchronously deliver message to target service [MyServic eCategory:MyWSProducerService]. org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory />, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-versi on : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/ >, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:Ref erenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/ esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.fact ory.initial : org.jnp.interfaces.NamingContextFactory/>, <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:Refe renceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID ='5cfbe67e-9873-4862-9d18-cc5daec847e0'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowle dge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/es b/epr/type/jms/> > ] ]] to Service [MyServiceCategory:MyWSProducerService]. Check for errors. at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:356) at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:196) at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapt er.java:107) at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDeliveryAdapter.java:86) at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.java:316) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:310) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) (then the client print the wrong message as in the picture. But ESB print the result later.------this is not the print message in ESB) 17:32:17,703 INFO [STDOUT] =========== Client Response: =================================== 17:32:17,703 INFO [STDOUT] Message Payload: 17:32:17,703 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.x mlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Heade r/><soapenv:Body><p346:ucReply xmlns:p346="http://www.uc.se/schemas/ucOrderReply/">............................</p346:ucReply></soapenv:Body></soapenv:Envelope>] 17:32:19,078 INFO [STDOUT] Http Response: 17:32:19,078 INFO [STDOUT] Code: 200 17:32:19,078 INFO [STDOUT] Length: -1 17:32:19,078 INFO [STDOUT] Encoding: utf-8 17:32:19,078 INFO [STDOUT] Headers: 17:32:19,078 INFO [STDOUT] Content-Type: text/xml;charset=UTF-8 17:32:19,078 INFO [STDOUT] SOAPAction: http://www.uc.se/ws/ucOrders/individualReport 17:32:19,078 INFO [STDOUT] User-Agent: Jakarta Commons-HttpClient/3.0.1 17:32:19,078 INFO [STDOUT] Host: www.uc.se 17:32:19,078 INFO [STDOUT] Content-Length: 782 17:32:19,078 INFO [STDOUT] ================================================================
here 17:32:06,297-17:31:46,297=20s
At third time I also got the error in client but the message printed by ESB is not the same as the second one, it print the request and response message
twice.
17:36:55,766 INFO [STDOUT] =========== Server Request: ==================================== 17:36:55,766 INFO [STDOUT] Message Payload: 17:36:55,766 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucor="http://www.uc.se/sc hemas/ucOrderRequest/"> <soapenv:Header/> <soapenv:Body> <ucor:individualReport ucor:product="*****" ucor:version="*****"> <ucor:customer> <ucor:userId>*****</ucor:userId> <ucor:password>*****</ucor:password> </ucor:customer> <ucor:individualReportQuery ucor:xmlReply="true" ucor:htmlReply="true"> <ucor:object>*****</ucor:object> <ucor:template ucor:id="*****"> <ucor:templateParams> </ucor:templateParams> </ucor:template> </ucor:individualReportQuery> </ucor:individualReport> </soapenv:Body> </soapenv:Envelope>] 17:36:55,766 INFO [STDOUT] Headers: 17:36:55,766 INFO [STDOUT] host: localhost:8765 17:36:55,766 INFO [STDOUT] Method: POST 17:36:55,766 INFO [STDOUT] Path: / 17:36:55,766 INFO [STDOUT] user-agent: Jakarta Commons-HttpClient/3.0.1 17:36:55,766 INFO [STDOUT] content-type: null 17:36:55,766 INFO [STDOUT] ================================================================ 17:37:15,781 INFO [ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProper ties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provide r.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbosses b:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection- factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : A UTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/j ms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.na ming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : ConnectionF actory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='1e6cf39c-8d58-4f10-92a8-2c02b1508bd1'/>, <wsa:Reference Properties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties j bossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ] 17:37:15,797 INFO [ServiceInvoker] Badly formed EPR [EPR: PortReference < <wsa:Address http://localhost:8765/> >] for Service [MyServiceCat egory:MyWSProducerService] and Message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbosses b:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFa ctory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destinatio n-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : Co nnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='1e6cf39c-8d58-4f10-92a8-2c02b1508bd1'/>, <wsa: ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferencePro perties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]].Courier for EPR not supp orted: ESB-unaware EPR used! 17:37:15,828 INFO [ServiceInvoker] Invalid EPR for service (probably ESB-unaware): ignoring for message: header: [ To: JMSEpr [ PortReferen ce < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.Na mingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.namin g.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:s pecification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb: persistent : true/>, <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://127 .0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbosses b:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : jb ossESBresponseUUID='1e6cf39c-8d58-4f10-92a8-2c02b1508bd1'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:t ype : urn:jboss/esb/epr/type/jms/> > ] ] 17:37:35,875 INFO [ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProper ties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provide r.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbosses b:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection- factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : A UTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/j ms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.na ming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : ConnectionF actory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='1e6cf39c-8d58-4f10-92a8-2c02b1508bd1'/>, <wsa:Reference Properties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties j bossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ] 17:37:35,922 INFO [ServiceInvoker] Delivering message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_u c/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbo ssesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:Re ferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProper ties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbos sesb: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://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferencePr operties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces .NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbo ssesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connect ion-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='1e6cf39c-8d58-4f10-92a8-2c02b1 508bd1'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, < wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]] to DLQ. 17:37:35,984 ERROR [JBossRemotingGatewayListener] JBoss Remoting Gateway failed to synchronously deliver message to target service [MyServic eCategory:MyWSProducerService]. org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory />, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-versi on : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/ >, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:Ref erenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/ esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.fact ory.initial : org.jnp.interfaces.NamingContextFactory/>, <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:Refe renceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID ='1e6cf39c-8d58-4f10-92a8-2c02b1508bd1'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowle dge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/es b/epr/type/jms/> > ] ]] to Service [MyServiceCategory:MyWSProducerService]. Check for errors. at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:356) at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:196) at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapt er.java:107) at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.deliverSync(UncomposedMessageDeliveryAdapter.java:86) at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invoke(JBossRemotingGatewayListener.java:316) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:795) at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:310) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) (then the client print the wrong message as in the picture. But the ESB print the result later, and connect to the server another time.------this is not the print message in ESB) 17:37:42,703 INFO [STDOUT] =========== Client Response: =================================== 17:37:42,703 INFO [STDOUT] Message Payload: 17:37:42,703 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.x mlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Heade r/><soapenv:Body><p346:ucReply xmlns:p346="http://www.uc.se/schemas/ucOrderReply/">.............................</p346:ucReply></soapenv:Body></soapenv:Envelope>] 17:37:42,750 INFO [STDOUT] Http Response: 17:37:42,750 INFO [STDOUT] Code: 200 17:37:42,750 INFO [STDOUT] Length: -1 17:37:42,750 INFO [STDOUT] Encoding: utf-8 17:37:42,750 INFO [STDOUT] Headers: 17:37:42,750 INFO [STDOUT] Content-Type: text/xml;charset=UTF-8 17:37:42,750 INFO [STDOUT] SOAPAction: http://www.uc.se/ws/ucOrders/individualReport 17:37:42,750 INFO [STDOUT] User-Agent: Jakarta Commons-HttpClient/3.0.1 17:37:42,750 INFO [STDOUT] Host: www.uc.se 17:37:42,750 INFO [STDOUT] Content-Length: 782 17:37:42,750 INFO [STDOUT] ================================================================ 17:37:42,781 INFO [STDOUT] =========== Server Request: ==================================== 17:37:42,781 INFO [STDOUT] Message Payload: 17:37:42,781 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucor="http://www.uc.se/sc hemas/ucOrderRequest/"> <soapenv:Header/> <soapenv:Body> <ucor:individualReport ucor:product="*****" ucor:version="*****"> <ucor:customer> <ucor:userId>*****</ucor:userId> <ucor:password>*****/ucor:password> </ucor:customer> <ucor:individualReportQuery ucor:xmlReply="true" ucor:htmlReply="true"> <ucor:object>*****</ucor:object> <ucor:template ucor:id="*****"> <ucor:templateParams> </ucor:templateParams> </ucor:template> </ucor:individualReportQuery> </ucor:individualReport> </soapenv:Body> </soapenv:Envelope>] 17:37:42,781 INFO [STDOUT] Headers: 17:37:42,781 INFO [STDOUT] host: localhost:8765 17:37:42,781 INFO [STDOUT] Method: POST 17:37:42,781 INFO [STDOUT] Path: / 17:37:42,781 INFO [STDOUT] user-agent: Jakarta Commons-HttpClient/3.0.1 17:37:42,781 INFO [STDOUT] content-type: null 17:37:42,781 INFO [STDOUT] ================================================================ 17:38:08,312 INFO [STDOUT] =========== Client Response: =================================== 17:38:08,312 INFO [STDOUT] Message Payload: 17:38:08,547 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.x mlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Heade r/><soapenv:Body><p346:ucReply xmlns:p346="http://www.uc.se/schemas/ucOrderReply/">................................</p346:ucReply></soapenv:Body></soapenv:Envelope>] 17:38:10,078 INFO [STDOUT] Http Response: 17:38:10,078 INFO [STDOUT] Code: 200 17:38:10,078 INFO [STDOUT] Length: -1 17:38:10,078 INFO [STDOUT] Encoding: utf-8 17:38:10,078 INFO [STDOUT] Headers: 17:38:10,078 INFO [STDOUT] Content-Type: text/xml;charset=UTF-8 17:38:10,078 INFO [STDOUT] SOAPAction: http://www.uc.se/ws/ucOrders/individualReport 17:38:10,078 INFO [STDOUT] User-Agent: Jakarta Commons-HttpClient/3.0.1 17:38:10,078 INFO [STDOUT] Host: www.uc.se 17:38:10,078 INFO [STDOUT] Cookie: $Version=0; AlteonP=3fe2823a3fe28230; $Path=/ 17:38:10,078 INFO [STDOUT] Content-Length: 782 17:38:10,078 INFO [STDOUT] ================================================================
here 17:37:15,781-17:36:55,766=20s
At fourth time, the client show the correct message, but the ESB print the request and response message twice.
17:47:13,438 INFO [STDOUT] =========== Server Request: ==================================== 17:47:13,438 INFO [STDOUT] Message Payload: 17:47:13,438 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucor="http://www.uc.se/sc hemas/ucOrderRequest/"> <soapenv:Header/> <soapenv:Body> <ucor:individualReport ucor:product="***" ucor:version="***"> <ucor:customer> <ucor:userId>***</ucor:userId> <ucor:password>***</ucor:password> </ucor:customer> <ucor:individualReportQuery ucor:xmlReply="true" ucor:htmlReply="true"> <ucor:object>***</ucor:object> <ucor:template ucor:id="***"> <ucor:templateParams> </ucor:templateParams> </ucor:template> </ucor:individualReportQuery> </ucor:individualReport> </soapenv:Body> </soapenv:Envelope>] 17:47:13,438 INFO [STDOUT] Headers: 17:47:13,438 INFO [STDOUT] host: localhost:8765 17:47:13,438 INFO [STDOUT] Method: POST 17:47:13,438 INFO [STDOUT] Path: / 17:47:13,438 INFO [STDOUT] user-agent: Jakarta Commons-HttpClient/3.0.1 17:47:13,438 INFO [STDOUT] content-type: null 17:47:13,438 INFO [STDOUT] ================================================================ 17:47:33,453 INFO [ServiceInvoker] Unresponsive EPR: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] for message: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProper ties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provide r.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbosses b:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection- factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : A UTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/j ms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.na ming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : ConnectionF actory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='83ec4301-9f0d-4366-882e-a4441d48ac25'/>, <wsa:Reference Properties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties j bossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ] 17:47:33,484 INFO [ServiceInvoker] Badly formed EPR [EPR: PortReference < <wsa:Address http://localhost:8765/> >] for Service [MyServiceCat egory:MyWSProducerService] and Message [header: [ To: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:Refere nceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.namin g.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferencePropertie s jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:co nnection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge -mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/e pr/type/jms/> > ] ReplyTo: JMSEpr [ PortReference < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbosses b:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFa ctory/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destinatio n-type : queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : Co nnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : jbossESBresponseUUID='83ec4301-9f0d-4366-882e-a4441d48ac25'/>, <wsa: ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferencePro perties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] ]].Courier for EPR not supp orted: ESB-unaware EPR used! 17:47:33,484 INFO [ServiceInvoker] Invalid EPR for service (probably ESB-unaware): ignoring for message: header: [ To: JMSEpr [ PortReferen ce < <wsa:Address jms://127.0.0.1:1099/queue/esb_uc/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.Na mingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.namin g.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:s pecification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb: persistent : true/>, <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://127 .0.0.1:1099/queue/esb_uc_reply/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbosses b:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <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 : jb ossESBresponseUUID='83ec4301-9f0d-4366-882e-a4441d48ac25'/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:t ype : urn:jboss/esb/epr/type/jms/> > ] ] 17:47:40,234 INFO [STDOUT] =========== Client Response: =================================== 17:47:40,234 INFO [STDOUT] Message Payload: 17:47:40,422 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.x mlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Heade r/><soapenv:Body><p346:ucReply xmlns:p346="http://www.uc.se/schemas/ucOrderReply/">...............................</p346:ucReply></soapenv:Body></soapenv:Envelope>] 17:47:41,234 INFO [STDOUT] Http Response: 17:47:41,234 INFO [STDOUT] Code: 200 17:47:41,234 INFO [STDOUT] Length: -1 17:47:41,234 INFO [STDOUT] Encoding: utf-8 17:47:41,234 INFO [STDOUT] Headers: 17:47:41,234 INFO [STDOUT] Content-Type: text/xml;charset=UTF-8 17:47:41,234 INFO [STDOUT] SOAPAction: http://www.uc.se/ws/ucOrders/individualReport 17:47:41,234 INFO [STDOUT] User-Agent: Jakarta Commons-HttpClient/3.0.1 17:47:41,234 INFO [STDOUT] Host: www.uc.se 17:47:41,234 INFO [STDOUT] Content-Length: 782 17:47:41,234 INFO [STDOUT] ================================================================ (Then the client print right message. But the ESB print the message another time.------this is not the print message in ESB) 17:47:41,266 INFO [STDOUT] =========== Server Request: ==================================== 17:47:41,266 INFO [STDOUT] Message Payload: 17:47:41,266 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucor="http://www.uc.se/sc hemas/ucOrderRequest/"> <soapenv:Header/> <soapenv:Body> <ucor:individualReport ucor:product="***" ucor:version="***"> <ucor:customer> <ucor:userId>***</ucor:userId> <ucor:password>***</ucor:password> </ucor:customer> <ucor:individualReportQuery ucor:xmlReply="true" ucor:htmlReply="true"> <ucor:object>***</ucor:object> <ucor:template ucor:id="***"> <ucor:templateParams> </ucor:templateParams> </ucor:template> </ucor:individualReportQuery> </ucor:individualReport> </soapenv:Body> </soapenv:Envelope>] 17:47:41,281 INFO [STDOUT] Headers: 17:47:41,281 INFO [STDOUT] host: localhost:8765 17:47:41,500 INFO [STDOUT] Method: POST 17:47:41,500 INFO [STDOUT] Path: / 17:47:41,500 INFO [STDOUT] user-agent: Jakarta Commons-HttpClient/3.0.1 17:47:41,500 INFO [STDOUT] content-type: null 17:47:41,500 INFO [STDOUT] ================================================================ 17:48:06,016 INFO [STDOUT] =========== Client Response: =================================== 17:48:06,016 INFO [STDOUT] Message Payload: 17:48:06,016 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.x mlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Heade r/><soapenv:Body><p346:ucReply xmlns:p346="http://www.uc.se/schemas/ucOrderReply/">.........................</p346:ucReply></soapenv:Body></soapenv:Envelope>] 17:48:07,188 INFO [STDOUT] Http Response: 17:48:07,188 INFO [STDOUT] Code: 200 17:48:07,188 INFO [STDOUT] Length: -1 17:48:07,188 INFO [STDOUT] Encoding: utf-8 17:48:07,188 INFO [STDOUT] Headers: 17:48:07,188 INFO [STDOUT] Content-Type: text/xml;charset=UTF-8 17:48:07,188 INFO [STDOUT] SOAPAction: http://www.uc.se/ws/ucOrders/individualReport 17:48:07,188 INFO [STDOUT] User-Agent: Jakarta Commons-HttpClient/3.0.1 17:48:07,188 INFO [STDOUT] Host: www.uc.se 17:48:07,188 INFO [STDOUT] Cookie: $Version=0; AlteonP=3fe2823a3fe2822f; $Path=/ 17:48:07,188 INFO [STDOUT] Content-Length: 782 17:48:07,188 INFO [STDOUT] =============================================================
here 17:47:33,453-17:47:13,438=20s
Could some one tell me why and how to solve it?
Thank you in advance.
/Sean