On 11/19/06, ying lcs <[EMAIL PROTECTED]> wrote:
Hi,
I am new to web service. Can you please tell me how can I use xfire to
an existing webapp?
The examples I found are mainly teach you to build a webapp and
exposing some POJO java class as webservice.

But what if I already have a webapp and yet I want to expose some POJO
java class there as webservice?


You do that in the same way as examples show. You must add entry with
xfire servlet to your web.xml file and create service.xml file, which
points to classes you want to expose.
Probably you can just copy these parts from examples apps ( e.g. book
example )  and just change names of classes you are exposing.

Then copy xfire jar and everything should work fine.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to