org.mule.module.ws.consumer
Class RequestBodyGenerator

java.lang.Object
  extended by 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.


Constructor Summary
RequestBodyGenerator(javax.wsdl.Definition wsdlDefinition)
           
 
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
 

Constructor Detail

RequestBodyGenerator

public RequestBodyGenerator(javax.wsdl.Definition wsdlDefinition)
Method Detail

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.