You need to sign in to do that
Don't have an account?
Rest call to enterprise api to make a describeGlobal call
Im trying to make a Rest call to enterprise api. I connect successfully using the partner wsdl and a session id returns, but when I post the call below I get a CalloutException
I used the same details on https://wiki.developerforce.com/page/Enterprise_Describe_Global
Can anyone help?
<?xml version="1.0" encoding="utf-8"?>' +
'<soapenv:Envelope xmlns:soapenv="<a href="http://schemas.xmlsoap.org/soap/envelope/" class="external free" title="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/</a>' +
' xmlns:urn="urn:enterprise.soap.sforce.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId><b>' +session_ID+ '</b></urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:describeGlobal />
</soapenv:Body>
</soapenv:Envelope>