• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Badal Kotecha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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")
xmlhttp.open "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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where you able to figure this out? I have the same problem and was wondering if you have a solution?
Thanks and regards,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!