2011-12-21 112 views
1

存在網址,還挺:獲取SOAP Web服務的Web服務元數據的

https://test.com/abc

打開網絡瀏覽器:,收到錯誤:

<?xml version="1.0" encoding="UTF-8" ?> 
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> 
<soap:Body> 
<soap:Fault> 
<soap:Code> 
<soap:Value>soap:Sender</soap:Value> 
</soap:Code> 
<soap:Reason> 
<soap:Text /> 
</soap:Reason> 
<soap:Detail> 
<gwerror:errorInfo xmlns:gwerror="http://test.com/error/faultdetail"> 
<gwerror:errorCode>0x00000000</gwerror:errorCode> 
<gwerror:description /> 
<gwerror:descriptionDetail>Request without message body blocked.</gwerror:descriptionDetail> 
<gwerror:errorPlace>KITS.GW.ERR</gwerror:errorPlace> 
</gwerror:errorInfo> 
</soap:Detail> 
</soap:Fault> 
</soap:Body> 
</soap:Envelope> 

如何我能得到這個服務的元數據? 或者我不需要元數據? 如何從我的.net應用程序調用此服務?

回答

0

這是來自服務器的響應消息,如果我沒有錯。錯誤代碼和消息意味着,那麼您的請求SOAP消息存在問題,並且....標籤內沒有任何內容,請再次檢查請求消息。