XML Web Service
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebservices' list.


Rel Breedlove
-- Moved from [aspngfreeforall] to [aspngwebservices] by devin <Click here to reveal e-mail address> --

Hi All,

Really Simple question, I hope... I am tyring to hook up to a web service.
This is what I need to do...

"Send an xml access Request message concatenated in front of the service
request message to the tool. To send a request message to a tool, an
application writes a stream of data to the tool via a secure tcp/ip socket
or secure URL connection. The data stream must be in the form of an HTTP
POST request message."

I am writing this by hand, not using VS.NET. I havn't done it yet, but I
believe I can handle writing xml files and reading from them. What I don't
know how to do is to send an xml message via a data stream to a 'url'. The
service has in their documentation that where I will be going for testing is
'https://www.testing.com/xml/av'

Does anyone have an explaination, example, suggestion for a website or book
for where I can find out how to do this?

All help will be appreciated!!!!
Rel

Reply to this message...
 
    
Dan Wahlin
If you won't be using the Web Service infrastructure built into .NET
(did they give you a WSDL document location to hit or
anything??...doesn't sound like it) and just need to send an XML
document to a URL you can use the HttpWebRequest and HttpWebResponse in
the System.Net namespace to send and receive XML documents. You can
find an example of using those classes here:

http://www.xmlforasp.net/codeSection.aspx?csID=9

HTH,
Dan Wahlin

Wahlin Consulting LLC
Microsoft MVP - ASP.NET
http://www.XMLforASP.Net: #1 ASP.NET XML Resource
XML for ASP.NET Developers by Dan Wahlin in bookstores everywhere!

-----Original Message-----
From: Rel Breedlove [mailto:Click here to reveal e-mail address]
Sent: Thursday, August 15, 2002 8:27 AM
To: aspngwebservices
Subject: [aspngwebservices] XML Web Service

-- Moved from [aspngfreeforall] to [aspngwebservices] by devin
<Click here to reveal e-mail address> --

Hi All,

Really Simple question, I hope... I am tyring to hook up to a web
service.
This is what I need to do...

"Send an xml access Request message concatenated in front of the service
request message to the tool. To send a request message to a tool, an
application writes a stream of data to the tool via a secure tcp/ip
socket
or secure URL connection. The data stream must be in the form of an HTTP
POST request message."

I am writing this by hand, not using VS.NET. I havn't done it yet, but I
believe I can handle writing xml files and reading from them. What I
don't
know how to do is to send an xml message via a data stream to a 'url'.
The
service has in their documentation that where I will be going for
testing is
'https://www.testing.com/xml/av'

Does anyone have an explaination, example, suggestion for a website or
book
for where I can find out how to do this?

All help will be appreciated!!!!
Rel
| [aspngwebservices] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngwebservices.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 
System.Net.HttpWebRequest
System.Net.HttpWebResponse




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com