Domanda

qualcuno sa che cosa di sbagliato con il seguente script Jira, gelatina + Sapone? Si supponga che il file WSDL è corretto, poiché funziona con il sapone direttamente.

    <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>
È stato utile?

Soluzione

  1. Cerca in tutti i registri, il JellyRunner scende occaisionally messaggi di errore in luoghi strani.
  2. Per inciso: thats un modo serio strano per inizializzare le stringhe. Prova:

http: // somehost: 9080 / newWSDLService / newWSDLPort

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top