Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use BeSimpleSoapClientSoapClient;
- function get_states_cities()
- {
- //Vendor's Username and Password
- $username = 'demo';
- $password = 'demo';
- //Create a web service proxy using SoapClient
- $client = new SoapClient('http://svc.ebazaar-post.ir/EshopService.svc?WSDL');
- $client->soap_defencoding = 'UTF-8';
- $client->decode_utf8 = false;
- //Get list of states
- $states=$client->GetStates(['username' => $username,'password'=>$password]);
- }
Add Comment
Please, Sign In to add comment