以下 JIRA Jelly 有什么问题吗? 肥皂脚本?
有人知道下面的 Jira、Jelly + Soap 脚本有什么问题吗? 假设 WSDL 文件是正确的,因为它直接与soap 一起使用。
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:soap="jelly:soap">
<core:new var="endpointvar" className="java.lang.String">
<core:arg type="java.lang.String" value="http://somehost:9080/newWSDLService/newWSDLPort"/>
</core:new>
<core:new var="Saction" className="java.lang.String">
<core:arg type="java.lang.String" value="POST http://somehost:9080/newWSDLService/newWSDLPort HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ''
User-Agent: Jakarta Commons-HttpClient/3.1
Host: somehost:9080
Content-Length: 308"/>
</core:new>
<soap:invokeRaw endpoint="${endpointvar}" soapAction="${Saction}" var="answer">
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:new="http://j2ee.netbeans.org/wsdl/BpelModuleJira/newWSDL">
<soapenv:Header/>
<soapenv:Body>
<new:newWSDLOperation>
<part1>Hello</part1>
</new:newWSDLOperation>
</soapenv:Body>
</soapenv:Envelope>
</soap:invokeRaw>
</JiraJelly>
anyone knows what wrong with the following Jira, Jelly + Soap script?
Assume the WSDL file is correct, since it works with soap directly.
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib" xmlns:core="jelly:core" xmlns:soap="jelly:soap">
<core:new var="endpointvar" className="java.lang.String">
<core:arg type="java.lang.String" value="http://somehost:9080/newWSDLService/newWSDLPort"/>
</core:new>
<core:new var="Saction" className="java.lang.String">
<core:arg type="java.lang.String" value="POST http://somehost:9080/newWSDLService/newWSDLPort HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ''
User-Agent: Jakarta Commons-HttpClient/3.1
Host: somehost:9080
Content-Length: 308"/>
</core:new>
<soap:invokeRaw endpoint="${endpointvar}" soapAction="${Saction}" var="answer">
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:new="http://j2ee.netbeans.org/wsdl/BpelModuleJira/newWSDL">
<soapenv:Header/>
<soapenv:Body>
<new:newWSDLOperation>
<part1>Hello</part1>
</new:newWSDLOperation>
</soapenv:Body>
</soapenv:Envelope>
</soap:invokeRaw>
</JiraJelly>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
<core:set var="endpointvar">http://somehost:9080/newWSDLService/newWSDLPort</core:set>