MSXML Post

I

italic

Hi,
I would like to post some data from my application to one servlet and get
response as a xml file. The datas to post are "UserName", "Password" and
large Xml file. I"m trying to use MSXML. I'm converting xml to stream and
sending it by send method of ServerXMLHTTP40Class. But I don't know how can
I send username and password. Do you have any idea?

Thanks

Italic
 
J

John Bailo

Why don't you use a web service?

You can set up authentication headers for username/password.

You can create a web method that takes XmlDocument as an input type.

You can use XmlDocument as a return type.
 
I

italic

Thank you for your answer.
But, I have to send the xml file to servlet which is provided to us by our
customer. I don't have a chance to use web services, the servlet already
built up by customer.

Hakan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top