473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MSXML Post

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
Sep 6 '05 #1
2 1474

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.

italic wrote:
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

Sep 6 '05 #2
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

"John Bailo" <ja*****@texeme.com> wrote in message
news:43**************@texeme.com...

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.

italic wrote:
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


Sep 6 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jason Burr | last post by:
I keep getting a server error 400 - Bad Request with the code below. xmlDoc is the MSXML.DOMDocument populated with the xml data to submit. That data is well formed and works fine if I urlencode...
6
by: Alfred Taylor | last post by:
I'm having performance/memory problems using .NET's XslTransform class so I thought I'd give the MSXML object's a whirl. The question I haven't been able to find in these groups is can I use C#...
3
by: Daniel | last post by:
Are the differences between MSXML and .Net XSL transformation documented online anywhere? Many of my XSL's work in MSXML but transform differently in ..Net XSL transformation.
1
by: Pat Friedl | last post by:
Hey all. I'm trying to use an ASP or dotNet page to use the MSXML object to perform a "fire and forget" post to aURL asychronously. In the documentation for MSXML, MicroSoft states that you can...
0
by: MLH | last post by:
In the following code snippet, notice ("PIN=1234567890&MSSG=Here+is+a+short+message+-+no+spaces+-+just+plusses&Q1=0") I have it that way because I thought PLUSes were required and that spaces...
3
by: Sharon | last post by:
How can I find what MSXML version I have installed? -- Thanks Sharon
13
by: yawnmoth | last post by:
<http://www.quirksmode.org/book/printable/xmlhttp.txtshows two alternatives to Microsoft.XMLHTTP - Msxml2.XMLHTTP and Msxml3.XMLHTTP. If my understanding is correct, the different numbers refer to...
19
by: Matthias Truxa | last post by:
Hello, can anyone confirm the existence of the following effects which I'd consider being a critical bug in msxml according to w3c's xpath specs? The Spec says: "The parent, ancestor,...
4
by: mrjaxon | last post by:
I have a C# web application which leverages MSXML that I am trying to migrate to a 64 bit environment. Currently the application is built on the .NET 2.0 Framework and using MSXML 6 (though I had...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.