Ask a Question

Received json messages: no default action for resource method put

acnupinva
New Contributor

Received json messages: no default action for resource method put

When trying to submit a PUT method using the media type of application/json I receive the following JSON message

 

{
"Messages": ["No default action for resource incidentsforsoapui method PUT."],
"ReturnCode": 70
}

 

I'm new to using SoapUI and also new to JSON.  Is it possible that I have my JSON syntax incorrectly typed in.  Here is what I used.

 

{"Incident":{
"IncidentID":"IM31989",
"JournalUpdates":"Updating ticket using REST and changing status to Accepted.",
"Status":"Accepted",
//"Location":"One Meridian Crossings"
}
}

 

By the way I'm using SoapUI 5.2.1 and integrating with HP Service Manager 9.40

 

Please assist if you've had the same issue.  It's probably something easy that I missed.

2 REPLIES 2
TanyaYatskovska
Community Manager

Re: Received json messages: no default action for resource method put

Hi Acnupinva,

 

It looks like the service, which you send a request, doesn't accept PUT methods.

I suggest that you consult with the developers who created the service regarding this.

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
acnupinva
New Contributor

Re: Received json messages: no default action for resource method put

Hi Tanya,

 

Thank you for your response.  We have checked the web services for Incidents and we have RESTful services enabled and actions for PUT is turned on to update a record.  This will allow updates to records.  We tested this with a SOAP project that I've been working on and it works just fine.

 

If anyone else can provide feedback, please and thank you.

 

Here is the exact message that we are experiencing.

 

{
"Messages": ["No default action for resource incidentsforsoapui method PUT."],
"ReturnCode": 70
}

cancel
Showing results for 
Search instead for 
Did you mean: