http://www.salesforce.com/us/developer/resources/soap/sforce60/sforce_API_messages_login.html
http://www.salesforce.com/us/developer/resources/soap/sforce60/sforce_API_messages_update.html
Sample SOAP Messages-login
This topic provides the following sample SOAP messages for the login call:
Sample Request Message-login Call-Enterprise API
Sample Response Message-login Call-Enterprise API
Sample Request Message-login Call-Partner API
Sample Response Message-login Call-Partner API
Sample Request Message-login Call-Enterprise API
POST https://www.salesforce.com/services/Soap/c/5.0 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol
1.1.4322.573)
Content-Type: text/xml; charset=utf-8
SOAPAction: “”
Content-Length: 367
Expect: 100-continue
Host: http://www.salesforce.com
user@domain.com
secret
Sample Response Message-login Call-Enterprise API
HTTP/1.1 200 OK
Server: sfdc
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Date: Wed, 07 Jul 2004 17:36:19 GMT
false
https://blitzna1.eng.salesforce.com/services/Soap/c/5.0
D.GRN2nNCBqwYQEnIO8t0_jXlNKOSU
00530000000cJzKAAU
Sample Request Message-login Call-Partner API
POST https://www.salesforce.com/services/Soap/u/5.0 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol
1.1.4322.573)
Content-Type: text/xml; charset=utf-8
SOAPAction: “”Content-Length: 364
Expect: 100-continue
Proxy-Connection: Keep-Alive
Host: http://www.salesforce.com
user@domain.com
secret
Sample Response Message-login Call-Partner API
HTTP/1.1 200 OK
Server: Resin/3.0.s040331
Content-Type: text/xml; charset=utf-8
Connection: close
Transfer-Encoding: chunked
Date: Wed, 07 Jul 2004 16:26:26 GMT
false
https://blitzna1.eng.salesforce.com/services/Soap/u/5.0
c0l4g2lI.slq0uexTI3HIIuTTc9.wnYd0_jXlNKOSU
00530000000cJzKAAU
© Copyright 2000-2005 SalesForce.com, Inc.
All rights reserved · Various trademarks held by their respective owners.
Sample SOAP Messages-update
This topic provides the following sample SOAP messages for the update call:
Sample Request Message-update Call-Enterprise API
Sample Response Message-update Call-Enterprise API
Sample Request Message-update Call-Partner API
Sample Response Message-update Call-Partner API
Sample Request Message-update Call-Enterprise API
POST /services/Soap/c/5.0 HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1
Host: na1.salesforce.com
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: “”
Content-Length: 1022
uejMEgecf8yidA3zCFeT6baks1vDk8jUjXlNKO
SU
00130000002K9TrAAK
New Account Name from Update Sample
Name
SLFKJLFKJ
Sample Response Message-update Call-Enterprise API
HTTP/1.0 200 OK
Server: sfdc
Content-Type: text/xml; charset=utf-8
Date: Wed, 07 Jul 2004 18:14:38 GMT
00130000002K9TrAAK
true
bad id SLFKJLFKJ
MALFORMED_ID
false
Sample Request Message-update Call-Partner API
POST https://na1.salesforce.com/services/Soap/u/5.0 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol
1.1.4322.573)
Content-Type: text/xml; charset=utf-8
SOAPAction: “”
Content-Length: 978
Expect: 100-continue
Host: na1.salesforce.com
4I1yNabX_5FyOGOnuFO64VpRP0791eQNk_jXlNKOSU
Account
00130000002K9QgAAK
New Account Name from Update Sample
Account
Name
S:DLFKJLFKJ
Error
Sample Response Message-update Call-Partner API
HTTP/1.1 200 OK
Server: sfdc
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
Date: Wed, 07 Jul 2004 16:48:07 GMT
00130000002K9QgAAK
true
bad id S:DLFKJLFKJ
MALFORMED_ID
false
© Copyright 2000-2005 SalesForce.com, Inc.
All rights reserved · Various trademarks held by their respective owners.
发表评论