ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How can I call Web Services?

Post new topic  Reply to topic
 How can I call Web Services? « View previous topic :: View next topic » 
Author Message
JYama
PostPosted: Wed Mar 02, 2005 12:08 am    Post subject: How can I call Web Services? Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Hi all,

I'm trying to call a Web Service from WBI Message Broker v5.

Now I've got a WSDL file from a service provider, but I have no idea how I can implment a message flow which enables to invoke an external web services.
How can I build a message set to call a Web Service?

On WAS, I know we can easily build interfaces for Web Services by GUI(Administrator console) once we've got WSDL files, but I'm not sure WBIMB toolkit has similar user interface.

Is there anybody who is familar with this issue?
(I checked IA81 support pack but I'm still not sure about a way to call external web services.)



Many thanks in advance,
JY
Back to top
View user's profile Send private message
EKhalil
PostPosted: Wed Mar 02, 2005 5:18 am    Post subject: Reply with quote

Voyager

Joined: 29 Apr 2003
Posts: 99
Location: Boston, MA

There is a very detailed description in the WBIMB Application Programming manual on how to invoke WS from within the WBIMB. (offers examples of messages, etc) Check out other manuals as they offer help on building message sets. (personally I would import a DTD)Download them all and have them handy
Also check out write ups on each of the http nodes (understand their use:) I found the manuals extremely helpful
Back to top
View user's profile Send private message Send e-mail
JYama
PostPosted: Wed Mar 02, 2005 6:02 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Thank you very much for useful and helpful information.
I'm checking the document now...

Anyway, my question is how we can use WSDL files when we build a message flow as a service requester.
Does WBIMB Toolkit read and understand WSDL files provided by the others?

In my understanding so far, we have to be familiar with the structure of the WSDL when we build a message flow as a service requester(not provider), right?

In other words, when we build a message flow as a requester, Message Broker Toolkit does nothing and the only one we can do with a WSDL file provided by a service provider is to manually read it and code ESQL by ourselves. (The toolkit doesn't read and understand such WSDL files provided by the others.)

Also I'm sure that building a message flow as a service 'provider' is much easier because its WSDL is automatically created by the toolkit and it doesn't require to write WSDL manually.

Cheers,
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 03, 2005 5:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay.

Let's take a step back, and look at what WebServices really are.

WebServices are just HTTP Requests and Replies (unless you're using a different transport than HTTP).

So you "invoke" a WebService by making an HTTP Request, and you get back an HTTP Reply.

What makes it a "Web Service" instead of a simple HTTP Request/Reply is that ... the DATA in the Request and in the Reply is XML.

The XML data is described by the, get this, Web Services Description Language document.

In WBIMB, data is described using Message Sets (or treated as self-defining). The process is described using Message Flows.

In order to get back the right information that you actually want, you have to understand the XML structure as defined by the WSDL, and you have to CREATE the right XML document (that matches the WSDL) so that it SPECIFIES the right thing.

IN other words, in *any* environment, you have to know the WSDL in order to know what information to put in and how.

In WBIMB, you should be able to create a Message Set from the WSDL, and use the Mapping Node to populate fields in a message of the right message type WITHOUT writing ESQL.

But you still have to know what to put into the XML document.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
K_A
PostPosted: Thu Mar 03, 2005 7:03 am    Post subject: A support pac can help? Reply with quote

Apprentice

Joined: 10 Nov 2004
Posts: 32

There is a supporrt pac around this : IA81.

It contains both the theory and a bunch of code examples.
Back to top
View user's profile Send private message
JYama
PostPosted: Thu Mar 03, 2005 9:22 pm    Post subject: Summary Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Hi all,

Thank you very much for your supports, all.

Let me summarize the issue.

To build a message flow as a service requester, we need
1. (at least) a WSDL file provided by the web service provider,
2. to manually build a meesage set by ourselves by reading and understanding the WSDL file because there's no way to automatically build the message set from the WSDL file with the WBIMB Toolkit,
3. to build HTTP Request massage (based on the message set) on a mapping node,
4. to send the request message through a HTTPRequest Node to invoke the service.


If there're any misunderstandings, I would appreciate if you could point it out.


Cheers,
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 04, 2005 5:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If the Web Service is defined in a UDDI, there appears to be a Wizard for Importing a Web Service.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
nmaddisetti
PostPosted: Thu Mar 17, 2005 10:44 am    Post subject: Reply with quote

Centurion

Joined: 06 Oct 2004
Posts: 145

Hi
I am not clear that
should i create message set manually or using WSDL file
Thanks
Maddisetti
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How can I call Web Services?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.