Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Posting to XML webServices using dart.http1
ajayk_goel

From: Woburn, MA USA
Posts: 3
Member Since: 06/17/05
posted June 17, 2005 11:20 AM

We have an existing application that uses the following code to post a request to an XML server
  url = "http://localhost/xml/test.asp"
  Set myObj = CreateObject("Dart.Http")
  MyObj.Url = url
  MyObj.Post xmlRequest, oReqHeaders, sResponse, oRespHeaders

And this works great. We need to use the same to post to a web service now. Only way I could make it work is to change the code to
    url = "http://localhost/test/test.asmx/testWemMethod"
set WebASP1 = CreateObject("Dart.WebASP.1")
WebASP1.Request.Url = url WebASP1.Request.Variables("xmlString") = sRequest
WebASP1.Post

I would like to use the first method to post it to the web service. Only thing I want to change (or can change) is url and the request. Is there anyway I can achieve this?

Thanks in advance
ajayk_goel

From: Woburn, MA USA
Posts: 3
Member Since: 06/17/05
posted June 17, 2005 11:59 AM

Never mind, I found the solution.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX