|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trying to use a web service from IIB V9.0.0.1 |
« View previous topic :: View next topic » |
Author |
Message
|
harristm |
Posted: Sun Jan 19, 2014 2:24 pm Post subject: Trying to use a web service from IIB V9.0.0.1 |
|
|
Apprentice
Joined: 02 Aug 2012 Posts: 29
|
I'm trying to connect to a web service from IIB V 9.0.0.1 running on Redhat Enterprise Linux 6.4.
The service has many deployed java clients, but I can't get the request to work right using Broker.
The web service is not compliant to the SOAP specification but does use a SOAP Envelope and is described with a WSDL.
I can connect to the web service using the eclipse Web Service Explorer submit a request and get the expected results.
I have built a flow that takes in a file that has the content of the request, adds basic authentication to the message and sends it to the http request node.
I trace the request with Wireshark and the request from Web Service Explorer and the IIB flow look the same.
The the http protocol is 1.1, the content types are text/xml., I've checked EOL characters, tabs in the request, I have run out of things to verify.
The response back from the web service is that the IIB based request does not match the required format for the web service.
Out of desperation, I'm thinking my next step is to implement a web service client in a java compute node.
I'm sorry I can't post all of the gory details but if anybody has any ideas, I would appreciate any help.
Best regards |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Jan 19, 2014 10:44 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
You may have to replace the SOAP node with an HTTP node if the target service does not obey the SOAP spec.
I had to do this recently. Despite a WSDL and everything the coding on the target system was so poor it would reject all calls originating from a SOAP node.
Using a HTTP node and manually creating the total message in ESQL worked. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mgk |
Posted: Mon Jan 20, 2014 2:26 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
One alternative would be to place the node in "gateway" mode where it can work without a WSDL. This should work as long as the messages are valid SOAP message.
Kind regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|