Video Screencast Help

Using CreateIncidentAdvanced Web Service

Created: 04 Jun 2012 | 4 comments

Hi everybody,

I have a really big problem. I need to create about 200 recurring tickets in differents schedules (per month). I'm trying to use the web service Incident Management  for doing this, but I have two problems.

  1. I'm trying to use the "Web Service Caller" Component and I put this address: Http://localhost/SD.IncidentManagement/IncidentMan..., but it only let me select CreateIncidentSimple model, and no CreateIncidentAdvanced.
  2. I was trying to make the call to this Web Service from a Job/Task in the Notification Server. I'm able to make the call, but I don't know what are the obligatory fields I need to fill.

Can you help me in any of this ways? Do you know another way for making a recurring ticket in a scheduled way?



Comments 4 CommentsJump to latest comment

reecardo's picture

Just a guess, I would open the Incident Management project and click Models under Project properties. Make sure the model you want exposed as a service has Invocation Target checked. Then republish Incident Management and check if it appears (NOTE: I have no idea what other side effects this can cause)

As far as creating a ticket "spammer", you can programmatically do it in Visual Studio, or use test tools like Chromium. You might have more success with the SMP if the above works, however.

luis_7a15's picture

Hi reecardo. Thanks for your reply.

It's checked by default in Incident Management. The same thing happens in SD.Data Service. It has a lot of model, most of them are checked in "Invocation Target", but only a little are published as a Web service when you try to call it with "Web Service Caller".


luis_7a15's picture

thanks CNWilliams, but I'm not being able to use the webservice. In that example, they only use Simple Incident Webservice, but I need to use the advanced one, because I need to add a lot of other information to the ticket. 

I tryed to do it by myself but I got a lot of error saving it, about format (date and boolean variables).