473,466 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1475

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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.