This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP and J2SE?

 
Steve Wood
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Steve Wood
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic