Sep 28th, 2006, 12:07 PM
Is axis the best solution to expose WebService's in project based on SPRINGframework?
I am new to SPRING. But i need to work on a project based on SPRING and my job is to expose some of its funcitionality using WS.
Example By using this WS , some one could add some user groups and permissions.
And can u please suggest me, if AXIS-SPRING provides the best solution for this kind of stuff.
Can u please guide me to appropriate Websites or documents, which could be usefull to me.
Do take few minutes to reply.
Oct 1st, 2006, 08:07 PM
I'd say the first thing to decide is if you want to follow a contract-first or code-first approach. The Spring-WS website (there's a link to it on the main Spring page under Sub-Projects) has links to several pages to help you understand this.
If you decide to follow a contract-first approach (which is what Spring-WS advocates), then I'd say Spring-WS makes a lot of sense since it obviously integrates very naturally with the Spring container.
Oct 3rd, 2006, 03:40 AM
I have to make a framework where i can expose some of the functionality of my project (based on SPRING frame work and java). So for that i need to know if SPRING-AXIS is the best solution.
And about contract-first or code first , i really dont know , but some minimal code to expose the functionality would be good.
Can u please guide me through this situation. Whats the best solution and how should i approach it?
Oct 3rd, 2006, 06:35 AM
Hi. I would suggest reading the Spring Web Service documentation and then trying out the latest "echo" sample, to get started.
I personally think that Spring Web Service is the way to go (as opposed to Axis). It's a much simpler, cleaner model, with fewer moving parts, and we are having good success with it on an industrial-strength app.
As for contract-first or not, I don't think that influences most peoples' decisions much, since you end up in the same place at the end, i.e. either way, you eventually have to write the wsdl/xsd "contract". Personally, I like the "contract-first" approach, but I would use Spring Web Service over Spring Axis regardless of which approach I took.
Oct 4th, 2006, 01:32 PM
Also check out XFire, it has some nice binding with Spring and I was able to create an example app very quickly.
Oct 5th, 2006, 09:26 AM
Is Spring Web Service JDK1.4 compatiable? Thanks.
Oct 6th, 2006, 05:55 AM
Yes it it.
Originally Posted by wuj98