Author |
Message
|
sheetal_kasture |
Posted: Thu Jul 09, 2009 11:42 pm Post subject: Call WMB Webservices through Java |
|
|
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 |
|
 |
WMBDEV1 |
Posted: Fri Jul 10, 2009 12:30 am Post subject: |
|
|
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 |
|
 |
sheetal_kasture |
Posted: Fri Jul 10, 2009 12:36 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jul 10, 2009 2:43 am Post subject: |
|
|
 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 |
|
 |
sheetal_kasture |
Posted: Fri Jul 10, 2009 2:45 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jul 10, 2009 2:46 am Post subject: |
|
|
 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 |
|
 |
santy |
Posted: Fri Jul 10, 2009 3:19 am Post subject: |
|
|
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 |
|
 |
|