Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes SOAP and J2SE? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP and J2SE?" Watch "SOAP and J2SE?" New topic
Author

SOAP and J2SE?

Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Hi guys,
I am currently building an application which produces files in XML format. I was hoping to allow the user to transmit and receive these files using SOAP to and from my webservice. The problem is: I don't have J2EE. Do I need to have this product? I have built everything else and this is the only functionality I would need from J2EE...
Any help is much appreciated.
Cheers,
Steve
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Steve Wood:
Hi guys,
I was hoping to allow the user to transmit and receive these files using SOAP to and from my webservice.
Any help is much appreciated.
Cheers,
Steve

You don't need A J2EE Server for transmitting your XML files using SOAP provided you have not used EJB for generating XML. All you need is a servlet container like TOMCAT or Resin or Jrun etc., with SOAP implementation likes AXIS,both Tomcat &Axis is free. Tomcat can be easily integrated with Apache or IIS.
Its something like:
Apache + Tomcat with Axis
IIS + Tomcat with Axis
Click AXIS and Tomcatfor more info


Spritle Software Blogs
Steve Wood
Ranch Hand

Joined: Jan 08, 2003
Posts: 137
Thanks, I'll have a look. I'm a bit new to java and I seem to be leaping forward in some respects but my foundation is rocky...
Cheers,
Steve
Cory Wilkerson
Ranch Hand

Joined: Aug 14, 2001
Posts: 84
SOAP is simply a wire protocol. Though AXIS may make your life a little easier, you could just use J2SE sockets and either a) publish a server socket by which clients can connection a retrieve data or b) open sockets and push your xml data to particular listeners.
Just learn the protocol and you'll be fine -- of course, that's a healthy amount of work.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SOAP and J2SE?
 
Similar Threads
JEE 5 Vs JEE 6
Need to invoke SOAP msg with standalone java class
copy j2ee's jar files into jdk1.3
Soap to compete J2EE ?
Generate Soap xml from WSDL