def setup(self): self.xml.append(cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())) self.xml.append( cim_xml.IMETHODCALL( 'FooMethod2', LOCALNAMESPACEPATH(), [cim_xml.IPARAMVALUE('Dog', cim_xml.VALUE('Spottyfoot'))]))
def setup(self): self.xml.append( cim_xml.MULTIREQ([ cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())), cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())) ]))
def setUp(self): super(MultiReq, self).setUp() self.xml.append( cim_xml.MULTIREQ([ cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())), cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooMethod', LOCALNAMESPACEPATH())) ]))
def setup(self): self.xml.append( cim_xml.CIM( cim_xml.MESSAGE( cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('IntrinsicMethod', LOCALNAMESPACEPATH())), '1001', '1.0'), '2.0', '2.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'))
def setup(self): # IMETHODCALL self.xml.append( cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooIMethod', LOCALNAMESPACEPATH()))) # METHODCALL self.xml.append( cim_xml.SIMPLEREQ( cim_xml.METHODCALL( 'FooMethod', cim_xml.LOCALCLASSPATH(LOCALNAMESPACEPATH(), CLASSNAME()))))
def setUp(self): super(SimpleReq, self).setUp() # IMETHODCALL self.xml.append( cim_xml.SIMPLEREQ( cim_xml.IMETHODCALL('FooIMethod', LOCALNAMESPACEPATH()))) # METHODCALL self.xml.append( cim_xml.SIMPLEREQ( cim_xml.METHODCALL( 'FooMethod', cim_xml.LOCALCLASSPATH(LOCALNAMESPACEPATH(), CLASSNAME()))))