I'm having a problem using SOAP. It is accessing http://uat.webservice.apm.com.au/fee...tial.asmx?WSDL
My code is :
The error is "System.Web.Services.Protocols.SoapHeaderException: Invalid Username/Password at Residential.GetResidentialResultsByPostcodeState(String postcode, String state". I've checked the username and password, it's correct. But I have doubt on my code. Anything wrong with it? Thanks.
$client = new SoapClient("http://uat.webservice.apm.com.au/feed/residential.asmx?WSDL");
$params = array('login' =>'theusername',
'trace' => 1,
'state' => 'nsw'
$result = $client->GetResidentialResultsByPostcodeState($params);