• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO Tools for Consuming WebServices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO Tools for Consuming WebServices


  • Subject: Re: WO Tools for Consuming WebServices
  • From: Dov Rosenberg <email@hidden>
  • Date: Tue, 08 Aug 2006 09:52:13 -0400
  • Thread-topic: WO Tools for Consuming WebServices

Title: Re: WO Tools for Consuming WebServices
If you generate the client stubs for the WSDL using the Apache Axis tools (you can do that in an ANT script) it is very easy to consume webservices.

For example – to use a web service that provides an authenticate method in the WSDL do the following:

                    // URL To web services
                    url = "" URL(urlDomain + "/imws/services/SecurityServices");                    

                    // SecurityServicesSoapBindingStub is a generated client stub using the WSDL2Java                    security = new SecurityServicesSoapBindingStub(url, null);


                    // execute the method from the web service that you want                    result = security.authenticate(inputXml);

Steps:
  1. Generate java client bindings using WSDL2Java
  2. Put the generated code in your classpath
  3. write code like above
  4. Done

HTH

Dov Rosenberg


On 8/8/06 9:29 AM, "Jason Stratton" <email@hidden> wrote:

All,

 

WO has tools for creating web service applications and direct to web service applications, but are there any WO tools (outside of the Java community tools like JAX-WS)  for consuming a web service? Thanks.

 

Jason


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


--
Dov Rosenberg
Inquira Inc
370 Centerpointe Circle, ste 1178
Altamonte Springs, FL 32701
(407) 339-1177 x 102
(407) 339-6704 (fax)
email@hidden
AOL IM: dovrosenberg

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >WO Tools for Consuming WebServices (From: Jason Stratton <email@hidden>)

  • Prev by Date: WO Tools for Consuming WebServices
  • Next by Date: Purchasing Apple logo merchandise
  • Previous by thread: WO Tools for Consuming WebServices
  • Next by thread: Purchasing Apple logo merchandise
  • Index(es):
    • Date
    • Thread