function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chiyaan AnanthChiyaan Ananth 

Create sutom object sample leads to exception

I have downloaded the latest enterprise and metadata wsdl and generated client code out of it.  When I tried to run the CreateSample for custom objects,  I get this exception "No operation available for request {http://soap.sforce.com/2006/04/metadata}create"

 

What do I miss here? 

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
The request is going to the wrong URL, can you tell me where you got the sample code from that you're trying out ?

All Answers

SuperfellSuperfell
The request is going to the wrong URL, can you tell me where you got the sample code from that you're trying out ?
This was selected as the best answer
Chiyaan AnanthChiyaan Ananth

Thank you simon for your quick response. 

Through the quickstart of Metadata API,  here is the link.  MetaData API

 

Thanks in Advance.