Forum Discussion

acnupinva's avatar
acnupinva
New Contributor
8 years ago

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

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    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.

     

    • acnupinva's avatar
      acnupinva
      New Contributor

      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
      }