public InterfaceContract getBindingInterfaceContract() { return wsBinding.getBindingInterfaceContract(); }
public InterfaceContract getBindingInterfaceContract() { return wsBinding.getBindingInterfaceContract(); }
public InterfaceContract getBindingInterfaceContract() { return wsBinding.getBindingInterfaceContract(); }
public InterfaceContract getBindingInterfaceContract() { return wsBinding.getBindingInterfaceContract(); }
public InterfaceContract getBindingInterfaceContract() { return wsBinding.getBindingInterfaceContract(); }
public InterfaceContract getBindingInterfaceContract() { return wsBinding.getBindingInterfaceContract(); }
private static Operation getOperation(AxisOperation axisOp,WebServiceBinding wsBinding) { String operationName = axisOp.getName().getLocalPart(); Interface iface = wsBinding.getBindingInterfaceContract().getInterface(); for (Operation op : iface.getOperations()) { if (op.getName().equalsIgnoreCase(operationName)) { return op; } } return null; }
private void addWSAActionHeader( SOAPHeader sh ) { // Create wsa:Action header which is required by ws-addressing spec String action = options.getAction(); if (action == null) { PortType portType = ((WSDLInterface)wsBinding.getBindingInterfaceContract().getInterface()).getPortType(); Operation op = portType.getOperation(wsdlOperationName.getLocalPart(), null, null); action = WSDL11ActionHelper.getActionFromInputElement(wsBinding.getGeneratedWSDLDocument(), portType, op, op.getInput()); } OMElement actionOM = sh.getOMFactory().createOMElement(QNAME_WSA_ACTION); actionOM.setText(action == null ? "" : action); sh.addChild(actionOM); } // end method addWSAActionHeader
public JAXWSReferenceBindingProvider(RuntimeEndpointReference endpointReference, FactoryExtensionPoint modelFactories, DataBindingExtensionPoint dataBindings) { this.endpointReference = endpointReference; this.messageFactory = modelFactories.getFactory(javax.xml.soap.MessageFactory.class); this.wsBinding = (WebServiceBinding) endpointReference.getBinding(); // A WSDL document should always be present in the binding if (wsBinding.getGeneratedWSDLDocument() == null) { throw new ServiceRuntimeException("No WSDL document for " + endpointReference.getURI()); } // Set to use the DOM data binding InterfaceContract contract = wsBinding.getBindingInterfaceContract(); if (contract.getInterface() != null) { contract.getInterface().resetDataBinding(Node.class.getName()); } }
public JAXWSReferenceBindingProvider(RuntimeEndpointReference endpointReference, FactoryExtensionPoint modelFactories, DataBindingExtensionPoint dataBindings) { this.endpointReference = endpointReference; this.messageFactory = modelFactories.getFactory(javax.xml.soap.MessageFactory.class); this.wsBinding = (WebServiceBinding) endpointReference.getBinding(); // A WSDL document should always be present in the binding if (wsBinding.getGeneratedWSDLDocument() == null) { throw new ServiceRuntimeException("No WSDL document for " + endpointReference.getURI()); } // Set to use the DOM data binding InterfaceContract contract = wsBinding.getBindingInterfaceContract(); if (contract.getInterface() != null) { contract.getInterface().resetDataBinding(Node.class.getName()); } }
private void addWSAActionHeader(SOAPHeader sh, String action) throws SOAPException { // Create wsa:Action header which is required by ws-addressing spec if (action == null) { PortType portType = ((WSDLInterface)wsBinding.getBindingInterfaceContract().getInterface()).getPortType(); javax.wsdl.Operation op = portType.getOperation(operation.getName(), null, null); action = getActionFromInputElement(wsBinding.getGeneratedWSDLDocument(), portType, op, op.getInput()); } // OMElement actionOM = // sh.getOMFactory().createOMElement(QNAME_WSA_ACTION); // actionOM.setText(action == null ? "" : action); // sh.addChild(actionOM); SOAPHeaderElement actionH = sh.addHeaderElement(QNAME_WSA_ACTION); actionH.setTextContent(action == null ? "" : action); } // end method addWSAActionHeader
InterfaceContract contract = wsBinding.getBindingInterfaceContract(); contract.getInterface().resetDataBinding(Node.class.getName());
WebServiceBinding wsBinding = wsFactory.createWebServiceBinding(); BindingWSDLGenerator.generateWSDL(endpoint.getComponent(), service, wsBinding, registry, null); interfaceContract = wsBinding.getBindingInterfaceContract(); interfaceContract.getInterface().resetDataBinding(XMLHelperFactory.createXMLHelper(registry).getDataBindingName());
WebServiceBinding wsBinding = wsFactory.createWebServiceBinding(); BindingWSDLGenerator.generateWSDL(endpointReference.getComponent(), endpointReference.getContract(), wsBinding, registry, null); interfaceContract = wsBinding.getBindingInterfaceContract(); interfaceContract.getInterface().resetDataBinding(XMLHelperFactory.createXMLHelper(registry).getDataBindingName());
public WireFormatJMSTextXMLReferenceProvider(ExtensionPointRegistry registry, RuntimeEndpointReference endpointReference) { super(); this.registry = registry; this.endpointReference = endpointReference; this.binding = (JMSBinding)endpointReference.getBinding(); // configure the reference based on this wire format // currently maintaining the message processor structure which // contains the details of jms message processing so set the message // type here if not set explicitly in SCDL if (this.binding.getRequestWireFormat() instanceof WireFormatJMSTextXML){ this.binding.setRequestMessageProcessorName(JMSBindingConstants.XML_MP_CLASSNAME); } if (this.binding.getResponseWireFormat() instanceof WireFormatJMSTextXML){ this.binding.setResponseMessageProcessorName(JMSBindingConstants.XML_MP_CLASSNAME); } // create a local interface contract that is configured specifically to // deal with the data format that this wire format is expecting to send to // and receive from the databinding interceptor. The request/response parts of // this interface contract will be copied into the binding interface contract // as required WebServiceBindingFactory wsFactory = registry.getExtensionPoint(WebServiceBindingFactory.class); WebServiceBinding wsBinding = wsFactory.createWebServiceBinding(); BindingWSDLGenerator.generateWSDL(endpointReference.getComponent(), endpointReference.getReference(), wsBinding, registry, null); interfaceContract = wsBinding.getBindingInterfaceContract(); interfaceContract.getInterface().resetDataBinding(XMLHelperFactory.createXMLHelper(registry).getDataBindingName()); }
WebServiceBinding wsBinding = wsFactory.createWebServiceBinding(); BindingWSDLGenerator.generateWSDL(endpoint.getComponent(), endpoint.getService(), wsBinding, registry, null); interfaceContract = wsBinding.getBindingInterfaceContract(); interfaceContract.getInterface().resetDataBinding(XMLHelperFactory.createXMLHelper(registry).getDataBindingName());
WebServiceBinding wsBinding = wsFactory.createWebServiceBinding(); BindingWSDLGenerator.generateWSDL(endpoint.getComponent(), endpoint.getService(), wsBinding, registry, null); interfaceContract = wsBinding.getBindingInterfaceContract(); interfaceContract.getInterface().resetDataBinding(XMLHelperFactory.createXMLHelper(registry).getDataBindingName());
InterfaceContract contract = wsBinding.getBindingInterfaceContract(); if (contract.getInterface() != null) { contract.getInterface().resetDataBinding(OMElement.class.getName());
InterfaceContract icontract = wsBinding.getBindingInterfaceContract(); if (icontract == null) { icontract = ((Contract)contract).getInterfaceContract(wsBinding).makeUnidirectional(false);
InterfaceContract icontract = wsBinding.getBindingInterfaceContract(); if (icontract == null) { icontract = ((Contract)contract).getInterfaceContract(wsBinding).makeUnidirectional(false);