Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

complete SOAP demo Project

 
Jaffery Rab
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am a new to SOAP, but went through some basic SOAP tutorial and concept. Now I need to have complete and easy SOAP Project including all coding and environment setting so I could just run it and see how it works.
Could anybody tell me how can I get this resource.
Cheers,
Irfan Jaffery
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you looking for an "assignment" or an out-of-the-box type of resource which you can just unpack somewhere?
I am not aware of any out-of-the-box environment but the assignment shouldn't be too difficult to come up with. For example, you could build an aggregator of some sort. That would give you some hands-on experience of both service and client side ws-coding.
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would just download Apache Axis and work with their samples.
 
Philip Shanks
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some extremely stripped down samples in the jwsdp-1.1 download. They are ready to run in the bundled Apache Tomcat instance. Just do the standard install, and you are ready to run, examine and begin reverse engineering!
 
Ramesh Nagappan
Author
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Philip Shanks:
There are some extremely stripped down samples in the jwsdp-1.1 download. They are ready to run in the bundled Apache Tomcat instance. Just do the standard install, and you are ready to run, examine and begin reverse engineering!

In addition, if you are looking for a J2EE Application server with a JWSDP environment, you may think of using SunONE Application server 7.0. It comes with full-featured Web services examples.
This allows to expose your J2EE components as Web services using JAX-RPC and SAAJ APIs.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a serious out of the box solution, look at GLUE from TheMindElectric.com. It takes about two lines to publish any Java class as a SOAP service, and about two lines to consume one. There is a free version and supported versions.
You learn almost nothing about SOAP with this approach, but as far as I'm concerned, that is just fine!
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if the Mind Electric guys have improved their Glue product much since I looked at it a few months ago, but I gound it had real problems communicating with web services from other vendors. I moved to Axis and have found that seesm to do what I need these days.
 
Ramesh Nagappan
Author
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Frank Carver:
I don't know if the Mind Electric guys have improved their Glue product much since I looked at it a few months ago, but I gound it had real problems communicating with web services from other vendors. I moved to Axis and have found that seesm to do what I need these days.


Adding to your point, If you want to ensure your Web services INTEROPERABLE with other SOAP implementations, you may confirm to SOAP Interoperability tests (refer to URL http://soapinterop.java.sun.com). If you are thinking about your Java Web services applications, portable across application servers (J2EE 1.4 and above), then consider using Sun JWSDP environment (http://java.sun.com/webservices/). Take a look at the tutorial :
http://developer.java.sun.com/developer/technicalArticles/WebServices/WSPack2/
 
Ram Kumar Subramaniam
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The download of axis and configuring of the examples with tomcat should be pretty easy.
Easier still, if u just want to see a webservice work is to install one of the latest IDE's(i've tried JDeveloper and WSAD) and use their wizard to create a webserice, deploy them(in their server attached), create a client(again using their wizards), and run them. -- Everything is quite straight forward and made to appear sooooo easy convincing u to immeadiately jump into webservices.......... But beware these guys make u dumber and u would'nt know any concepts as it literally does everything for you. I guess using those tools is for development acceleration and not for learning.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic