• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Using SOAP with J2EE Application

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can somebody help me out with this pleaseeeeeeeeeeeeee...

I want to create a sample program to know how Java interacts with SOAP web service.
How Application Server can communicate with the Web Service and how things work.

How does a client send messages to SOAP web service and how is the response received in J2EE environment (App Server)?

Please explain me along with the envt which i have to install. A sample program to add 2 numbers would do...


pleaseeeeeeeeeee help me out

Thanks in advance


 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Please explain me along with the envt which i have to install. A sample program to add 2 numbers would do.


That example is probably part of every single SOAP stack's tutorial/user guide. (I know it is for Axis2.) So you could just download Axis2 and work through its user guide; all sample code you need are part of the Axis2 distribution.

It really goes beyond what a forum like this can do, to ask for complete step-by-step instructions when those are so readily available for all major SOAP implementations.
 
Jyothi Lalitha
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i have installed J2EE 1.4 SDK App server and created an interface and implemting class as explained here http://java.sun.com/developer/technicalArticles/J2EE/j2ee_ws/

I followed all the steps till step 5 (Packaging and Deploying the Service) .

I was unable open the link http://localhost:8080/math-service/math. Its giving file not found 404 error.

No idea about the error. can anyone help me.
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you expect at that URL? The addresses both of the WSDL and of the actual service are different (as mentioned in that article).
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Here http://netbeans.org/kb/docs/websvc/jax-ws.html you have a complete tutorial, including a web service and, among other things, two different JavaEE clients.
If you download NetBeans, then you'll get everything; development environment, application server (GlassFish) with a web service stack built in. Absolutely no need to think!
Best wishes!

P.S. I assume you use J2EE in a way that does not imply that you have to use a Java version earlier than 5.
    Bookmark Topic Watch Topic
  • New Topic