Hi,
Im trying to connect to a WeBServer but in Genesys i get the HTTP/1.1 500 Server Error!
Whein I try to get the information by SoapUI, i receive the response!
I taked a look in the WSDL archive and i realize that Genesys does not creat the same script than SoapUI!
Here we have the script by SOAP:
<soapenv:Envelope
xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/”
xmlns:web=“http://soap.sforce.com/schemas/class/WebServiceGetClientInfo”>
soapenv:Header
web:SessionHeader
web:sessionId00Do0000000aXf1!ARUAQKOPZVbE6n.rxgPfsskiTCOTdgA9xidNR2MzOYDcIaQ33mEW7KRVbnaWcNOpGsCbxhqByDWlQzguzKXqYYlvwbAt7jNi</web:sessionId>
</web:SessionHeader>
</soapenv:Header>
soapenv:Body
web:getClientInfo
web:docNum27822261</web:docNum>
</web:getClientInfo>
</soapenv:Body>
</soapenv:Envelope>
It looks like good, and works!
Here when is created by genesys (from LOG FILE)
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/”
xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:tns=“http://soap.sforce.com/schemas/class/WebServiceGetClientInfo”>
<SOAP-ENV:Body SOAP-ENV:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”>
tns:getClientInfo
00Do0000000aXf1!ARUAQKOPZVbE6n.rxgPfsskiTCOTdgA9xidNR2MzOYDcIaQ33mEW7KRVbnaWcNOpGsCbxhqByDWlQzguzKXqYYlvwbAt7jNi
27822261
</tns:getClientInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When i execute this, i have INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session
as you can see here in log file!
URL: https://na17.salesforce.com/services/Soap/class/WebServiceGetClientInfo
SOAP Action:
HTTP Auth: Anonymous
WS-Security: No
Method: tns:getClientInfo
Namespace: tns=http://soap.sforce.com/schemas/class/WebServiceGetClientInfo
List Tags:
key SessionHeader
value: (size=130)
key sessionId [String] value: “00Do0000000aXf1!ARUAQKOPZVbE6n.rxgPfsskiTCOTdgA9xidNR2MzOYDcIaQ33mEW7KRVbnaWcNOpGsCbxhqByDWlQzguzKXqYYlvwbAt7jNi”
key getClientInfo value: (size=23)
key docNum [String] value: “27822261”
Result: getClientInfoResponse.result
06/06/16@16:12:55.091: [HTTP Client 016d9784] Connecting to https://na17.salesforce.com/services/Soap/class/WebServiceGetClientInfo
Certif: (null)
Certif Key: (null)
Trusted CA: (null)
Client Auth: 0
Secure connection is established. type ‘client’, info ‘208-96.43.151.60:443’, issuer ‘C=US, O=Symantec Corporation, OU=Symantec Trust Network, CN=Symantec Class 3 Secure Server CA - G4’, subject ‘C=US, S=California, L=San Francisco, O=“Salesforce.com, Inc”, OU=Applications, CN=*.salesforce.com’
06/06/16@16:12:55.753: [HTTP Client 016d9784] Connected on socket 208
06/06/16@16:12:55.753: [HTTP Client 016d9784] Request sent:
POST /services/Soap/class/WebServiceGetClientInfo HTTP/1.1
Host: na17.salesforce.com:443
User-Agent: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 727
Connection: keep-alive
SOAPAction: “”
<SOAP-ENV:Envelope xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:tns=“http://soap.sforce.com/schemas/class/WebServiceGetClientInfo”><SOAP-ENV:Body SOAP-ENV:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”>tns:getClientInfo00Do0000000aXf1!ARUAQKOPZVbE6n.rxgPfsskiTCOTdgA9xidNR2MzOYDcIaQ33mEW7KRVbnaWcNOpGsCbxhqByDWlQzguzKXqYYlvwbAt7jNi27822261</tns:getClientInfo></SOAP-ENV:Body></SOAP-ENV:Envelope>
06/06/16@16:12:55.986: [HTTP Client 016d9784] Received 707 bytes from server on socket 208:
HTTP/1.1 500 Server Error
Date: Mon, 06 Jun 2016 19:12:55 GMT
Set-Cookie: BrowserId=HLBBKjYGSwqX6lrWtSXaCA;Path=/;Domain=.salesforce.com;Expires=Fri, 05-Aug-2016 19:12:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
19E
<?xml version="1.0" encoding="UTF-8"?>sf:INVALID_SESSION_IDINVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session06/06/16@16:12:55.986: [HTTP Response 016d9798] Chunked transfer encoding
06/06/16@16:12:55.986: [HTTP Client 016d9784] Received 5 bytes from server on socket 208:
0
06/06/16@16:12:55.986: [HTTP Client 016d9784] Response received
06/06/16@16:12:55.986: [SOAP Client 016d9740] SOAP Fault, faultcode: ‘tns:INVALID_SESSION_ID’, faultstring: ‘INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session’, faultsubcode ‘tns:INVALID_SESSION_ID’, faultdetail ‘’
06/06/16@16:12:55.986: [SOAP Handler 016d9700] Ref 130. Next attempt to contact Web Service in 10 seconds
Anybody saw something about it!?
i tried to search in genesys documentation but i can’t find anything!
Thanks
Genesys URS 8.1.300.30
IRD: 8.1.300.22
WSDL Archive Type: Document