How can i discover a method in a web service as scom object

i have created a wcf service and i have different methods in that web service, i need to discover every method  using scom management pack and show that the data returned by those methods as scom data ,health state ,performance view etc.
how can i get started with that.
i have  powershell script to  get that data but how do i add them as classes and objects in the scom
Thanks & Regards, Suresh Gaddam

Hi,
First of all you should think about which classes you need. If you are new to Management Pack Development you should enjoy the MP Development Video Series on Channel 9
http://channel9.msdn.com/Series/System-Center-2012-R2-Operations-Manager-Management-Packs
If you already have a script to get the information you need and have already designed you classes you can create a Powershell.Discovery.Script to discover the data to SCOM. Have a look on Modul 11 in the Video Series.
Cheers,
Christoph
Blog: http://blog.cmaresch.at/  Twitter:
  LinkedIn:
  XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • How to create a generic method which invokes Web Service

    Hi I have a question how to create Web Service client. In design mode I can't specify static url ?WSDL and process.
    I found briliant method in apache cxf library.
    for example
    JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
    Client clientA = dcf.createClient("http://soabpm-vm:8001/soa-infra/services/default/MailSender/mailsender_client_ep?WSDL");
    Object[] resultA;
    try{
    resultA = clientA.invoke(new QName("http://xmlns.oracle.com/SynchDSBpel20/MailSender/MailSender", "process"), "@", "body", "topic");
    }catch (Exception e){}
    In my case I should create a method with params (urls ?WSDL, URI, operetion name, param1, praram2, param3)
    Is there anything like CXF in ADF library's?

    This can be very easily done using a web service proxy (Select web services from the categories and web service proxy from the items).
    In the "Create Web Service Proxy" wizard, make sure you select JAX-WS client style. JDeveloper will use the JAX-WS web service API and JAXB (Java Architecture for XML Binding) to generate all required classes and methods required to call a web services, binding Java method signatures to WSDL messages and operations.
    Regards
    Antonis

  • How can I test my Query As A Web Service?

    Hi,guru:
        I have created my Web Service based on universe which based on SAP BW query using Query As A Web Service Designer, but when I use it in Dashboard on BOBJ platform by passing a parameter to the Web Service, it seems no response from the Server,I made 2 test steps:
        1.Pass a value to the input parameter,I checked by ST01 in BW Server and see no records of the action, and no result return.
        2.Pass a blank to the input parameter,I checked by ST01 in BW Server and got many records,and all data be retrived.
        It seems that when I passed the parameter,the Web Service seems no response and didn't run at all. Is there anybody who can tell me how can I test the Web Service,I want to test it and input my parameter.
        Thanks very much for your quick response.
    Best Regards
    Martin Xie

    Hi Martin,
    Check the following link which might be helpful:
    1657208 - "No object returned; you either have not put objects in the result pane or your query is incorrect" when using QAAWS and KEYDATE variable in BI4.x
    How to use Prompt in xcelsius of BIWS
    Regards,
    Noopur

  • How can extra tags be removed when creating web services

    Greetings,
    If the "tables" of the function call (which a web service is generated from) has all the returned values with the correct tag but it also has the tag for the table name, how can the table name tag be eliminated before submitting the message?
    Here is the scenario: can create a function call and generated a web service from it.  The import and export values have the proper tags.  However, the return values needs to be in a table.  when the message is generated,
    - tags for each value in the returned table is generated also
    - tags for the table name is also generated.  in the below example, how can the tags for <ttable> </ttable>and <item> </item> be removed prior to submitting the message?
    FUNCTION zquery
      IMPORTING
        VALUE X TYPE  X1
    EXPORTING
       VALUE(RETURN) TYPE  BAPIRET2
    TABLES
          Ttable STRUCTURE  zstructure
    soap generated:
    <Ttable>
    <item>
    <title></title>
    <FirstName></FirstName>
    <MiddleName></MiddleName>
    <HouseNumber></HouseNumber>
    <Street></Street>
    <City></City>
    <State></State>
    <Zip></Zip>
    </item>
    </Ttable>
    Thank you in advance for any suggestions
    B.A.

    If you click the bookmarks menu item in the window, on the left, you should be able to select and delete the separators, on the right.

  • How can HTTP Response be verified in OATS web services module?

    I am using OATS web services module and get an HTTP Response back.
    I want to verify the whole response node/element not just a single element or attribute in the response.
    How can this be done in OATS? I have tried using [Text Matching Tests] and [XPath Tests] with no luck.
    Using OATS 9.3.x
    Edited by: 903287 on Jan 4, 2012 10:58 AM
    Edited by: 903287 on Jan 4, 2012 10:58 AM

    You can try saving the response in String and compare the same with the expected output.
    For example
    // You request
    String str = http.getLastBrowserResponse().getContents();
    if (str.indexOf("Expected text goes here--")==-1)
    // Error. You expected text not found on response.
    Try the same and let us know.
    Thanks,
    Thiru

  • How can prevent http chunks receiving in a web service response?

    Hi guys,
    I'm developing a WS client mobile application, which consumes a Web Service (java based).
    Usually it works fine, but sometimes in the clinet I get: java.rmi.MarshalException: Unexpected Exception : unexpected end of stream
    This error occur when some big data has to be received from the server.
    I've done some research on this problem and find that this is caused because of sending of th response via HTTP chunks. Somehow the server and client sides does not
    communicates as expected.
    I have no access to the Web service implementation.
    Is there a workaround to solve this problem on the client side?
    Can I force WS client to not receive the response in http chunks?
    Thanks

    I managed to fix it by using the well known pattern:
    Web Service on the server(1) <--> Web Application(2) <--> Mobile Client(3).
    For communication between (1) and (2) was by using WS, and between (2) and (3) was made by plain http connection. Now the application is portable and don't have any limitations.
    radarada, thanks for the advice. It may work, may be I can try it when I have some time.
    Vladdy

  • How can I store the result of a Web service in a page or application item?

    Apex 3.1 Database 10.g release 2
    I have successfully created and tested a web service.
    I have created a web service process on the page and I can see that it is being run by setting the debug flag.
    I want to return the results of this to a page or application item.

    Well I'm not storing anything. But the Web service has the information I require.
    (So then I will always show the same build number on the java application and the reports application).
    We currently have a jsp page which gets the build number and this is displayed on the main application. I need to show the same build number on the apex application, so I thought that since this information is supplied by the web service I may as well call it.
    So far, the options appear to be:
    i) Change the web service so that it uses parameters (well at least one just for me)
    ii) call the web service with JavaScript and parse the response file.

  • How can i records with date format using web services?

    Hello
    I can't record date records using web services. I get no message errors.
    I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
    Regards
    Arturo

    hello,
    That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
    I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
    Regards for your comments
    Arturo
    Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
    Dim oLog As New Log()
    Dim IdLog As Integer
    Dim NumSerie As String = ""
    Try
    oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
    IdLog = oLog.GetLastId()
    Dim sr_input As Opportunity.OpportunityUpdate_Input
    Dim sr_output As Opportunity.OpportunityUpdate_Output
    sr_input = New Opportunity.OpportunityUpdate_Input
    Dim sr(1) As Opportunity.OpportunityData
    sr(0) = New Opportunity.OpportunityData
    NumSerie = fila("NumeroSerie").ToString().Trim()
    sr(0).ExternalSystemId = NumSerie
    sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
    sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
    sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
    sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
    sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
    sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
    sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
    sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
    'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
    'sr(0).CustomObject7ExternalSystemId = fila("")
    Dim lofsr As Opportunity.ListOfOpportunityData
    lofsr = New Opportunity.ListOfOpportunityData
    lofsr.Opportunity = sr
    sr_input.ListOfOpportunity = lofsr
    sr_output = oOpportunity.OpportunityUpdate(sr_input)
    oLog.Update_Log(IdLog, "Si", NumSerie, "")
    Catch ex As SoapException
    Me.txtError.Text = ex.Detail.InnerText.ToString()
    oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
    End Try
    End Sub
    ************************************************************************

  • How to call Jive Search methods using REST Web Services from ADF

    Hi
    Can someone provide me an example to call JIVE Search using REST web services from Webcenter ADF.
    As we have the similar facility to call UCM Search from WebServices DataControl.
    Do we have anything similar like this for JIVE Search?
    JIVE 5.1 is deprecating SOAP style web services and so I am planning to use REST.
    Any suggestions on this is much appreciated.
    Many Thanks
    Khad

    so what exactly is the problem here?
    what is not working?

  • How to execute XML batch commands using SharePoint Web services or Client Object Model

    Hi,
    I have a requirement to execute some batch commands to update SharePoint View Style, how can i do it using SharePoint webservices or SharePoint Client Object model.
          I need to execute the following Batch command over a particular web.
    <Method ID="UpdateView">
      <SetVar Name="Cmd">UpdateView</SetVar>
      <SetList Scope="Request">{GUID of List}</SetList>
      <SetVar Name="View">{GUID of View}</SetVar>  
      <SetVar Name="ViewStyle">6</SetVar>
      <SetVar Name="RowLimit">100</SetVar>
      <SetVar Name="Paged">TRUE</SetVar>
    </Method>

    Hi
    I tried it already... But UpdateView Method in the Views.asmx and Lists.asmx, both are not supporting for updating the style of the view (like Boxed, Newsletter...).
    If you have any code sample which will do this job with any of the SharePoint web services, please share it..

  • How can I create a method with throws  instruction

    Hello Everybody!
    How can I create this method inside WebDynpro.
    I enter "throws CloneNotSupportedException" manually an it removes always.
    What is wrong ?
    public java.lang.Object clone( ) throws CloneNotSupportedException{
        //@@begin clone()
         __Tdag__Is_Charactconfig that= (__Tdag__Is_Charactconfig)super.clone();
           return that;
        //@@end
    Regards
    sas

    I only checked in my 7.1 IDE and there this section exists.
    If it does not exist in your IDE, just create the method manually in the //@@begin others ... //@@end user-coding-area at the end of the controller class. This solves the issue for methods that are called from inside the controller. For public methods to be called from other controllers, this will not help.
    Armin

  • How can i access the methods if i only got the java class file?

    just like what the topic said...i would like to ask if i only got the class file of java without API documentation. how can i know what method is included ?
    thanks a lot.
    my email address is : [email protected]

    Class.getMethods()
    throws SecurityException
    Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces. The elements in the array returned are not sorted and are not in any particular order. This method returns an array of length 0 if this Class object represents a class or interface that has no public member methods, or if this Class object represents an array class, primitive type, or void.

  • How can I discover a color saturation in an image?

    My name is Eduardo, from São Paulo/Brazil. I'd like know how can I discover a color saturation in an image? For example, I open an image in photoshop CS6 and I'd like to know what a color is more saturated for after to do a treatment with color balance. I tried to use a Color Sample Tool in Photoshop, tried to find some articles and techiques on Google, but without success.
    Somebody help me?

    Hi Eduardo,
    Try looking at the Color window.  You can find this by going to Window -> Color.  In the Color window, you can use the eyedropper to select a color and see the color information displayed.  See the screenshot. 
    Hope this helps!

  • How can I execute a method on a specified time?

    How can I execute a method on a specified time such as method1() will be executed on 1:00 p.m and the method2() will be executed in 1:00 a.m?

    BilgeTonyukuk99 wrote:
    How can I execute a method on a specified time such as method1() will be executed on 1:00 p.m and the method2() will be executed in 1:00 a.m?As a simple example, take a look at http://www.javapractices.com/topic/TopicAction.do?Id=54.
    As an alternative (and looks like better approach), you could use the ScheduledThreadPoolExecutor.

  • How can i pass rowiterator method

    hi how can i pass rowiterator method
    i got below method how can i pass it to my postchanges mothod e.g
    SmsPropertiesImpl property = getSmsProperties();
    am in jdeveloper 11.1.2.1.0
    public class SmsPartyAddressImpl extends EntityImpl {
        public RowIterator getSmsProperties() {
            return (RowIterator)getAttributeInternal(SMSPROPERTIES);
        public void postChanges(TransactionEvent e) {
            /* If current entity is new or modified */
            if (getPostState() == STATUS_NEW ||
            getPostState() == STATUS_MODIFIED) {
            /* Get the associated property for the postaladdress */
           // SmsPropertiesImpl property = getSmsProperties();
            //SmsPropertiesImpl property  = getSmsProperties();
                SmsPropertiesImpl property = new SmsPropertiesImpl();
               // SmsPartyAddressImpl property = new SmsPartyAddressImpl();
            /* If there is an associated property */
            if (property != null) {
            /* And if its post-status is NEW */
            if (property.getPostState() == STATUS_NEW) {
            * Post the property first, before posting this
            * entity by calling super below
            property.postChanges(e);
            super.postChanges(e);
    }

    hi how can i pass rowiterator method
    i got below method how can i pass it to my postchanges mothod e.g
    SmsPropertiesImpl property = getSmsProperties();
    am in jdeveloper 11.1.2.1.0
    public class SmsPartyAddressImpl extends EntityImpl {
        public RowIterator getSmsProperties() {
            return (RowIterator)getAttributeInternal(SMSPROPERTIES);
        public void postChanges(TransactionEvent e) {
            /* If current entity is new or modified */
            if (getPostState() == STATUS_NEW ||
            getPostState() == STATUS_MODIFIED) {
            /* Get the associated property for the postaladdress */
           // SmsPropertiesImpl property = getSmsProperties();
            //SmsPropertiesImpl property  = getSmsProperties();
                SmsPropertiesImpl property = new SmsPropertiesImpl();
               // SmsPartyAddressImpl property = new SmsPartyAddressImpl();
            /* If there is an associated property */
            if (property != null) {
            /* And if its post-status is NEW */
            if (property.getPostState() == STATUS_NEW) {
            * Post the property first, before posting this
            * entity by calling super below
            property.postChanges(e);
            super.postChanges(e);
    }

Maybe you are looking for

  • How to control a MacBook Pro remotely with ARD?

    I have ARD set up and installed, but I'm not sure how to set up a connection with the MBP so I can control and observe the MBP with ARD. Looking for a easy tutorial for a beginner in ARD.

  • How to create a Parameter with LOV

    Hello All, I am having the follwoing custom query. SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT FROM gl_balances a, gl_code_combinations_kfv b where period_name='Apr-08' and a.code_combination_id = b.code_combination

  • Compare String in a table and insert the common values into a New table

    Hi all, Anyone has idea on how to compare a string value in a table. I have a Students Table with Student_id and Student_Subject_list columns as below. create table Students( Student_id number, Student_Subject_list varchar2(2000) INSERT INTO Students

  • Need user exist?

    Hello,  Need user exist in RFFOEDI1 to create custom segment to populate some  fileds. If any one done this type requirement please let me know the user exist. Thanks, chinna

  • My home button doesnt work; any suggestions?

    I got my ipod in November, well it worked just great til one day the home button just stopped working, it wasnt from a drop; it just stopped. ive restored reset charged my ipod. nothing helped. any suggestions? please and thankyou.