0
Webサービスコンシューマを使用して、Salesforce SOAPベースのWebサービスにMuleSfotを接続しようとしています。 SOAPUIを最初に試していますが、INVALID_SESSION_IDを取得するには、Salesforceでログインする必要がありますが、IDは取得できません。 お願いします!私はMuleをSalesforceのSOAPベースのWebサービスに接続する
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:="http://soap.sforce.com/schemas/class/WebService">
<soapenv:Header>
<AllowFieldTruncationHeader>
<allowFieldTruncation>false</allowFieldTruncation>
</AllowFieldTruncationHeader>
<DebuggingHeader>
<!--Zero or more repetitions:-->
<categories>
<category>All</category>
<level>None</level>
</categories>
<debugLevel>None</debugLevel>
</DebuggingHeader>
<CallOptions>
<client>?</client>
</CallOptions>
<SessionHeader>
<sessionId>?</sessionId>
</SessionHeader>
</soapenv:Header>
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>
を送っています
EDIT 1
リクエスト?クライアントにとっては問題ありません。 それは私が、私はそれを得た
RAW REQUEST
POST https://cs61.salesforce.com/services/Soap/class/WebService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 972
Host: cs61.salesforce.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
RAW応答
HTTP/1.1 500 Server Error
Date: Tue, 24 Jan 2017 04:18:15 GMT
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: reflected-xss block;report-uri /_/ContentDomainCSPNoAuth?type=xss
Content-Security-Policy: referrer origin-when-cross-origin
Set-Cookie: BrowserId=CdHsqmLzR3OFRklUfp1p3g;Path=/;Domain=.salesforce.com;Expires=Sat, 25-Mar-2017 04:18:15 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/xml; charset=utf-8
Transfer-Encoding: chunked
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sf="http://soap.sforce.com/schemas/class/WebService">
<soapenv:Body>
<soapenv:Fault>
<faultcode>sf:INVALID_SESSION_ID</faultcode>
<faultstring>INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
あなたが試したことと問題点をさらに投稿してください。生の要求と応答も追加します。 – Rao