0
我有一個xml,我試圖通過wslite發送到我的服務。我的服務端點,讓我們把它叫做https://development.net/InquiryService在grails中使用wslite返回客戶端 - 內部錯誤
現在,當我走過的soapUI發送以下電話,我得到正確的響應
<soapenv:Envelope //my header information>
<soapenv:Header>
<wsec:Security>
<wsec:PartnerToken>
<wsec:PartnerId>xxxx</wsec:PartnerId>
<wsec:Password>yyyy</wsec:Password>
</wsec:PartnerToken>
</wsec:Security>
</soapenv:Header>
<soapenv:Body>
<acc:retrieveUserAccount>
<acc:SystemInfo>
<sys:ServiceContext>
<sys:transactionId>123</sys:transactionId>
<sys:sourceLogicalId>zzzz</sys:sourceLogicalId>
</sys:ServiceContext>
</acc:SystemInfo>
<acc:accessRegistration>
<acc1:userId>xxxx</acc1:userId>
</acc:accessRegistration>
</acc:retrieveUserAccount>
</soapenv:Body>
</soapenv:Envelope>
當我送過Grails的服務請求,使用
withSoap(serviceURL:"https://development.net/InquiryService"){
def response = send {
serviceRequest
}
}
我得到wslite.soap.SOAPFaultException: env:Client - Internal Error
我已驗證的XML是完全一樣的,所以我不知道爲什麼這是行不通的。
我認爲問題是我需要在某處添加我的wsdl,但是在哪裏?