|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to Invoke WebService from MB |
« View previous topic :: View next topic » |
Author |
Message
|
nmaddisetti |
Posted: Thu Mar 17, 2005 8:30 am Post subject: How to Invoke WebService from MB |
|
|
Centurion
Joined: 06 Oct 2004 Posts: 145
|
Hi all,
I want to invoke WebService
it includes request and responce
in request i will send some data to webservice
in responce i am expecting Success or Failure
iam new to this one
so some one plz guide me in this regard
so far i came to know that
we need a message set
how should i create that one?
using WSDL file of WebService to be invoked
( i created xsd from WSDL and then i created message set
but iam not getting anything from that message set)
or
Manually(if Manually what are the fileds should i give)
Thanks
Maddisetti |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 17, 2005 8:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 17, 2005 10:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
To create a Request for the WebService, you need to construct a message that is described by the WSDL that the WebService uses. Then you pass this message to the HTTPRequest Node.
The HTTPReply node will then receive the reply message from the web service. The data in the reply message will also be described by the WSDL.
You have two choices for how to create and understand these two different messages. Since the messages are XML, you can use the XMLNS domain to parse them without modelling. Or you can decide to model them, and create a Message Description file for both the Request message and the Reply message.
It appears, and I don't know this for sure, that you can not directly create a Message Set from a WSDL file. It may only be possible to look up the WSDL from a UDDI, and import it that way.
Or it could be that the Create Message Definition File from XML File wizard understands WSDL.
In either case - either you decide to process the data using XMLNS or to model it using MRM, you need to know what the data IN the Request message and in the Reply message is, and write your code to populate and use it. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JLRowe |
Posted: Thu Mar 17, 2005 2:48 pm Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
You need please read manual thank you. |
|
Back to top |
|
 |
nmaddisetti |
Posted: Sat Mar 19, 2005 9:14 am Post subject: |
|
|
Centurion
Joined: 06 Oct 2004 Posts: 145
|
Hi master
thanks
i created message set
and my flow is sending request and getting responce form webservice
thanks
Maddisetti |
|
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
|
|
|
|