You need to sign in to do that
Don't have an account?
rajan
Error when calling new Metadata spring pre relies 2008 API
Hi ,
I am trying to call the retrive API of new Metadata spring pre relies 2008 API.My code is
But at the retrive call (bold line in code line 9 ) I get the exception
No operation available for request {http://soap.sforce.com/2006/04/metadata}retrieve
any idea anybody ,please help
Thanks,
Rajan
I am trying to call the retrive API of new Metadata spring pre relies 2008 API.My code is
- binding_MS = new MetadataService();
- binding_MS.SessionHeaderValue = new Automation_Tool_1._1.NewMetaSforce.SessionHeader();
- binding_MS.Url = binding.Url;
- binding_MS.SessionHeaderValue.sessionId = binding.SessionHeaderValue.sessionId;
- DescribeGlobalResult aa = binding.describeGlobal();
- RetrieveRequest RR = new RetrieveRequest();
- RR.packageNames = new string[] { "testingPack" };
- RR.singlePackage = true;
- AsyncResult Aresult = binding_MS.retrieve(RR);
- DescribeMetadataResult abc = binding_MS.describeMetadata();
But at the retrive call (bold line in code line 9 ) I get the exception
No operation available for request {http://soap.sforce.com/2006/04/metadata}retrieve
any idea anybody ,please help
Thanks,
Rajan
Yah I got the probe just change the line
binding_MS.Url =ninding.url
with
binding_MS.Url = loginResult.metadataServerUrl;