aspose file tools
The moose likes XML and Related Technologies and the fly likes XML Challenge...... (Microsft + JAVA) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Challenge...... (Microsft + JAVA)" Watch "XML Challenge...... (Microsft + JAVA)" New topic

XML Challenge...... (Microsft + JAVA)

Badal Kotecha
Ranch Hand

Joined: Sep 06, 2000
Posts: 42
Hi guys!
here is a new challenge for all of u ....
I m developing one application wherein i have to send information from vb client application using XML to the jsp page on the server side so that jsp can easily parse that xml and dump it into the database.
i have tried it using vb client application and asp as follows :
Client side code which i m using in vb application is :
Dim xmlhttp As MSXML2.xmlhttp
Dim xmldom
Set xmlhttp = CreateObject("Microsoft.XMLHTTP") "GET", "http://neco/TestXML/Getresp.asp", False
Dim xmltext As String
xmltext = "<magazine>MIND</magazine>" 'For example
Set xmldom = CreateObject("Microsoft.XMLDOM")
xmldom.loadXML xmltext
xmlhttp.send xmltext

now if i use asp toward server side it works fine as per following code using vbscript...
set xmldom = Server.CreateObject("Microsoft.XMLDOM")
'set myNode = xmldom.selectSingleNode("magazine")
'myNode.text = "MSDN Magazine"
strText = "You sent me: " & xmldom.xml
Response.Write strText
i got the response in client application properly.

but i dont want to use asp in my server side application
Is there any way to do the same thing in JSP.
if yes then how ??
Condition : I dont want to change my client side implementation where in i m using microsoft xml parser.

Is there any other way like can i transfer an xml file using http/ftp to the server and then call one jsp page from client application which will process that xml file which is uploaded in predetermined place ?? (i would least prefer this way)

plz.. Help quickly and in detail
Thx in advance
Sumanth Tarigopula

Joined: Feb 21, 2002
Posts: 15
Where you able to figure this out? I have the same problem and was wondering if you have a solution?
Thanks and regards,
I agree. Here's the link:
subject: XML Challenge...... (Microsft + JAVA)