类javax.jws.soap.SOAPBinding.ParameterStyle源码实例Demo

下面列出了怎么用javax.jws.soap.SOAPBinding.ParameterStyle的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: TencentKona-8   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码2 项目: jdk8u60   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码3 项目: openjdk-jdk8u   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码4 项目: openjdk-jdk8u-backup   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码5 项目: openjdk-jdk9   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码6 项目: hottub   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码7 项目: openjdk-8-source   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码8 项目: openjdk-8   文件: WebServiceVisitor.java
protected SOAPBinding popSoapBinding() {
    if (pushedSoapBinding)
        soapBindingStack.pop();
    SOAPBinding soapBinding = null;
    if (!soapBindingStack.empty()) {
        soapBinding = soapBindingStack.peek();
        if (soapBinding.style().equals(SOAPBinding.Style.RPC)) {
            soapStyle = SOAPStyle.RPC;
            wrapped = true;
        } else {
            soapStyle = SOAPStyle.DOCUMENT;
            wrapped = soapBinding.parameterStyle().equals(ParameterStyle.WRAPPED);
        }
    } else {
            pushedSoapBinding = false;
    }
    return soapBinding;
}
 
源代码9 项目: cxf   文件: JaxWsServiceConfiguration.java
@Override
public Boolean isWrapped(Method m) {
    // see if someone overrode the default value
    if (getServiceFactory().getWrapped() != null) {
        return getServiceFactory().getWrapped();
    }
    m = getDeclaredMethod(m);

    SOAPBinding ann = m.getAnnotation(SOAPBinding.class);
    if (ann != null) {
        if (ann.style().equals(Style.RPC)) {
            Message message = new Message("SOAPBinding_MESSAGE_RPC", LOG, m.getName());
            throw new Fault(new JaxWsConfigurationException(message));
        }
        return !(ann.parameterStyle().equals(ParameterStyle.BARE));
    }

    return isWrapped();
}
 
源代码10 项目: cxf   文件: JaxWsServiceConfiguration.java
@Override
public Boolean isWrapped() {
    SOAPBinding ann = implInfo.getEndpointClass().getAnnotation(SOAPBinding.class);
    if (ann != null) {
        return !(ann.parameterStyle().equals(ParameterStyle.BARE) || ann.style().equals(Style.RPC));
    }
    return null;
}
 
源代码11 项目: cxf   文件: JaxWsServiceConfiguration.java
private boolean isDocumentBare(Method method) {
    SOAPBinding ann = method.getAnnotation(SOAPBinding.class);
    if (ann != null) {
        return ann.style().equals(SOAPBinding.Style.DOCUMENT)
               && ann.parameterStyle().equals(SOAPBinding.ParameterStyle.BARE);
    }
    ann = implInfo.getEndpointClass().getAnnotation(SOAPBinding.class);
    if (ann != null) {
        return ann.style().equals(SOAPBinding.Style.DOCUMENT)
               && ann.parameterStyle().equals(SOAPBinding.ParameterStyle.BARE);
    }
    return false;
}
 
源代码12 项目: TencentKona-8   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码13 项目: jdk8u60   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码14 项目: openjdk-jdk8u   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码15 项目: openjdk-jdk8u-backup   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码16 项目: openjdk-jdk9   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码17 项目: hottub   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码18 项目: openjdk-8-source   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}
 
源代码19 项目: openjdk-8   文件: WebServiceVisitor.java
@Override
public ParameterStyle parameterStyle() {
    return SOAPBinding.ParameterStyle.WRAPPED;
}