Thanks, Tomek. But this all looks a little bit advanced for me at the
moment...
Say I want to take the first newbie steps and code and deploy a "Hello
World" web service.
I don't think I'll need XFire or an IDE to do that, will I?
Do I need an applications server -- or will Apache + Tomcat be OK?
Thanks
Bruce
> Hi,
> You need 2 things:
[quoted text clipped - 35 lines]
> > Thanks
> > Bruce
William Markito - 04 Jul 2006 14:23 GMT
Hi Bruce!
The easiest way to do a webservice in java (my opinion) is using
Axis. Go read a little bit about it 'cause it's pretty easy.
Basically, you will install and deploy Axis as a webapp in your
container (Tomcat for eg) and then you will create your simple java
program that you'd like to use as a webservice. After this, just put
this .java file inside a specific folder under Axis webapp structure
and you will be able to access the wsdl for this webservice from a url.
It's very simple, try search and read about Axis and you'll find out.
Regards
> Thanks, Tomek. But this all looks a little bit advanced for me at the
> moment...
[quoted text clipped - 46 lines]
> > > Thanks
> > > Bruce
Tomek - 04 Jul 2006 15:09 GMT
William Markito napisal(a):
> Hi Bruce!
> The easiest way to do a webservice in java (my opinion) is using
[quoted text clipped - 5 lines]
> and you will be able to access the wsdl for this webservice from a url.
> It's very simple, try search and read about Axis and you'll find out.
As i remeber you should also add .jws extention to java class. But you
can create service in such way only for fun or to check if your axis is
running, personaly don't know anyony who is using it.
ps.
And belive me, axis isn't the easiest way to do webservices :) Since i
started using XFire on my project, i never run axis again.
> > Thanks, Tomek. But this all looks a little bit advanced for me at the
> > moment...
[quoted text clipped - 46 lines]
> > > > Thanks
> > > > Bruce
William Markito - 04 Jul 2006 20:40 GMT
Great! I never heard about xfire... I'll also take a look too!
Thanks for the tips Tomek! ;)
> William Markito napisal(a):
> > Hi Bruce!
[quoted text clipped - 64 lines]
> > > > > Thanks
> > > > > Bruce
Tomek - 04 Jul 2006 15:01 GMT
Hmm, you need some webservice engine to run webservice, for sure :).
And ofcourse you don't need any IDE, but creating project and its
classes without any IDE can be a little painful.
Tomcat is enough.
Try to download xfire distribution and take a look at book example,
this one of the simplest webservice sample ( java service + interface,
object returnd by service, client class and 1 config file).
( Sorry i'm writing only about xfire example, but i stoped using axis
long time ago )
bruce_phipps@my-deja.com napisal(a):
> Thanks, Tomek. But this all looks a little bit advanced for me at the
> moment...
[quoted text clipped - 46 lines]
> > > Thanks
> > > Bruce