Permalink
Browse files

fixed in generated code

  • Loading branch information...
1 parent c78f771 commit b3f129f5a36558185dc1eb133b80a857f699f8ff @sigma sigma committed Oct 30, 2010
@@ -1,13 +1,12 @@
##################################################
# file: VSOWebControlService_client.py
-#
+#
# client stubs generated by "vmw.ZSI.generate.wsdl2python.WriteServiceModule"
# /home/yann/.virtualenvs/test/bin/wsdl2py -o vmw/vco/generated/ -w resources/wsdl/vco.wsdl.tpl
-#
+#
##################################################
-from VSOWebControlService_types import *
-import urlparse, types
+from vmw.vco.generated.VSOWebControlService_types import *
from vmw.ZSI.TCcompound import ComplexType, Struct
from vmw.ZSI.schema import GED, GTD
import vmw.ZSI
@@ -33,7 +32,7 @@ def __init__(self, url, **kw):
# op: find
def find(self, request, **kw):
if isinstance(request, findRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -43,7 +42,7 @@ def find(self, request, **kw):
# op: echo
def echo(self, request, **kw):
if isinstance(request, echoRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -53,7 +52,7 @@ def echo(self, request, **kw):
# op: echoWorkflow
def echoWorkflow(self, request, **kw):
if isinstance(request, echoWorkflowRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -63,7 +62,7 @@ def echoWorkflow(self, request, **kw):
# op: sendCustomEvent
def sendCustomEvent(self, request, **kw):
if isinstance(request, sendCustomEventRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -73,7 +72,7 @@ def sendCustomEvent(self, request, **kw):
# op: getWorkflowForId
def getWorkflowForId(self, request, **kw):
if isinstance(request, getWorkflowForIdRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -83,7 +82,7 @@ def getWorkflowForId(self, request, **kw):
# op: getAllWorkflows
def getAllWorkflows(self, request, **kw):
if isinstance(request, getAllWorkflowsRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -93,7 +92,7 @@ def getAllWorkflows(self, request, **kw):
# op: getWorkflowsWithName
def getWorkflowsWithName(self, request, **kw):
if isinstance(request, getWorkflowsWithNameRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -103,7 +102,7 @@ def getWorkflowsWithName(self, request, **kw):
# op: executeWorkflow
def executeWorkflow(self, request, **kw):
if isinstance(request, executeWorkflowRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -113,7 +112,7 @@ def executeWorkflow(self, request, **kw):
# op: simpleExecuteWorkflow
def simpleExecuteWorkflow(self, request, **kw):
if isinstance(request, simpleExecuteWorkflowRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -123,7 +122,7 @@ def simpleExecuteWorkflow(self, request, **kw):
# op: cancelWorkflow
def cancelWorkflow(self, request, **kw):
if isinstance(request, cancelWorkflowRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -133,7 +132,7 @@ def cancelWorkflow(self, request, **kw):
# op: getWorkflowTokenResult
def getWorkflowTokenResult(self, request, **kw):
if isinstance(request, getWorkflowTokenResultRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -143,7 +142,7 @@ def getWorkflowTokenResult(self, request, **kw):
# op: getWorkflowTokenForId
def getWorkflowTokenForId(self, request, **kw):
if isinstance(request, getWorkflowTokenForIdRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -153,7 +152,7 @@ def getWorkflowTokenForId(self, request, **kw):
# op: getWorkflowTokenStatus
def getWorkflowTokenStatus(self, request, **kw):
if isinstance(request, getWorkflowTokenStatusRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -163,7 +162,7 @@ def getWorkflowTokenStatus(self, request, **kw):
# op: answerWorkflowInput
def answerWorkflowInput(self, request, **kw):
if isinstance(request, answerWorkflowInputRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -173,7 +172,7 @@ def answerWorkflowInput(self, request, **kw):
# op: hasRights
def hasRights(self, request, **kw):
if isinstance(request, hasRightsRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -183,7 +182,7 @@ def hasRights(self, request, **kw):
# op: getAllPlugin
def getAllPlugin(self, request, **kw):
if isinstance(request, getAllPluginRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -193,7 +192,7 @@ def getAllPlugin(self, request, **kw):
# op: getAllPlugins
def getAllPlugins(self, request, **kw):
if isinstance(request, getAllPluginsRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -203,7 +202,7 @@ def getAllPlugins(self, request, **kw):
# op: findForId
def findForId(self, request, **kw):
if isinstance(request, findForIdRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -213,7 +212,7 @@ def findForId(self, request, **kw):
# op: findRelation
def findRelation(self, request, **kw):
if isinstance(request, findRelationRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
@@ -223,7 +222,7 @@ def findRelation(self, request, **kw):
# op: hasChildrenInRelation
def hasChildrenInRelation(self, request, **kw):
if isinstance(request, hasChildrenInRelationRequest) is False:
- raise TypeError, "%s incorrect request type" % (request.__class__)
+ raise TypeError("%s incorrect request type" % (request.__class__))
# no input wsaction
self.binding.Send(None, None, request, soapaction="", **kw)
# no output wsaction
Oops, something went wrong.

0 comments on commit b3f129f

Please sign in to comment.