src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php
private function addBindingOperations($operation, $input = false, $output = false)
    {
        $el = $this->dom->createElement('wsdl:operation');
        $el->setAttribute('name', $operation);
        
        $soapOperation = $this->dom->createElement('soap:operation');
        $soapOperation->setAttribute('soapAction', $this->wsdlTargetNamespace."/".$operation);
        $el->appendChild($soapOperation);
        
        if ($input === true) {
            $inp = $this->dom->createElement('wsdl:input');
            $body = $this->dom->createElement('soap:body');
            $body->setAttribute('use', 'literal');
            $inp->appendChild($body);
            $el->appendChild($inp);
        }
        
        if ($output === true) {
            $out = $this->dom->createElement('wsdl:output');
            $body = $this->dom->createElement('soap:body');
            $body->setAttribute('use', 'literal');
            $out->appendChild($body);
            $el->appendChild($out);
        }
        
        $this->wsBinding->appendChild($el);
    }
private function addBindingOperations($operation, $input = false, $output = false)
    {
        $el = $this->dom->createElement('wsdl:operation');
        $el->setAttribute('name', $operation);
        
        $soapOperation = $this->dom->createElement('soap:operation');
        $soapOperation->setAttribute('soapAction', $this->wsdlTargetNamespace."/".$operation);
        $el->appendChild($soapOperation);
        
        if ($input === true) {
            $inp = $this->dom->createElement('wsdl:input');
            $body = $this->dom->createElement('soap:body');
            $body->setAttribute('use', 'literal');
            $inp->appendChild($body);
            $el->appendChild($inp);
        }
        
        if ($output === true) {
            $out = $this->dom->createElement('wsdl:output');
            $body = $this->dom->createElement('soap:body');
            $body->setAttribute('use', 'literal');
            $out->appendChild($body);
            $el->appendChild($out);
        }
        
        $this->wsBinding->appendChild($el);
    }
Add operations to bindings

<code>
<operation name="$operation">
<soap:operation
soapAction="targetNamespace/$operation" />
<input>
$input
</input>
<output>
$output
</output>
</operation>
</code>

@param string $operation Operation name
@param array  $input     Array of inputs [optional]
@param array  $output    Array of outputs [optional]

@return void