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 » Call WMB Webservices through Java

Post new topic  Reply to topic
 Call WMB Webservices through Java « View previous topic :: View next topic » 
Author Message
sheetal_kasture
PostPosted: Thu Jul 09, 2009 11:42 pm    Post subject: Call WMB Webservices through Java Reply with quote

Newbie

Joined: 09 Jul 2009
Posts: 9

Hi,

I am trying to develop a WMB Web service component that will be called directly through a Java code. Any pointers in this regards?

Thanks in advance.
Regards,
Sheetal
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Fri Jul 10, 2009 12:30 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Theres loads of approaches to this requirement, heres one....

Use the Apache Axis project to generate the Java code based on the WSDL

Other approaches equally valid
Back to top
View user's profile Send private message
sheetal_kasture
PostPosted: Fri Jul 10, 2009 12:36 am    Post subject: Reply with quote

Newbie

Joined: 09 Jul 2009
Posts: 9

I need to use the HttpInput and HttpReply nodes in WMB. Can I get a jave code snippet that calls the WMB component?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 10, 2009 2:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sheetal_kasture wrote:
I need to use the HttpInput and HttpReply nodes in WMB. Can I get a jave code snippet that calls the WMB component?


If you're using the HTTPInput node, then the Java will call it just like it would call any other Web Service; pretend that WMB is an app server and you get the idea. There's no difference that I'm aware of in the calling code.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sheetal_kasture
PostPosted: Fri Jul 10, 2009 2:45 am    Post subject: Reply with quote

Newbie

Joined: 09 Jul 2009
Posts: 9

Thanks for the reply, but would it be possible to receive a sample code snippet which would give a better idea?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 10, 2009 2:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sheetal_kasture wrote:
Thanks for the reply, but would it be possible to receive a sample code snippet which would give a better idea?


Mr Google offered me many example of Java code posting to an http port. I'll leave you with your greater Java experience to select the most appropriate one for your needs.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
santy
PostPosted: Fri Jul 10, 2009 3:19 am    Post subject: Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Sheetal, also try information center link about how to work with web services.

Thank god atleast there is someone who thinks out of IM dept. People are wasting there time in IM.
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 » Call WMB Webservices through Java
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.