ServiceDesk

 View Only
  • 1.  Need more details on how to setup Web Services

    Posted Feb 22, 2012 12:53 AM
      |   view attached

    Its Late and I must be missing something simple. 

     

    I am trying to set up a report schedule - 

    I have the report set up 

    assigned to a schedule

    Just blanking on the instructions for Web SErvices. I searched on here and didnt find anything. 

    page 366 of sd 7.1 sp1 instructions and page 51 of the customization guide. 

     

    To set up or modify Web Service access for standard reports
     
     
    1 In the ServiceDesk portal, click Reports.
    2 On the Reports page, do one of the following:
    ■ Create a new report.
    See “Creating a standard report” on page 361.
    ■ Modify an existing report.
    See “Modifying standard reports” on page 369.
    3 In the Add/Edit Standard Report dialog box, click the Web Services tab.
    See “Add/Edit Standard Report dialog box” on page 366.
    4 On the WebService tab, click the check box to enable programmatic access
    to the report. To enable WebService Access, enter the following information:
    The namespace for the WebService and the objects that are
    used in the web service.
    Namespace
     
    Namespace URL The URL for the namespace.
    A name that describes the service, such as
    “OpenIncidentsThisMonthReport”.
    WebService Name
    The results of the report are an array of the class name that
    is supplied here. The class name has public properties for
    each of the columns in the report.
    Class Name
    Click Generate to compile the WebService and deploy it to a URL.
    The URL is displayed on the screen and can be used to access the WebService.
    When report data changes, you need to generate the WebService again to
    update the class.
    5 Click Save.
     
     
    For Webservice Information I have the following 
     
    Namespace: ProcessManager.Reports
    Namespace URL:http://LocalHost/ProcessManager/Reports/ReportScheduleList.aspx
    Webservice Name: Unknown_Location
    Class Name: StandardReportViewerWebPart
     
    I keep getting Object reference not set to an instance of a an object
     
    The report shows correctly when I go to the Url and I get my report so I know that works. Just missing how to connect the two 


  • 2.  RE: Need more details on how to setup Web Services

    Posted Mar 15, 2012 02:23 AM

    can anyone help out on this? 



  • 3.  RE: Need more details on how to setup Web Services

    Posted Mar 15, 2012 04:58 PM

    I never setup web services for my scheduled reports.  They seem to be working just fine.  Have you tried to see if they will work as is?



  • 4.  RE: Need more details on how to setup Web Services

    Posted Mar 15, 2012 11:28 PM

    Ok 

    the instructions are wrong . to run a report on a schedule you dont need to create a web services. Now I have a email issue with SMTP  sigh 

     

    I also opened a ticket for webservices as the are only being created for out of the box reports. if you modify a report is does not create the webservices correctly 



  • 5.  RE: Need more details on how to setup Web Services

    Posted Mar 16, 2012 11:20 AM

    This is not the first time they've told us Servicedesk is supposed to act a certian way and it doesn't.

     

    What error are you getting regarding SMTP?



  • 6.  RE: Need more details on how to setup Web Services

    Posted Mar 21, 2012 10:10 PM

    Got SMTP to work - 

    1. had to turn off SMTP blocking on McAfee 

    2. Email exchange guy made the Servicedesk ip as a excepted sender along with a reley point.