Package wycs.solver

Examples of wycs.solver.Solver$native$Binding


     *
     * @see org.apache.woden.wsdl20.extensions.soap.SOAPBindingOperationExtensions#getHttpContentEncodingDefault()
     */
    public String getHttpContentEncodingDefault() {
       
        Binding binding = (Binding) ((NestedComponent)getParent()).getParent();
        SOAPBindingExtensions soapBindExt = (SOAPBindingExtensions)binding
           .getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        String version = soapBindExt.getSoapVersion();
        URI protocol = soapBindExt.getSoapUnderlyingProtocol();
        if(protocol == null) {
            return null;
View Full Code Here


        // 1. try whttp:method
        String method = getHttpMethod();
        if(method != null) return method;
       
        // 2. try whttp:methodDefault
        Binding binding = (Binding) ((BindingOperation) getParent()).getParent();
       
        HTTPBindingExtensions httpBindExts = (HTTPBindingExtensions) binding
                .getComponentExtensionContext(HTTPConstants.NS_URI_HTTP);
       
        // no need to check for a null httpBindExts because Binding has REQUIRED
        // http extension properties
        String methodDef = httpBindExts.getHttpMethodDefault();
View Full Code Here

     * @see org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultExtensions#getHttpContentEncoding()
     *
     */
    public String getHttpContentEncoding()
    {
        Binding binding = (Binding) ((NestedComponent)getParent()).getParent();
        SOAPBindingExtensions soapBindExt = (SOAPBindingExtensions)binding
           .getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        String version = soapBindExt.getSoapVersion();
        URI protocol = soapBindExt.getSoapUnderlyingProtocol();
        if(protocol == null) {
            return null;
View Full Code Here

    /* (non-Javadoc)
     * @see org.apache.woden.wsdl20.extensions.soap.SOAPBindingFaultExtensions#getHttpHeaders()
     */
    public HTTPHeader[] getHttpHeaders()
    {
        Binding binding = (Binding) ((NestedComponent)getParent()).getParent();
        SOAPBindingExtensions soapBindExt = (SOAPBindingExtensions)binding
           .getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        String version = soapBindExt.getSoapVersion();
        URI protocol = soapBindExt.getSoapUnderlyingProtocol();
        if(protocol == null) {
            return new HTTPHeader[0];
View Full Code Here

   * @see org.apache.woden.wsdl20.extensions.soap.SOAPEndpointExtensions#getHttpAuthenticationScheme()
   */
  public HTTPAuthenticationScheme getHttpAuthenticationScheme() {

        Endpoint endpoint = (Endpoint) getParent();
        Binding binding = endpoint.getBinding();
        if(binding == null) {
            return null; //the wsdl is invalid  TODO - remove this check? (extensions require valid wsdl?)
        }
       
        SOAPBindingExtensions soapBindExt = (SOAPBindingExtensions)binding
           .getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        String version = soapBindExt.getSoapVersion();
        URI protocol = soapBindExt.getSoapUnderlyingProtocol();
        if(protocol == null) {
            return null;
View Full Code Here

     */
    public Binding getBinding()
    {
        ServiceImpl service = (ServiceImpl)getParent();
        Description desc = service.getDescriptionComponent();
        Binding binding = desc.getBinding(fBindingName);
        return binding;
    }
View Full Code Here

     * @see org.apache.woden.wsdl20.BindingOperation#getInterfaceOperation()
     */
    public InterfaceOperation getInterfaceOperation()
    {
        InterfaceOperation oper = null;
        Binding binding = (Binding)getParent();
        Interface interfac = binding.getInterface();
        if(interfac != null) {
            oper = interfac.getFromAllInterfaceOperations(fRef);
        }
        return oper;
    }
View Full Code Here

     * (non-Javadoc)
     * @see org.apache.woden.wsdl20.WSDLComponent#getFragmentIdentifier()
     */
    public FragmentIdentifier getFragmentIdentifier() {
        //Find parent component and get needed properties.
        Binding bindingComp = (Binding)getParent();
        NCName binding = new NCName(bindingComp.getName().getLocalPart());
       
        //Return a new FragmentIdentifier.
        return new FragmentIdentifier(new BindingOperationPart (binding , fRef));
    }
View Full Code Here

   * @see org.apache.woden.wsdl20.extensions.soap.SOAPEndpointExtensions#getHttpAuthenticationRealm()
   */
  public String getHttpAuthenticationRealm() {

        Endpoint endpoint = (Endpoint) getParent();
        Binding binding = endpoint.getBinding();
        if(binding == null) {
            return null; //the wsdl is invalid TODO - remove this check? (extensions require valid wsdl?)
        }
       
        SOAPBindingExtensions soapBindExt = (SOAPBindingExtensions)binding
            .getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        String version = soapBindExt.getSoapVersion();
        URI protocol = soapBindExt.getSoapUnderlyingProtocol();
        if(protocol == null) {
            return null;
View Full Code Here

     *
     */
    public String getHttpContentEncoding()
    {
        BindingOperation bindingOp = (BindingOperation) ((NestedComponent)getParent()).getParent();
        Binding binding = (Binding) bindingOp.getParent();
        SOAPBindingExtensions soapBindExt = (SOAPBindingExtensions)binding
           .getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        String version = soapBindExt.getSoapVersion();
        URI protocol = soapBindExt.getSoapUnderlyingProtocol();
        if(protocol == null) {
            return null;
View Full Code Here

TOP

Related Classes of wycs.solver.Solver$native$Binding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.