I’m having trouble with a JIRA Jelly script that uses SOAP calls and can’t figure out what’s going wrong. The WSDL file itself is fine because it works when I test it with SOAP directly, but something in my Jelly implementation is broken.
hey bob, it seems ur soapAction is off. you should just use soapAction=‘’ on its own and remove that long header. try that and let me know if it helps!
Looking at your code, the main issue isn’t just the soapAction parameter - you’re mixing HTTP headers with SOAP parameters, which causes problems. I’ve worked with JIRA implementations before, and soap:invokeRaw works much better when you stick to clean SOAP parameters instead of throwing in raw HTTP header stuff. You can drop that actionHeader variable completely. Also, double-check your SOAP envelope namespaces - inconsistencies there will break things. I’ve had better luck using the default namespace without prefixes. Focus on getting the SOAP structure right instead of trying to manage HTTP headers manually.
Your soap:invokeRaw setup is the problem. You’re passing the entire HTTP header as the soapAction parameter - that’s wrong. The soapAction should only be the actual SOAP action value, not the full HTTP headers. I’ve dealt with similar JIRA Jelly SOAP integrations before. You need to separate the endpoint config from the SOAP action. Ditch the actionHeader variable completely and just use soapAction="" directly in your invokeRaw tag since your WSDL shows an empty SOAPAction. Also double-check that your namespace declarations in the SOAP envelope match your WSDL exactly. I’ve seen tiny namespace mismatches cause silent failures in Jelly SOAP calls, even when the same request works fine in other SOAP clients.