Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SalesForce metadata WSDL parsed incorrectly #109

Open
adworse opened this issue Mar 27, 2023 · 1 comment
Open

SalesForce metadata WSDL parsed incorrectly #109

adworse opened this issue Mar 27, 2023 · 1 comment

Comments

@adworse
Copy link

adworse commented Mar 27, 2023

First of all, thank you for this library!

I spotted an odd behaviour recently, though.

Parsing Salesforce Metadata WSDL (https://raw.githubusercontent.com/developerforce/Force.com-Toolkit-for-PHP/master/soapclient/metadata.wsdl.xml) gives pretty much data, but a list of available operations is empty.

This seems to be incorrect. The same file parsed with Ruby's wasabi SOAP library gives a correct list.

@VitorTrin
Copy link

I was able to get the list of operations by setting allow_empty_soap_actions in the options. The following worked for me:

{:ok, wsdl} = Soap.init_model("https://raw.githubusercontent.com/developerforce/Force.com-Toolkit-for-PHP/master/soapclient/metadata.wsdl.xml", :url, allow_empty_soap_actions: true)

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

No branches or pull requests

2 participants