Package com.groiss.ws
Interface SOAPWebServiceOperation
public interface SOAPWebServiceOperation
SOAPWebServiceOperation
can be used to invoke a specific operation-
Method Summary
Modifier and TypeMethodDescriptiongetName()
get the operation-namestatic SOAPWebServiceOperation
getOperation
(String service, String operation) Get the registeredSOAPWebServiceOperation
from theSOAPWebService
with the passed IDsgetPayload
(Map<String, ? extends Object> payload) This method mixes the passed payload into the skeleton and returns the XML that will be sentreturn theSOAPWebService
this operation belongs toInvoke the webservice and send the passed payloadInvoke the webservice with the passed payloadinvokeWithDMSAttachments
(Element payload, List<Pair<String, DMSDocForm>> attachments) Invoke the webservice with the passed payload and attachment content that should be attached to the webservice requestInvoke the webservice with the passed payload and files that should be attached to the webservice request
-
Method Details
-
getOperation
Get the registeredSOAPWebServiceOperation
from theSOAPWebService
with the passed IDs- Parameters:
service
- the service-IDoperation
- the operation-ID- Returns:
- the operation
- See Also:
-
getWebservice
SOAPWebService getWebservice()return theSOAPWebService
this operation belongs to- Returns:
SOAPWebService
object
-
getPayload
This method mixes the passed payload into the skeleton and returns the XML that will be sent- Parameters:
payload
-- Returns:
- the mixed-in payload as
Element
-
invoke
Invoke the webservice and send the passed payload- Parameters:
payload
-- Returns:
- the webservice response parameter
-
invoke
Invoke the webservice with the passed payload- Parameters:
payload
-- Returns:
- the webservice response as
Element
-
invokeWithFileAttachments
Invoke the webservice with the passed payload and files that should be attached to the webservice request -
invokeWithDMSAttachments
Invoke the webservice with the passed payload and attachment content that should be attached to the webservice request- Parameters:
payload
-attachments
- a list ofPair
containing the contentId as key and aDMSDocForm
as value; the contentId is not mandatory and if not given it will be generated automatically- Returns:
- the webservice response as
Element
-
getName
QName getName()get the operation-name- Returns:
- the operation-name as
QName
object
-