Jump to content

Recommended Posts

I am running php5 with the soap extension enabled and working.

 

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' => '1360 S 1600 W',
                          'apt' => '',
                          'city' =>'',
                          '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

 

Any ideas?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/70293-issue-with-wsdl-soap-request/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.