Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 SOAP / XML
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 02 June 2004 :  17:29:10  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I have never used this and just need to run a simple script. They showed the below code. I tried to copy and paste just this in a .html file and got Invalid at the top level of the document. Error processing resource error.


POST /services/bandwidth.asmx HTTP/1.1
Host: stats.shortbowel.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.smartertools.com/smarterstats/Bandwidth.asmx/GetForServer"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetForServer xmlns="http://www.smartertools.com/smarterstats/Bandwidth.asmx">
      <authUserName>string</authUserName>
      <authPassword>string</authPassword>
      <ServerID>int</ServerID>
      <StartDate>dateTime</StartDate>
      <EndDate>dateTime</EndDate>
    </GetForServer>
  </soap:Body>
</soap:Envelope>

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07