2016-08-02 69 views
0

通常的Web服務通過請求返回WSDL這樣的:如何通過向Siebel入站WebService請求獲取WSDL?

http://web_server_host.com/WS_virtual_folder/?wsdl

我創建的Siebel入站WS。 URL我WS的是這樣的:

http://web_server_host/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=SADMIN&Password=passwrd

有通過點擊按鈕「生成WSDL」產生在Siebel UI WSDL的可能性。 我試圖讓我的WS返回WSDL:我添加了一個參數& wsdl到我的WS的URL。 它不工作: 當我通過網絡瀏覽器請求的URL(僅URL被髮送,沒有皁消息) - 我得到的錯誤是這樣的:

<SOAP-ENV:Envelope> 
    <SOAP-ENV:Body> 
     <SOAP-ENV:Fault> 
      <faultcode>SOAP-ENV:Client</faultcode> 
      <faultstring>Supplied input is not well formed or does not contain the expected data.(SBL-EAI-00137)</faultstring> 
      <detail> 
       <siebelf:siebdetail> 
        <siebelf:logfilename>EAIObjMgr_enu_0026_27262989.log</siebelf:logfilename> 
        <siebelf:errorstack> 
         <siebelf:error> 
          <siebelf:errorcode>SBL-EAI-00137</siebelf:errorcode> 
          <siebelf:errorsymbol>IDS_EAI_WS_BAD_XML_DOCUMENT</siebelf:errorsymbol> 
          <siebelf:errormsg>Supplied input is not well formed or does not contain the expected data.(SBL-EAI-00137)</siebelf:errormsg> 
         </siebelf:error> 
         <siebelf:error> 
          <siebelf:errorcode>SBL-EAI-00246</siebelf:errorcode> 
          <siebelf:errorsymbol>IDS_XMLCNV_ERR_EMPTYMSG</siebelf:errorsymbol> 
          <siebelf:errormsg>XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments(SBL-EAI-00246)</siebelf:errormsg> 
         </siebelf:error> 
        </siebelf:errorstack> 
       </siebelf:siebdetail> 
      </detail> 
     </SOAP-ENV:Fault> 
    </SOAP-ENV:Body> 
</SOAP-ENV:Envelope> 

此響應(錯誤)是同樣兩個URL(帶或不帶參數& WSDL)

當我通過了SoapUI(皁消息被髮送)請求URL - 我得到兩個URL再次相同的響應(具有或不parametr & WSDL)

是否有這種可能性:通過請求URL從Siebel入站WS獲取WSLD? 我還沒有在書架上發現任何關於它的提及。

在此先感謝。 Sergey

回答

1

無法從諸如Axis服務之類的URL生成Siebel WSDL。唯一的方法是登錄到應用程序,然後單擊Webservices屏幕中的Generate WSDL按鈕。