Question about Soap Request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am new to SOAP.  I have php 5 with the soap extension installed.

I am trying to do a simple address lookup but am getting stuck.

Function getAddressData takes 5 items.
address
apt
city
state
zip

It returns 6 
street address
apt number
city
state
zip code
status

This is my code
$client = new
SoapClient("http://auort.dynamiccity.com:8080/DCWebServices/services/AddressLookupService?WSDL";);
$client->__soapCall("getAddressData", 
                    array('address' => '160 S 1600 W',
                          'apt' => '',
                          'city' =>'Provo',
                          'state' =>'UT',
                          'zip' =>'',
                          ));

I get the following error.

Fatal error: Uncaught SoapFault exception: [soap:Client] Not enough message
parts were received for the operation. in C:\Program Files\Apache
Group\Apache\htdocs\info.php:11 Stack trace: #0 C:\Program Files\Apache
Group\Apache\htdocs\info.php(11): SoapClient->__soapCall('getAddressData',
Array) #1 {main} thrown in C:\Program Files\Apache
Group\Apache\htdocs\info.php on line 11

Im not sure what the "Not enough message parts received" error means.  

Thanks.




-- 
View this message in context: http://www.nabble.com/Question-about-Soap-Request-tf4502483.html#a12840987
Sent from the Php - Soap mailing list archive at Nabble.com.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux