You need to sign in to do that
Don't have an account?
Error calling salesforce
Hi, I have exposed salesforce webservice and when trying to hit sfdc
from siebel with generated session id here is the error the siebel
guys are getting.
Operation 'InsertAccount' of Web Service '_http://soap.sforce.com/
schemas/class/AccountWebService.AccountWebServiceService' at port
'AccountWebService' failed with the following explanation:
"INVALID_SESSION_ID: Invalid Session ID found in SessionHeader:
Illegal Session".(SBL-EAI-04308).
when trying to hit the url..it also gives me the status code like this..
405 GET not supported, this is a SOAP service, please use POST.
any inputs will be appreciated
Your session header is wrong, it not in the right namespace, and it uses a sessionId attribute and not a child sessionId element, see the WSDL for the exact details.
All Answers
Your sessionId is not valid, or is not in the correct element / namespace in the request. Can you show the xml of your request.
Hi Simon..Thanks for your prompt response..Here is the xml request..Also just to let you know when tried from soap UI, I was able to insert some accounts in sf. ur right, name space may be wrong. pls let me know what can be done.
<?xml version="1.0" encoding="UTF-8" ?>
Your session header is wrong, it not in the right namespace, and it uses a sessionId attribute and not a child sessionId element, see the WSDL for the exact details.
Thanks much Simon, I figured that out but unfortunately in Siebel there is no service to automatically generate sOAP Header and we will have to hard code and generate the header. i will work on it and try resending the request.
Hi,
I'm new to SalesForce
javax.xml.rpc.ServiceException: modeler error: failed to parse document at "https://login.salesforce.com/services/Soap/c/28.0/00590000001eXtVAAU": java.io.IOException: Server returned HTTP response code: 405 for URL:https://login.salesforce.com/services/Soap/c/28.0/00590000001eXtVAAU
I'm using webservices and i'm getting above exception when i try to use handlers to fetch Soap messages.
How to modify URL to call Post method.?
Any Ideas
Regrads
Chethan