function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
binding.set_password(userName, password) throws the following exception:
"unknown method name set_password"
any thoughts?
Thanks.
Hi Mark,
What are you using? XML-RPC SOAP?
Sorry for answering with more questions, but here I go.
What is the services endpoint that you are making the request to? It should not be https://www.salesforce.com, if it is you will get that messsage.
An xml-rpc set password request should look like this:
<methodCall> <methodName> sfdc.set_password </methodName> <params> <param> <value> <struct> <member> <name> userID </name> <value> <string> 098098asdf </string> </value> </member> <member> <name> password </name> <value> <string> asdlkjf </string> </value> </member> <member> <name> version </name> <value> <string> 2.0 </string> </value> </member> </struct> </value> </param> </params></methodCall>
The xml is hard to get to because we're using axis to generate the doc... but we are using https://www.salesforce.com/servlet/servlet.SoapApi
You need to change the endpoint after you login to the one returned by the login call.
Thanks Dave, you sure know how to make a guy feel stupid... but I can live with that :-)
I'm glad to have this one resolved.
Thanks again.
Hi Mark,
What are you using? XML-RPC SOAP?
Hi Mark,
Sorry for answering with more questions, but here I go.
What is the services endpoint that you are making the request to? It should not be https://www.salesforce.com, if it is you will get that messsage.
An xml-rpc set password request should look like this:
<methodCall>
<methodName>
sfdc.set_password
</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>
userID
</name>
<value>
<string>
098098asdf
</string>
</value>
</member>
<member>
<name>
password
</name>
<value>
<string>
asdlkjf
</string>
</value>
</member>
<member>
<name>
version
</name>
<value>
<string>
2.0
</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Hi Mark,
The xml is hard to get to because we're using axis to generate the doc... but we are using https://www.salesforce.com/servlet/servlet.SoapApi
Hi Mark,
You need to change the endpoint after you login to the one returned by the login call.
Thanks Dave, you sure know how to make a guy feel stupid... but I can live with that :-)
I'm glad to have this one resolved.
Thanks again.