Service
Click here for a complete list of operations.
ValidatorRequest
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 /webservices/Service.asmx HTTP/1.1 Host: validator.edi-optique.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://validator.edi-optique.com/WebServices/Service.asmx/ValidatorRequest" <?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> <ValidatorRequest xmlns="http://validator.edi-optique.com/WebServices/Service.asmx"> <login>string</login> <password>string</password> <typeMessage>Opto11 or Optimeyes</typeMessage> <file>base64Binary</file> <email>string</email> <scope>string</scope> <distribution>boolean</distribution> <language>fr or en</language> </ValidatorRequest> </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> <ValidatorRequestResponse xmlns="http://validator.edi-optique.com/WebServices/Service.asmx"> <ValidatorRequestResult>string</ValidatorRequestResult> </ValidatorRequestResponse> </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 /webservices/Service.asmx HTTP/1.1 Host: validator.edi-optique.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> <ValidatorRequest xmlns="http://validator.edi-optique.com/WebServices/Service.asmx"> <login>string</login> <password>string</password> <typeMessage>Opto11 or Optimeyes</typeMessage> <file>base64Binary</file> <email>string</email> <scope>string</scope> <distribution>boolean</distribution> <language>fr or en</language> </ValidatorRequest> </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> <ValidatorRequestResponse xmlns="http://validator.edi-optique.com/WebServices/Service.asmx"> <ValidatorRequestResult>string</ValidatorRequestResult> </ValidatorRequestResponse> </soap12:Body> </soap12:Envelope>