soap - using wslite in grails returning client - Internal Error -
i have xml trying send via wslite service. service endpoint, lets phone call https://development.net/inquiryservice
now when send next phone call through soapui, right response
<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> when send service request through grails, using
withsoap(serviceurl:"https://development.net/inquiryservice"){ def response = send { servicerequest } } i wslite.soap.soapfaultexception: env:client - internal error
i have validated xml same, i'm not sure why isn't working.
i think issue need add together wsdl somewhere, where?
if servicerequest variable string, next should work:
def response = send(servicerequest) the braces causing pass closure send if servicerequest string don't want happen.
grails soap groovy
No comments:
Post a Comment