Discussions
Problems updating address.country
I'm curious if anyone else using the 2010.1 WSDL is having any trouble updating the address.country field on the Customer record?
using the enumeration: address.country = Country._canada;
Seems to have no effect and i never see this in the SOAP request.
All other address fields seem to be updating as I would expect.
Here's the code I'm using for Address:
CustomerAddressbook address = new CustomerAddressbook();
address.defaultShipping = true;
address.defaultShippingSpecified = true;
address.defaultBilling = false;
address.defaultBillingSpecified = true;
address.label = "Shipping Address";
address.addressee = "William Sanders";
address.attention = "William Sanders";
address.addr1 = "4765 Sunset Blvd";
address.city = "Canada City";
address.state = "ON";