Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

receive XML requests and receive/parse/send XML responses 1

Status
Not open for further replies.

Andyfives

Programmer
Feb 22, 2002
46
DK
PLEASE HELP.

Background:we require a process to receive requests from Agency and pass them onto our vendor who have designed apis, we receive the xml response back, filter sensitive data in xml using a parser, then send amended xml back to requester.

SOAP is used throughout.

I have little knowledge on java and feel I am diving in head first.

I have used Java to parse XML before, but do not know of the recommended setup for this on the server itself so I can get developing. What should I use, servlets or javabeans? At a guess I'll have to install an Apache web server & j2ee?

Any help/website references would be great.

Many thanks

Andy [bigears]
 
>> What should I use, servlets or javabeans?
These two entities are used for entirely diffent jobs - servlets sit inside a servlet container such as Tomcat, and JavaBeans are just classes which are used to retrieve and store data, written using a set of standards.

>> At a guess I'll have to install an Apache web server & j2ee?
You don't need Apache web server, but you will need a servlet container such as Tomcat.

What you are attempting to do is by no means a trivial task, especially if you have little knowledge of Java. I would suggest some heavy reading and example running. As a kick off, go to the Sun site, and download the Java Web Services Developers Pack (JWSDP). Read the notes on SDK versions required. Set that up, and run some examples. If your XML files are SOAP compliant, then you will want to look at JAXM (Java API for XML Messaging) and SAAJ (SOAP with Attachements api). I would download the JWSDP examples and tutorials, and read them carefully in full.

Good Luck

Ben
 
Thanks Ben, that'll give me a good place to start.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top