jdudleyh
12 years agoNew Contributor
JMS
Greetings,
I have a JMS (TIBCO EMS) queue that I'm trying to send data to from SoapUI. I have a working Hermes connection and can successfully upload a file via Hermes to the JMS queue (which the app picks up and writes to the database). The XML data file that I'm sending via Hermes looks something like the following:
Now I just need to hook this into SoapUI. I followed the tutorial and have a nice test case with a SOAP Request step using my jms:// endpoint (with the queue name in it).
Unfortunately the demo results in a "login" operation from "SampleServiceSoapBinding".
I tried going to the XML tab on the request and replacing the soap envelope with my XML data, but that didn't seem to do the trick when I submitting the request. I did get the message in the soapUI log:
Tue Aug 06 17:21:34 EDT 2013:INFO:Got response for [SampleServiceSoapBinding.login:Test Request] in 191ms (0 bytes)
I'm not trying to do SOAP over JMS. Just JMS like I did with Hermes. Is this possible?
I have a JMS (TIBCO EMS) queue that I'm trying to send data to from SoapUI. I have a working Hermes connection and can successfully upload a file via Hermes to the JMS queue (which the app picks up and writes to the database). The XML data file that I'm sending via Hermes looks something like the following:
<?xml version = "1.0" encoding = "UTF-8"?>
<DataPackage xmlns = "http://www.company.com/services/Init">
<Element1>blah</Element1>
<Element2>foo</Element2>
<Element3>yada</Element3>
<SendTime>2014-10-16T23:47:26Z</SendTime>
<Etc>more data</Etc>
</DataPackage>
Now I just need to hook this into SoapUI. I followed the tutorial and have a nice test case with a SOAP Request step using my jms:// endpoint (with the queue name in it).
Unfortunately the demo results in a "login" operation from "SampleServiceSoapBinding".
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.example.org/sample/">
<soapenv:Header/>
<soapenv:Body>
<sam:login>
<username>?</username>
<password>?</password>
</sam:login>
</soapenv:Body>
</soapenv:Envelope>
I tried going to the XML tab on the request and replacing the soap envelope with my XML data, but that didn't seem to do the trick when I submitting the request. I did get the message in the soapUI log:
Tue Aug 06 17:21:34 EDT 2013:INFO:Got response for [SampleServiceSoapBinding.login:Test Request] in 191ms (0 bytes)
I'm not trying to do SOAP over JMS. Just JMS like I did with Hermes. Is this possible?
Rao, Richie, thank you!
Hi venkireddy1991 , I found a couple of threads you might want to check out:
https://community.smartbear.com/t5/SoapUI-Pro/compare-a-response-with-a-json-file/m-p/168926