[prev in list] [next in list] [prev in thread] [next in thread]
List: wsas-java-dev
Subject: [Dev] Issue with ESB 4.8 and SoupUI
From: indika prasad <indika.pra () gmail ! com>
Date: 2013-12-28 9:47:04
Message-ID: 1388224024863-90206.post () n7 ! nabble ! com
[Download RAW message or body]
Hi,
I have a issue with below proxy and SoupUI.
Proxy
--------------------
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="souptest"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<payloadFactory media-type="json">
<format>{
"contentType":"linkedin-html",
"body":"update body"
}</format>
<args/>
</payloadFactory>
<property name="messageType" value="application/json"
scope="axis2"/>
<send>
<endpoint>
<address uri="http://localhost:8281/services/jsonService"
format="rest"/>
</endpoint>
</send>
</inSequence>
</target>
<description/>
</proxy>
--------------------
01. Using SoupUI with following request send the expected massage to the
given endpoint.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>
----soap request---------
<soapenv:Header/>
<soapenv:Body>
<a1>aaa</a1>
</soapenv:Body>
</soapenv:Envelope>
------------------------
----TCPMon out put-----
POST /services/jsonService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
SOAPAction:
Transfer-Encoding: chunked
Host: 127.0.0.1:8281
Connection: Keep-Alive
User-Agent: Synapse-PT-HttpComponents-NIO
47
{
"contentType":"linkedin-html",
"body":"update body"
}
0
------------------------
02. Using SoapUI with following request send the strange massage to the
endpoint. Where the payload has replaced by the second element of the soup
request!
------soup request--------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>
<soapenv:Header/>
<soapenv:Body>
<a1>aaa</a1>
<b1>bbb</b1>
</soapenv:Body>
</soapenv:Envelope>
-----------------------
----TCPMon out put-----
POST /services/jsonService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
SOAPAction:
Transfer-Encoding: chunked
Host: 127.0.0.1:8281
Connection: Keep-Alive
User-Agent: Synapse-PT-HttpComponents-NIO
c
{"b1":"bbb"}
0
------------------------
Thanks
Indika
--
View this message in context: \
http://wso2-oxygen-tank.10903.n7.nabble.com/Issue-with-ESB-4-8-and-SoupUI-tp90206.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic