2014-08-29 141 views
0

我已使用JDeveloper 11g中的Web Services Wizard創建了PL/SQL SOAP Web Service。我能夠在Integrated Weblogic Server上成功部署它。之後,我可以在瀏覽器中啓動Weblogic Test ClientWeblogic - 使用測試客戶端測試SOAP Web服務

我然後部署Web服務到EAR使用部署檔案,用於web服務應用程序(使用JDeveloper)創建。 使用此EAR將服務部署到遠程開發weblogic受管服務器(注意:我正在使用Weblogic 10.3.5.0)。

部署成功,我也能夠啓動應用程序。部署狀態爲「活動」,健康狀態爲「正常」。 我也能夠看到我的web服務的動態WSDL。

這是我遇到問題的地方。 我無法使用Weblogic測試客戶端測試Web服務。當我點擊Web服務測試點時,出現404 Not Found錯誤。

有沒有人有啓動測試客戶端相同的問題?

感謝您的意見/建議!

Deployment DetailsError on clicking the web services end point

回答

0

讓自己的測試腳本肥皂:

<?php 
if(isset($_POST['request'])){ 
    $XML = $_POST['request']; 
    $URL = $_POST['url']; 
    $ch = curl_init("$URL"); 
    curl_setopt($ch, CURLOPT_HEADER, 1); 
    curl_setopt($ch,CURLOPT_POST,1); 
    curl_setopt($ch,CURLOPT_TIMEOUT, 60); 
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); 
    curl_setopt($ch,CURLOPT_POSTFIELDS,$XML); 
    $result=curl_exec ($ch); 
    curl_close($ch); 
} 
?> 

<form method="post" style="margin: 0; padding: 0;"> 
    <input name='url' type="text" placeholder="URL here" value="<?php if(isset($_POST['url'])) echo $_POST['url']; ?>" style="height: 10%; width:90%"> 
    <button style="width: 10%; height: 10%;">LOAD SOAP</button><br /> 
    <textarea style="width: 50%; height:90%;" placeholder='REQUEST HERE' name="request"><?php if(isset($_POST['request'])) echo $_POST['request']; ?></textarea> 
    <textarea placeholder="RESPONSE HERE" disabled="true" style="width: 50%; height:90%;"><?php if(isset($result)) echo $result; ?></textarea> 
</form>