com.intel.gpe.clients.api.workflow
Class Invocation
java.lang.Object
com.intel.gpe.clients.api.workflow.Invocation
- All Implemented Interfaces:
- Action
public class Invocation
- extends java.lang.Object
- implements Action
The invocation of some web-service
- Version:
- $Id: Invocation.java,v 1.5 2006/02/17 08:15:37 serduk Exp $
- Author:
- Alexander Lukichev
Constructor Summary |
Invocation(javax.xml.namespace.QName portType,
java.lang.String operation,
PartnerLink partnerLink,
Variable input,
Variable output,
java.util.Map parameters,
com.intel.gpe.util.xml.Namespaces namespaces)
Create the invocation action |
Method Summary |
void |
emitCode(Scope scope,
org.w3c.dom.Element target)
Emit the piece of code corresponding to the current action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Invocation
public Invocation(javax.xml.namespace.QName portType,
java.lang.String operation,
PartnerLink partnerLink,
Variable input,
Variable output,
java.util.Map parameters,
com.intel.gpe.util.xml.Namespaces namespaces)
- Create the invocation action
- Parameters:
portType
- The portType to be usedoperation
- The operation to invokepartnerLink
- The partner link to the resource which operation is to be invokedinput
- The variable where the request message is storedoutput
- The variable where to store the response messageparameters
- (GPE Extension) The parameters of the invocation (see InvocationParameters
)namespaces
- The namespaces
emitCode
public void emitCode(Scope scope,
org.w3c.dom.Element target)
throws java.lang.Exception
- Description copied from interface:
Action
- Emit the piece of code corresponding to the current action.
- Specified by:
emitCode
in interface Action
- Parameters:
scope
- The variable scope of the workflowtarget
- The XML DOM element to append the action code to
- Throws:
java.lang.Exception
- In a case of error
Copyright © 2008. All Rights Reserved.