Eran Chinthaka wrote:
Hi,

I could answer some of your questions. See below.

Steve Loughran wrote:


I am just starting out on using Axis2 (!)

Some questions for which I would be grateful for answers.

Configuration
========

-do I really need an aar with a service.xml for every single endpoint? What if I have >1 endpoint in my app?


We are introducing a new concept called service groups. In that case, yes you can group several services in to file and deploy. But I'm not sure whether that is finished or not yet.
So for the time being, you have to have one service.xml per endpoint.

That is what I suspected.


-Can I declare a service that takes any XML? I seem to have to list a finite set of operations?


if (usingDatabinding)
yes you can put any xml junk in side the body and let it be passed to the service impl.
else     you can pass an OMElement which can handle any xml junk in it.

ok.




-What about namespace mapping in an endpoint that handles

I am doing some awfully contrived things to declare multiple endpoints (like stub aars that contain nothing but META-INF/service.xml files), and dont know where to begin with

Building
=====

-Where is the ant tool? It isnt in axis-0.91.jar, as far as I can see


I can't understand what you mean here. Our build system is, at least for now, is only on maven. How about having comprehensive ant build scripts from the archilles of ant like you :).

I am perfectly happy for you to continue bulding with legacy maven1.0 tools, that is your choice and I respect it :) No, I am asking where the Ant tasks to generate stuff from the WSDL are? you know, the ones that are documented in the documentation ...




-Which maven2 repo is axis0.91 in?


Well this will be kept in your local repo. If you see an error saying "cannot download axis2xxx-0.91.jar " you are not using the latest version of maven-artifact plugin. Please use version 1.6 of maven-artifact. This is listed in Axis2 faq in the site.


ahh, you see we ant retro-grouches are using the maven2 library tool, the one that hits ibibio.org and cvs.apache.org, And in neither place is there an axis0.91. I know I could build one up myself and stick it in my local repository, but I am looking for one that is up on a public repository for all to get at. Otherwise I will have to stick my own copy with a mini .pom into our SCM repository.

Reply via email to