On 6/10/2010 8:17 PM, robert lazarski wrote:
On Thu, Jun 10, 2010 at 3:03 PM, Philippe Frangioni<[email protected]> wrote:
Hi all,
As part of my current project, I need to expose a Spring Bean as a Web
Service. (I'm new to Web Services.) We're using Axis2 1.5.1.
The project is built with maven2 and produces a war. We want the Web Service
to be part of the Webapp (we do not want to deploy the Axis2 webapp and use
an aar).
I've read the POJO Guide here:
http://ws.apache.org/axis2/1_5_1/pojoguide.html
and the Spring Guide here:
http://ws.apache.org/axis2/1_5_1/spring.html
This page:
http://wso2.org/library/90
also helped me on how to embed an Axis2 Web Service in our webapp.
Good news is that I got something working. But it's not fully working and
there are still a few things not clear to me:
First, I haven't written a WSDL file. Only a services.xml. But when I reach
the URL:
http://domain/services/myService?wsdl
...I do get a WSDL. So I guess it's generated by Axis2 based on the
services.xml and on the bean itself. My first question is: is it a good way
to go? Or should I write a WSDL?
IMHO you don't need your own wsdl.
indeed, the Deployer is responsible for setting up a wsdl, so you do not
have to
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]