资 源 简 介
An AFM (tax id) is submitted by the user, which in turn is submitted via soap request , according to the WSDL provided, against the GSIS web service.
Php objects are used to submit the composite parameters of the wsdl complexTypes.
SimpleXML is used to parse the soap response.
Exceptions are thrown if specific events occur, such as wrong AFM input.
requirements
- php
- soap php extension
- simpleXML php extension
class containing parameters RgWsBasStoixNRtUser complexType
class RgWsBasStoixNRtUser { public $actLongDescr; public $postalZipCode; public $facActivity=0; public $registDate="2011-01-01"; public $stopDate="2011-01-01"; public $doyDescr; public $parDescription; public $deactivationFlag=1; public $postalAddressNo; public $postalAddress; public $doy; public $firmPhone; public $onomasia; public $firmFax; public $afm; public $commerTitle;}
class with error messages
class GenWsErrorRtUs