• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to send XML via HTTPPost

 
vamshidhar nimbagiri
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Using servlet HTTPPost method i have to send XML to particular url (like http://xxx.com)
Could any body please help me how to send that.

Thanks in advance
Vamshi
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used a program below to test webservices:
 
vamshidhar nimbagiri
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi D Rog,
Thanks for your reply,
but could you please tell me what is AroundData here
"AroundData.copyStream(is, os = con.getOutputStream())"

Thanks
Vamshi
 
vamshidhar nimbagiri
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi D Rog,
Thanks for your reply,
but could you please tell me what is AroundData here
"AroundData.copyStream(is, os = con.getOutputStream())"

Thanks
Vamshi
 
Zkr Ryz
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using Jakarta Commons HTTPClient. Search in google: post xml HttpClient
It's quite easy.
 
Zkr Ryz
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Zkr Ryz:
Try using Jakarta Commons HTTPClient. Search in google: post xml HttpClient
It's quite easy.

 
vamshidhar nimbagiri
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Zkr Ryz,

Thanks it is really help full for me

Thanks
Vamshi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!