WebServiceVasishtha


Click here for a complete list of operations.

HomeWorkInsert

Test

The test form is only available for methods with primitive types as parameters.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceVasishtha.asmx HTTP/1.1
Host: webservice.vasishtha.ac.in
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/HomeWorkInsert"

<?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>
    <HomeWorkInsert xmlns="http://tempuri.org/">
      <SchoolID>short</SchoolID>
      <MediumID>short</MediumID>
      <StandardID>int</StandardID>
      <StreamID>short</StreamID>
      <DivisionID>short</DivisionID>
      <HomeWorkDate>dateTime</HomeWorkDate>
      <HomeWorkTitle>string</HomeWorkTitle>
      <HomeWorkDescription>string</HomeWorkDescription>
      <IsAttachment>boolean</IsAttachment>
      <FileExtension>string</FileExtension>
      <ImageClickFile>base64Binary</ImageClickFile>
      <AcademicYear>string</AcademicYear>
      <YearID>short</YearID>
      <InsertBy>long</InsertBy>
      <FormName>string</FormName>
      <MachineName>string</MachineName>
    </HomeWorkInsert>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <HomeWorkInsertResponse xmlns="http://tempuri.org/">
      <HomeWorkInsertResult>xmlxml</HomeWorkInsertResult>
    </HomeWorkInsertResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceVasishtha.asmx HTTP/1.1
Host: webservice.vasishtha.ac.in
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <HomeWorkInsert xmlns="http://tempuri.org/">
      <SchoolID>short</SchoolID>
      <MediumID>short</MediumID>
      <StandardID>int</StandardID>
      <StreamID>short</StreamID>
      <DivisionID>short</DivisionID>
      <HomeWorkDate>dateTime</HomeWorkDate>
      <HomeWorkTitle>string</HomeWorkTitle>
      <HomeWorkDescription>string</HomeWorkDescription>
      <IsAttachment>boolean</IsAttachment>
      <FileExtension>string</FileExtension>
      <ImageClickFile>base64Binary</ImageClickFile>
      <AcademicYear>string</AcademicYear>
      <YearID>short</YearID>
      <InsertBy>long</InsertBy>
      <FormName>string</FormName>
      <MachineName>string</MachineName>
    </HomeWorkInsert>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <HomeWorkInsertResponse xmlns="http://tempuri.org/">
      <HomeWorkInsertResult>xmlxml</HomeWorkInsertResult>
    </HomeWorkInsertResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /WebServiceVasishtha.asmx/HomeWorkInsert?SchoolID=string&MediumID=string&StandardID=string&StreamID=string&DivisionID=string&HomeWorkDate=string&HomeWorkTitle=string&HomeWorkDescription=string&IsAttachment=string&FileExtension=string&ImageClickFile=string&ImageClickFile=string&AcademicYear=string&YearID=string&InsertBy=string&FormName=string&MachineName=string HTTP/1.1
Host: webservice.vasishtha.ac.in
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataTable xmlns="http://tempuri.org/">xmlxml</DataTable>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceVasishtha.asmx/HomeWorkInsert HTTP/1.1
Host: webservice.vasishtha.ac.in
Content-Type: application/x-www-form-urlencoded
Content-Length: length

SchoolID=string&MediumID=string&StandardID=string&StreamID=string&DivisionID=string&HomeWorkDate=string&HomeWorkTitle=string&HomeWorkDescription=string&IsAttachment=string&FileExtension=string&ImageClickFile=string&ImageClickFile=string&AcademicYear=string&YearID=string&InsertBy=string&FormName=string&MachineName=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataTable xmlns="http://tempuri.org/">xmlxml</DataTable>