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 PROTECTED]> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/drosenberg%40inquira.com

This email sent to [EMAIL PROTECTED]


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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to