I am submitting the same (complete) customer address data every time, and sporadically receive a "Customer Address Data is Empty" error.
For testing purposes, I have hardcoded the following SOAP call:
$addressData = array ( array( 'city' => 'New York', 'firstname' => 'Jane', 'lastname' => 'Doe', 'postcode' => '10013', 'street' => '32 St.', 'telephone' => '1234567890', 'mode' => 'shipping', 'country_id' => 'US', 'region' => 'NY', ), array( 'city' => 'New York', 'firstname' => 'Jane', 'lastname' => 'Doe', 'postcode' => '10013', 'street' => '32 St.', 'telephone' => '1234567890', 'mode' => 'shipping', 'country_id' => 'US', 'region' => 'NY', ) ); self::$proxy->shoppingCartCustomerAddresses($sessionId, 7, $addressData);
If I run this exact same command 100 times, the error will surface approximately 20-30 times. Any help is greatly appreciated!
hmm;
I dont know too much about this;
Someone else might have a better solution and can give more insight;
While you wait; try some of the following (I looked into some of the codes my sites use):
1) use double " instead of ' example:
"city" => "New York",
2) put mode => shipping at the top of the list.
3) shouldn't the second array be mode => billing instead of shipping?
4) try adding the "is_default_shipping" => 0 and "is_default_billing" => 0 (or change to 1)
getting the same error.
using soap API in android and I tried as u said but still facing the same issue.
please pull me out of the problem.