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
Jamz_2010Jamz_2010 

Single Sign On

Hi all,

 

I have setup a Web Service to use for the Delegated Single Sign On within Salesforce and placed the endpoint in the Delegated Gateway URL within Salesforce but am getting the following error:

 

 

Cannot find dispatch method for {urn:authentication.soap.sforce.com}Authenticate

 

Salesforce have checked on the server and the request log says:

 

 

 

<?xml version="1.0" encoding="UTF-8" ?> 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
 <soapenv:Body>
   <Authenticate xmlns="urn:authentication.soap.sforce.com"> 
     <username>sampleuser@sample.org</username>  
     <password>myPassword99</password>  
     <sourceIp>1.2.3.4</sourceIp>  
   </Authenticate> 
 </soapenv:Body> 
</soapenv:Envelope>

 

 

Response:

 

HTTP transaction to http://qa-extranet.geopostuk.com:80/EnterpriseDirectory/authenticate took 321 ms HTTP status code is 500 Server:Sun-Java-System-Web-Server/7.0
Date:Wed, 26 May 2010 16:43:23 GMT
X-powered-by:Servlet/2.5
Content-Type:text/xml;charset="utf-8"
Proxy-agent:Sun-Java-System-Web-Server/7.0
X-Cache:MISS from proxy-sjl.net.salesforce.com X-Cache-Lookup:MISS from proxy-sjl.net.salesforce.com:8080
Via:1.1 https-qa-customer, 1.0 proxy-sjl.net.salesforce.com:8080 (squid) Proxy-Connection:close

<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Client</faultcode><faultstring>Cannot find dispatch method for {urn:authentication.soap.sforce.com}Authenticate</faultstring></S:Fault></S:Body></S:Envelope>

 

 

I have also checked the Web Service logs but nothing appears to be getting that far. Does anyone have any idea what this message means or how to fix it?

 

Thanks

 

James

SuperfellSuperfell

It means the server got the SOAP message, but it doesn't know how to handle it, i.e. which java class to call. You should check you configs related to request to object mappings.