クイック サマリー:
Taleo には、WebAPI WSDL で使用する URL を返すことになっている単一のオペレーション「Dispatcher WSDL」があります。その目的は、URL をすべての意図と目的のためにソフト コード化できるようにすることです。
getURL 操作の場合、WcfTestClient.exe の XML ビューは、SOAP エンベロープで URL が返されたことを示しています。
ただし、WcfTestClient.exe 形式のビューには
Name: (return) Value: ( null ) Type: NullObjectが表示されます。
私の c# vs2010 .NET 4 コード; taleoURL は常に null です
DispatcherAPIClient dispatcherClient = new DispatcherAPIClient("rpcrouter");
string taleoOrgCode = "TALEOSK";
string taleoURL = dispatcherClient.getURL(taleoOrgCode);
if (taleoURL == null) Console.WriteLine("null returned for " + taleoOrgCode);
WcfTestClient.exe からの XML 応答は次のとおりであるため、この null は奇妙です。
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" />
<SOAP-ENV:Body>
<ns1:getURLResponse xmlns:ns1="urn:TBEDispatcherAPI" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string">https://tbe.taleo.net/NA12/ats/services/rpcrouter</return>
</ns1:getURLResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
https://tbe.taleo.net/NA12/ats/services/rpcrouterは < return > 要素 の値です。
上記のリンクを使用できるようにするには、明らかに taleoURL が null でない必要があります。
Taleo API ガイドの 154 ~ 155 ページには、getURL が文字列 getURL(string orgCode)
http://tbe.taleo.net/products/TBE_API_Guide.pdf from
http://www.taleo.com/solutions/taleo-として定義されていると記載されています。 business-edition-web-integration-api
また
http://tbe.taleo.net/wsdl/DispatcherAPI.wsdl
http://tbe.taleo.net/wsdl/WebAPI.wsdl
DispatcherAPI.wsdl の要求/応答部分は次のとおりです。
<wsdl:message name="getURLRequest">
<wsdl:part name="orgCode" type="xsd:string" />
</wsdl:message>
<wsdl:message name="getURLResponse">
<wsdl:part name="getURLReturn" type="xsd:string" />
</wsdl:message>
私の最善の推測は、何かが足りないということです。
これは、私自身の無知が至福ではない場合です。
MSDN と Google は役に立ちませんでした。
ありがとう...ゲリー