Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Updating wdsl.xml file #39

Open
ianknauer opened this issue Mar 24, 2015 · 2 comments
Open

Updating wdsl.xml file #39

ianknauer opened this issue Mar 24, 2015 · 2 comments

Comments

@ianknauer
Copy link

I'm trying to update my enterprise.wdsl.xml file to include some new custom fields on the opportunity object. None of the new fields are being recognized even though i've updated the actual file.

Is there anything else that needs to be changed? I noticed that there's a reference to the API version number in both the SforceMetaDataClient.php and SforceBaseClient.php, but changing them to the current (33.0) version doesn't seem to solve my problem.

I'm still able to pull the default/older fields, but can't access my new custom ones.

@zoltan-fedor
Copy link

Do you by chance have the default wsdl caching on? I know I fall for that a few times.
Try changing the name of the wsdl file to test whether this is a caching issue.
If it is, then you can disable the wsdl cache by adding:
ini_set("soap.wsdl_cache_enabled", "0");
ini_set("soap.wsdl_cache_ttl", "0");

@brookemahoney
Copy link

It may not matter but the PHP docs ( http://php.net/manual/en/soap.configuration.php ) say the values of soap.wsdl_cache_enabled and soap.wsdl_cache_ttl should be integers:

ini_set("soap.wsdl_cache_enabled", 0);
ini_set("soap.wsdl_cache_ttl", 0);

Cheers,
Jeff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants