ServiceDesk

 View Only
  • 1.  Using CreateIncidentAdvanced Web Service

    Posted Jun 04, 2012 04:17 PM

    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/IncidentManagement.asmx , 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?

    Thanks.

    Luis.



  • 2.  RE: Using CreateIncidentAdvanced Web Service

    Posted Jun 04, 2012 04:38 PM

    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.



  • 3.  RE: Using CreateIncidentAdvanced Web Service

    Posted Jun 04, 2012 04:38 PM

    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.



  • 4.  RE: Using CreateIncidentAdvanced Web Service

    Posted Jun 04, 2012 06:29 PM


  • 5.  RE: Using CreateIncidentAdvanced Web Service

    Posted Nov 07, 2012 12:35 PM

    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).

    Luis.