Hi Richard, I hope Frank doesn't mind if I point to a java class tutorial using web services with Java.
http://www.cppunit.org/article/Article/159.html Jack H. Xu Technology columnist and editor http://www.usanalyst.com Chief Architect and manager http://www.getusjobs.com (The largest free job portal in North America) ----- Original Message ----- From: "Richard Reyes" To: "Struts Users Mailing List" , [EMAIL PROTECTED] Subject: Re: [OT] Can a simple java app access web services Date: Fri, 15 Jul 2005 16:54:21 +0800 > > Hi Frank, > > Thanks for the info. I hope you wouldn't mind.. can you point me to a > tutorial of those classes that can make a simple class access a web > service? > > Thanks > Richard > > > On 7/15/05, Frank W. Zammetti wrote: > > Hi Richard, > > > > Axis is the server-side of the WS equation (although maybe it can > > perform some client duties, I'm not certain), so more than likely it > > wouldn't come into play anyway. > > > > The simple answer is yes, a simple Java app can access a web service. > > > > There are classes that will specifically help you do so, but you can > > also "fake it", at least if it is a SOAP-based service (I'm not as > > familiar with RCP-type services). For SOAP-based services, all you > > really need to do is construct an XML message and use the usual HTTP > > methods in the standard JDK to send it. > > > > You might be interested to look at my StrutsWS project because there is > > exactly what your asking for included: a simple Java app that accesses > > the services the example project provides (in short, StrutsWS is an > > extension to Struts that allows Actions to be exposed as services). You > > can find it at http://sourceforge.net/projects/strutsws/ > > > > Frank > > > > Richard Reyes wrote: > > > Hi Guys, > > > > > > Can a simple java app access a web service? Or do I need to install axis? > > > > > > Thanks > > > Richard > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > . > > > > > > > -- > > Frank W. Zammetti > > Founder and Chief Software Architect > > Omnytex Technologies > > http://www.omnytex.com > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Jack H. Xu Technology columnist and editor http://www.usanalyst.com http://www.getusjobs.com (The largest free job portal in North America) -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm