Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

Synchronous XML Interface

Thread view: 
dougjrs@gmail.com - 17 Feb 2007 22:41 GMT
Good Afternoon Everyone!

I am trying to create a small application that will interface with
another application using an XML interface.  This interface allows me
to send an XML file and then receive an XML file that contains the
responce to my request.

At a higl level here is how it will hopefully work:

1) My application will receive data in HTTP headers
2) My application will create an XML file with the data from the HTTP
headers
3) My application will send the XML to other application
4) The other application will respond synchronous with an XML file
5) My application will take actions based on what is in the XML file

(file may not be the correct term, it would be more of a data steam
because no file should be created)

I have been looking at javax.xml.rpc, but it is a lot to try and wade
throuhg.

Can anyone provide any hints on where I could find more information
about doing this or maybe some sample code?

Thanks,
Doug
Sanjay - 18 Feb 2007 00:25 GMT
> Good Afternoon Everyone!
>
[quoted text clipped - 23 lines]
> Thanks,
> Doug

Can you do it with web services?
Karl Uppiano - 18 Feb 2007 02:30 GMT
> Good Afternoon Everyone!
>
[quoted text clipped - 23 lines]
> Thanks,
> Doug

You should check this out:
http://java.sun.com/webservices/docs/2.0/tutorial/doc/

Read up on javax.ws.xml.Endpoint, because you do not really need an
appserver or even Tomcat to publish if you have JDK 1.6.
Karl Uppiano - 18 Feb 2007 02:32 GMT
> Good Afternoon Everyone!
>
[quoted text clipped - 23 lines]
> Thanks,
> Doug

Oops, typo on my previous post.
Should be javax.xml.ws.Endpoint.
http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html
dougjrs@gmail.com - 19 Feb 2007 01:36 GMT
Thanks for the information!

I am thinking that SOAP would be the best way to go at this time.  My
XML does have to be HR-XML so hopefully I can do that.

Thanks!
Doug


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.