def setup(self):

        self.xml.append(
            cim_xml.MULTIRSP([
                cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')),
                cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod'))
            ]))
Example #2
0
    def setUp(self):
        super(MultiRsp, self).setUp()

        self.xml.append(
            cim_xml.MULTIRSP([
                cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')),
                cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod'))
            ]))
    def setup(self):

        # METHODRESPONSE

        self.xml.append(cim_xml.SIMPLERSP(cim_xml.METHODRESPONSE('FooMethod')))

        # IMETHODRESPONSE

        self.xml.append(cim_xml.SIMPLERSP(
            cim_xml.IMETHODRESPONSE('FooMethod')))
Example #4
0
    def setUp(self):
        super(SimpleRsp, self).setUp()

        # METHODRESPONSE

        self.xml.append(cim_xml.SIMPLERSP(cim_xml.METHODRESPONSE('FooMethod')))

        # IMETHODRESPONSE

        self.xml.append(cim_xml.SIMPLERSP(
            cim_xml.IMETHODRESPONSE('FooMethod')))
Example #5
0
    def setUp(self):
        super(Message, self).setUp()

        # SIMPLEREQ

        self.xml.append(
            cim_xml.MESSAGE(
                cim_xml.SIMPLEREQ(
                    cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())),
                '1001', '1.0'))

        # MULTIREQ

        self.xml.append(
            cim_xml.MESSAGE(
                cim_xml.MULTIREQ([
                    cim_xml.SIMPLEREQ(
                        cim_xml.IMETHODCALL('FooMethod',
                                            LOCALNAMESPACEPATH())),
                    cim_xml.SIMPLEREQ(
                        cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH()))
                ]), '1001', '1.0'))

        # SIMPLERSP

        self.xml.append(
            cim_xml.MESSAGE(
                cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')),
                '1001', '1.0'))

        # MULTIRSP

        self.xml.append(
            cim_xml.MESSAGE(
                cim_xml.MULTIRSP([
                    cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod')),
                    cim_xml.SIMPLERSP(cim_xml.IMETHODRESPONSE('FooMethod'))
                ]), '1001', '1.0'))