예제 #1
0
 /**
  * @param $operation \GoetasWebservices\XML\WSDLReader\Wsdl\BindingOperation
  */
 public function addOperation(\GoetasWebservices\XML\WSDLReader\Wsdl\Binding\Operation $operation)
 {
     $this->operation[$operation->getName()] = $operation;
     return $this;
 }
 public function __construct(Operation $operation, $name)
 {
     parent::__construct($operation->getDefinition());
     $this->name = $name;
     $this->operation = $operation;
 }
예제 #3
0
 private function loadBindingOperationFault(BindingOperation $bindingOperation, DOMElement $node)
 {
     $fault = new BindingOperationFault($bindingOperation, $node->getAttribute("name"));
     $fault->setDocumentation($this->getDocumentation($node));
     $bindingOperation->addFault($fault);
     return function () use($fault, $node) {
         $this->dispatcher->dispatch('binding.operation.fault', new BindingOperationFaultEvent($fault, $node));
     };
 }