org.mule.module.ws.consumer
Class RequestBodyGenerator
java.lang.Object
org.mule.module.ws.consumer.RequestBodyGenerator
public class RequestBodyGenerator
- extends Object
Creates the request body for an operation of a web service when no parameters are required.
|
Method Summary |
String |
generateRequestBody(javax.wsdl.BindingOperation bindingOperation)
Checks if the operation requires input parameters (if the XML required in the body is just one constant element). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestBodyGenerator
public RequestBodyGenerator(javax.wsdl.Definition wsdlDefinition)
generateRequestBody
public String generateRequestBody(javax.wsdl.BindingOperation bindingOperation)
- Checks if the operation requires input parameters (if the XML required in the body is just one constant element).
If so, the body with this XML will be returned in order to send it in every request instead of the payload.
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.