Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SOAP request from SR

Andrey Permyakov April 5, 2022

Hello
can you help me send a SOAP request from the SR?

I tried this, but is not working:

@grab('com.github.groovy-wslite:groovy-wslite:1.1.2')
import wslite.soap.*

def url = "http://www.dataaccess.com/webservicesserver/numberconversion.wso"
def soapClient = new SOAPClient(url)
def message = new SOAPMessageBuilder().build({
body {
NumberToWords(xmlns: "http://www.dataaccess.com/webservicesserver/") {
ubiNum(123)
}
}
})
def response = soapClient.send(message.toString());
def words = response.NumberToWordsResponse
assert words == "one hundred and twenty three "

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2022 edited

Hi @Andrey Permyakov,

This question has been asked and answered previously in this community post.

For your information, the SOAP and XML-RPC support have been deprecated since Jira 6.0.

You will need to create a REST request to invoke the SOAP service.

Thank you and Kind regards,
Ram

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events