public interface SOAPWebServiceOperation
SOAPWebServiceOperation
can be used to invoke a specific operationModifier and Type | Method and Description |
---|---|
QName |
getName()
get the operation-name
|
static SOAPWebServiceOperation |
getOperation(String service,
String operation)
Get the registered
SOAPWebServiceOperation from the SOAPWebService with the passed IDs |
Element |
getPayload(Map<String,? extends Object> payload)
This method mixes the passed payload into the skeleton and returns the XML that will be sent
|
SOAPWebService |
getWebservice()
return the
SOAPWebService this operation belongs to |
Element |
invoke(Element payload)
Invoke the webservice with the passed payload
|
Map<String,Object> |
invoke(Map<String,? extends Object> payload)
Invoke the webservice and send the passed payload
|
Element |
invokeWithDMSAttachments(Element payload,
List<Pair<String,DMSDocForm>> attachments)
Invoke the webservice with the passed payload and attachment content that should be
attached to the webservice request
|
Element |
invokeWithFileAttachments(Element payload,
List<Pair<String,File>> attachments)
Invoke the webservice with the passed payload and files that should be
attached to the webservice request
|
static SOAPWebServiceOperation getOperation(String service, String operation)
SOAPWebServiceOperation
from the SOAPWebService
with the passed IDsservice
- the service-IDoperation
- the operation-IDSOAPWebService.getService(String)
SOAPWebService getWebservice()
SOAPWebService
this operation belongs toSOAPWebService
objectElement getPayload(Map<String,? extends Object> payload)
payload
- Element
Map<String,Object> invoke(Map<String,? extends Object> payload)
payload
- Element invoke(Element payload)
payload
- Element
Element invokeWithFileAttachments(Element payload, List<Pair<String,File>> attachments)
Element invokeWithDMSAttachments(Element payload, List<Pair<String,DMSDocForm>> attachments)
payload
- attachments
- a list of Pair
containing the contentId as key and
a DMSDocForm
as value; the contentId is not mandatory and if not given it will
be generated automaticallyElement
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.