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
reputationdemonreputationdemon 

Sandbox API issue

Hi,

 

I am using our sandbox trying to add a new account. I am using the login url :-

 

https://test.salesforce.com/services/Soap/u/23.0

 

and I am recieving a sessionid and server url.  My xml is :-

 

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:partner.soap.sforce.com"> xmlns:urn1="urn:sobject.partner.soap.sforce.com"<soapenv:Header>

<urn:SessionHeader><urn:sessionId>00DV00000001NTA!AQkAQDz0VjxDeNk5jooMbhTF54n0JK8NrHDS3Jxr0ULivg63HxdeWuQZPz9UQqzCEos16Fo_47Yf3FupCwpx1nxuQDUoynyS</urn:sessionId></urn:SessionHeader></soapenv:Header><soapenv:Body>

<urn:sObjects>

<urn1:type>Account</urn1:type>

<RecordTypeId>01280000000FpbW</RecordTypeId>

<Optimus_User_ID__c>419842</Optimus_User_ID__c>

<Optimus_Partner__c></Optimus_Partner__c>

<User_Flag__c>normal</User_Flag__c>

<User_Status__c>active</User_Status__c>

<Link_to_Optimus_User_Record__C>https://vvvvvvvvvvvvvvv.com/optimus/set_myuser.php?yuser_id=419842&nextURL=userDetails.php</Link_to_Optimus_User_Record__C>

<Username__c>xxxx8@ymail.com</Username__c>

<Initiating_Media__c>none</Initiating_Media__c>

<FirstName>nnnn</FirstName>

<LastName>nnn</LastName>

<Phone></Phone>

<Type>Customer</Type>

<PersonEmail>pbbbbbb8@ymail.com</PersonEmail

><BillingStreet>31/25 HHT P.13 TAN BINH </BillingStreet>

<BillingCity>HCM</BillingCity>

<BillingPostalCode>0084</BillingPostalCode>

<BillingState>TB</BillingState>

<BillingCountry>USA</BillingCountry>

</urn:sObjects>

</soapenv:Body></soapenv:Envelope>

 

I have tried to follow the SOAP examples in the developer forum.

 

But I am getting the error :-

 

No operation available for request {urn:partner.soap.sforce.com}

 

If I use the enterprise login url , I do not get a session or server url returned so I believe I am using the correct login.

 

Any help would be great.