ScriptProcessor.CheckDataType Method

Namespace: bscript
Assembly: bscript (in bscript.dll)

Usage

'Usage
Dim instance As ScriptProcessor
Dim vsPropType As String
Dim vsValue As String
Dim returnValue As Boolean

returnValue = instance.CheckDataType(vsPropType, vsValue)

Syntax

'Declaration
Public Function CheckDataType ( _
    vsPropType As String, _
    vsValue As String _
) As Boolean
public bool CheckDataType (
    string vsPropType,
    string vsValue
)
public:
bool CheckDataType (
    String^ vsPropType, 
    String^ vsValue
)
public boolean CheckDataType (
    String vsPropType, 
    String vsValue
)
public function CheckDataType (
    vsPropType : String, 
    vsValue : String
) : boolean

Parameters

  • vsPropType
  • vsValue

Return Value

Returns Boolean.

Remarks

The following is a SOAP 1.1 request and response.

POST /BHOLD/Core/b1scriptservice.asmx HTTP/1.1
Host: app1.corp.contoso.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://B1/B1ScriptService/CheckDataType"

<?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="https://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CheckDataType xmlns="http://B1/B1ScriptService">
      <propType>string</propType>
      <propValue>string</propValue>
    </CheckDataType>
  </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="https://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CheckDataTypeResponse xmlns="http://B1/B1ScriptService">
      <CheckDataTypeResult>string</CheckDataTypeResult>
    </CheckDataTypeResponse>
  </soap:Body>
</soap:Envelope>

The following is a sample SOAP 1.2 request and response.

POST /BHOLD/Core/b1scriptservice.asmx HTTP/1.1
Host: app1.corp.contoso.com
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>
    <CheckDataType xmlns="http://B1/B1ScriptService">
      <propType>string</propType>
      <propValue>string</propValue>
    </CheckDataType>
  </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>
    <CheckDataTypeResponse xmlns="http://B1/B1ScriptService">
      <CheckDataTypeResult>string</CheckDataTypeResult>
    </CheckDataTypeResponse>
  </soap12:Body>
</soap12:Envelope>

The following is a sample HTTP POST request and response.

POST /BHOLD/Core/b1scriptservice.asmx/CheckDataType HTTP/1.1
Host: app1.corp.contoso.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

propType=string&propValue=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://B1/B1ScriptService">string</string>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

Change History

See Also

Reference

ScriptProcessor Class
ScriptProcessor Members
bscript Namespace