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 » Publishing a message flow as a Web Service

Post new topic  Reply to topic
 Publishing a message flow as a Web Service « View previous topic :: View next topic » 
Author Message
tonythomasantony
PostPosted: Thu Aug 09, 2007 5:31 am    Post subject: Publishing a message flow as a Web Service Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Hi ,
i have created WSDL file from my message category.Created the Client in my toolkit also.
But the real aim is to distribute into the production environment.
I know using this WSDL no one can create the stubs.

How can i use this WSDL to create the stub for the outside world?

How can i deploy my WS in webserver?

What i need to do for viewing this WSDL by giving the URL in web browsers as normal deployed WSDLs?

or only Broker to broker Webservice invocation is possible by "Publishing a message flow as a Web Service" ?

This concept is very confusing.
Pls post ur suggestions..

regards,
tony
Back to top
View user's profile Send private message
tosaurav
PostPosted: Thu Aug 09, 2007 11:56 am    Post subject: Reply with quote

Acolyte

Joined: 16 Jan 2007
Posts: 62

See RAD help content to generate stubs and deployment
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 09, 2007 12:04 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can create a message flow to PROVIDE a webservice, or to CONSUME a webservice.

You create a message flow to PROVIDE a webservice by starting the flow off with an HTTPInput node.

You create a message flow to CONSUME a webservice by including an HTTPRequest node.

You can use the SOAP Extract Support Pack and version 6.0.2.1 of the WMBT (you need *both*) to allow you to *easily* do these things from a WSDL.

With that combination of software, you can create a new and empty message flow, and drag and drop a WSDL onto the flow area. You will then get a Wizard that will help you build a flow.

Then to DEPLOY this...

You DEPLOY it like any other Message Broker Solution. By putting it in a BAR file and then deploying that to an Execution Group.

Then if you have created a flow to PROVIDE a webservice, it will be available through the HTTP Listener port of the Broker, at the URL that is configured on the HTTPInput Node.

Stop thinking about stubs and clients. Start thinking about Message Broker.

There is not, however, an easy way to make the WSDL available by HTTP. Not in Broker. It's easy to do otherwise, though, with any other web server.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tonythomasantony
PostPosted: Fri Aug 10, 2007 2:31 am    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Jeff,
it means that i cant give my WSDL(generated from mesaage categories) to a third person(MB unaware) to create WS clients?


So what is the real meaning of Publishing the Flow as Webservice?

Ple give me a live scenario of this Concept.

regards,
Tony
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 10, 2007 3:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can give your WSDL to a third person, MB unaware, to create WS clients.

Just not by deploying the WSDL to Broker in any way. Unless you write a flow who's job it is to produce WSDLs from requests.

Broker is not a general purpose HTTP Server or other kind of file server.

A WSDL is just an XML file. That is... it's just a file. You can do anything you want to share it with other people.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tonythomasantony
PostPosted: Thu Aug 16, 2007 4:18 am    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Hi All
my problem got solved ..I have used IE01 support pac to create the clients from the third party machine (.NET or Java )..
Only thing is the SOAP Address created inside WSDL from message sets should be changed to 8080 port before creating the client ie
from http://localhost:7080/IE01/any to http://localhost:8080/IE01/any

because IE01.war deployed ijn Tomcat server.

Thanks Jeff for your valuable inputs ..Thanks to every one..

regards,
Tony
Back to top
View user's profile Send private message
er_pankajgupta84
PostPosted: Wed Jul 22, 2009 9:51 am    Post subject: Reply with quote

Master

Joined: 14 Nov 2008
Posts: 203
Location: charlotte,NC, USA

Jeff,

Can you please throw some light on the alternative to get WSDL using IE. You said we can create a flow to display wsdl. Can you put some more details on it.

Thanks,
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
ovasquez
PostPosted: Wed Jul 22, 2009 12:24 pm    Post subject: Reply with quote

Centurion

Joined: 09 Dec 2005
Posts: 141
Location: Lima, Peru

er_pankajgupta84 wrote:
Jeff,

Can you please throw some light on the alternative to get WSDL using IE. You said we can create a flow to display wsdl. Can you put some more details on it.

Thanks,

Woud you like view WSDL when you :
http://server1/services?wsdl

Create a Flow:
HTTPInput--->JavaCompute--->HttpReply
In Java Compute you review HTTPInputHeader.X-Query-String and search for ?, so you read service.wsdl from server file and display.
_________________
Oscar Vásquez Flores
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Publishing a message flow as a Web Service
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.