src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php
private function addPortOperations($operation, $input = false, $output = false)
    {
        $el = $this->dom->createElement("wsdl:operation");
        $el->setAttribute('name', $operation);
        if ($input === true) {
            $input = $this->dom->createElement('wsdl:input');
            $input->setAttribute('message', $this->targetNsPrefix.":".$operation);
        }
        if ($output === true) {
            $output = $this->dom->createElement('wsdl:output');
            $output->setAttribute('message', $this->targetNsPrefix.":". $operation."Response");
        }
        $el->appendChild($input);
        $el->appendChild($output);
        
        $this->wsPortType->appendChild($el);
    }
private function addPortOperations($operation, $input = false, $output = false)
    {
        $el = $this->dom->createElement("wsdl:operation");
        $el->setAttribute('name', $operation);
        if ($input === true) {
            $input = $this->dom->createElement('wsdl:input');
            $input->setAttribute('message', $this->targetNsPrefix.":".$operation);
        }
        if ($output === true) {
            $output = $this->dom->createElement('wsdl:output');
            $output->setAttribute('message', $this->targetNsPrefix.":". $operation."Response");
        }
        $el->appendChild($input);
        $el->appendChild($output);
        
        $this->wsPortType->appendChild($el);
    }
Add operations to port

<code>
<operation name="$name">
<input message="tns:messageName" />
<output message="tns:messageName" />
</operation>
</code>

@param string $operation Name of the operation
@param array  $input     Array of inputs
@param array  $output    Array of outputs

@return void