0
GroovyとImには新しく、Grailsアプリケーションで作業しています。その後何も、その後なぜこのwslite SOAPクライアントコードは機能しませんか?
def client = new SOAPClient(apiEndpoint) println "SOAP client is ${client.dump()}" try { def response = client.send(SOAPAction: 'GetService') { body { "Request" { "Username"(credentials.userId) "Password"(credentials.password) "Param1"(code) "Param2"(location) "Items" { "Item" { "ItemParam1"("some data") "ItemParam2"(some more data) } } } } } } } catch (SOAPFaultException sfe) { println "${sfe.dump()}" } catch (SOAPClientException sce) { println "${sce.dump()}" } println "${response.dump()}"
最初println
作品が、私はwslite
パッケージを使用してイムので、SOAP呼び出しを行う必要がありませんが、次のコードは、何もする表示されません。