ServiceInvoker
Click here for a complete list of operations.
GetApplicationPermissionToken
Test
The test form is only available for requests from the local machine.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 /ServiceInvoker.asmx HTTP/1.1 Host: ws2.sysmiddle.com.br Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetApplicationPermissionToken" <?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> <GetApplicationPermissionToken xmlns="http://tempuri.org/"> <licenseStatus> <LicenseCode>string</LicenseCode> <Validation>string</Validation> <TypeCode>long</TypeCode> <MapConnectorIdentifier>guid</MapConnectorIdentifier> <ComputerId>string</ComputerId> <LicenseType>int</LicenseType> </licenseStatus> </GetApplicationPermissionToken> </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> <GetApplicationPermissionTokenResponse xmlns="http://tempuri.org/"> <GetApplicationPermissionTokenResult> <PermissionType>Error1 or Error2 or Error3 or Error4 or Error5 or Error6 or Error7 or Error8 or Error9 or Error10 or Error11 or None or All or OnlyRead or OnlyChange</PermissionType> <Token>guid</Token> </GetApplicationPermissionTokenResult> </GetApplicationPermissionTokenResponse> </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 /ServiceInvoker.asmx HTTP/1.1 Host: ws2.sysmiddle.com.br 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> <GetApplicationPermissionToken xmlns="http://tempuri.org/"> <licenseStatus> <LicenseCode>string</LicenseCode> <Validation>string</Validation> <TypeCode>long</TypeCode> <MapConnectorIdentifier>guid</MapConnectorIdentifier> <ComputerId>string</ComputerId> <LicenseType>int</LicenseType> </licenseStatus> </GetApplicationPermissionToken> </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> <GetApplicationPermissionTokenResponse xmlns="http://tempuri.org/"> <GetApplicationPermissionTokenResult> <PermissionType>Error1 or Error2 or Error3 or Error4 or Error5 or Error6 or Error7 or Error8 or Error9 or Error10 or Error11 or None or All or OnlyRead or OnlyChange</PermissionType> <Token>guid</Token> </GetApplicationPermissionTokenResult> </GetApplicationPermissionTokenResponse> </soap12:Body> </soap12:Envelope>