Hello,

I have build up very easily with the wso2 esb (thanks for that good graphical user interface for build the mediations!), but I am running into problems with ws-adressing enabled.
Following scenario:
client <-> esb <->tomcat

The client does not get the answer in the callbackhandler although the message is delivered from synapse to the client. I have used tcpmon to investigate the messages and I think the response from synapse to the client is not like the client it expects. Only an assumption! In my eyes, Synapse should not inject a new message-id... Please have a look at these files and the synapse config for the proxy if anything is wrong...

Thanks,
Jens
==============
Listen Port: 8002
Target Host: 127.0.0.1
Target Port: 8180
==== Request ====
POST http://localhost:8002/esbQueueService/services/QueueService HTTP/1.1
Host: 127.0.0.1:8002
Proxy-Connection: Keep-Alive
SOAPAction: urn:queueOperation1
Content-Type: text/xml; charset=UTF-8
Transfer-Encoding: chunked
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

23f
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <soapenv:Header>
         <wsa:To>http://localhost:8002/esbQueueService/services/QueueService</wsa:To>
         <wsa:MessageID>urn:uuid:B914C0B6FFF134DAD21095318257655744388730</wsa:MessageID>
         <wsa:Action>urn:queueOperation1</wsa:Action>
      </soapenv:Header>
      <soapenv:Body>
         <ns1:fromClientRequest xmlns:ns1="http://de/ibm/com/xsd/queue";>
            <ns1:reqEl> World, hello to you!</ns1:reqEl>
         </ns1:fromClientRequest>
      </soapenv:Body>
   </soapenv:Envelope>0
==== Response ====
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 05 Feb 2008 10:03:34 GMT

23b
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <soapenv:Header>
         <wsa:Action>http://de/ibm/com/wsdl/queue/service/QueueServicePortType/queueOperation1Response</wsa:Action>
         <wsa:RelatesTo>urn:uuid:B914C0B6FFF134DAD21095318257655744388730</wsa:RelatesTo>
      </soapenv:Header>
      <soapenv:Body>
         <ns1:fromQueueResponse xmlns:ns1="http://de/ibm/com/xsd/queue";>
            <ns1:respEl>from ibm World, hello to you!</ns1:respEl>
         </ns1:fromQueueResponse>
      </soapenv:Body>
   </soapenv:Envelope>0

==============
<syn:proxy name="ESBQueueServiceProxy" transports="http" startOnLoad="true" statistics="enable" trace="enable">
        <syn:target>
            <syn:endpoint>
                <syn:address uri="http://localhost:8002/esbQueueService/services/QueueService";>
                    <syn:enableAddressing/>
                </syn:address>
            </syn:endpoint>
            <syn:outSequence>
                <syn:send/>
            </syn:outSequence>
        </syn:target>
        <syn:publishWSDL uri="file:repository/conf/sample/resources/proxy/QueueService.wsdl"/>
    </syn:proxy>
==============
Listen Port: 8001
Target Host: 127.0.0.1
Target Port: 8280
==== Request ====
POST http://localhost:8280/soap/ESBQueueServiceProxy HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: "urn:queueOperation1"
User-Agent: Axis2
Host: 127.0.0.1:8001
Proxy-Connection: Keep-Alive
Transfer-Encoding: chunked

29c
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <soapenv:Header>
         <wsa:To>http://localhost:8280/soap/ESBQueueServiceProxy</wsa:To>
         <wsa:ReplyTo>
            <wsa:Address>http://192.168.88.1:8200/axis2/services/QueueService29384701</wsa:Address>
         </wsa:ReplyTo>
         <wsa:MessageID>urn:uuid:DC53E160BE8C75252F1202205810337</wsa:MessageID>
         <wsa:Action>urn:queueOperation1</wsa:Action>
      </soapenv:Header>
      <soapenv:Body>
         <ns1:fromClientRequest xmlns:ns1="http://de/ibm/com/xsd/queue";>
            <ns1:reqEl> World, hello to you!</ns1:reqEl>
         </ns1:fromClientRequest>
      </soapenv:Body>
   </soapenv:Envelope>0==== Response ====
HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Tue, 05 Feb 2008 10:03:34 GMT
Server: Synapse-HttpComponents-NIO
Transfer-Encoding: chunked

284
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <soapenv:Header>
         <wsa:MessageID>urn:uuid:B914C0B6FFF134DAD2109536745656242024047242</wsa:MessageID>
         <wsa:Action>http://de/ibm/com/wsdl/queue/service/QueueServicePortType/queueOperation1Response</wsa:Action>
         <wsa:RelatesTo>urn:uuid:DC53E160BE8C75252F1202205810337</wsa:RelatesTo>
      </soapenv:Header>
      <soapenv:Body>
         <ns1:fromQueueResponse xmlns:ns1="http://de/ibm/com/xsd/queue";>
            <ns1:respEl>from ibm World, hello to you!</ns1:respEl>
         </ns1:fromQueueResponse>
      </soapenv:Body>
   </soapenv:Envelope>0
==============
_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to