• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java EditableWSDLBoundPortType类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType的典型用法代码示例。如果您正苦于以下问题:Java EditableWSDLBoundPortType类的具体用法?Java EditableWSDLBoundPortType怎么用?Java EditableWSDLBoundPortType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



EditableWSDLBoundPortType类属于com.sun.xml.internal.ws.api.model.wsdl.editable包,在下文中一共展示了EditableWSDLBoundPortType类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: WSDLBoundOperationImpl

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
/**
 *
 * @param name wsdl:operation name qualified value
 */
public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) {
    super(xsr);
    this.name = name;
    inputParts = new HashMap<String, ParameterBinding>();
    outputParts = new HashMap<String, ParameterBinding>();
    faultParts = new HashMap<String, ParameterBinding>();
    inputMimeTypes = new HashMap<String, String>();
    outputMimeTypes = new HashMap<String, String>();
    faultMimeTypes = new HashMap<String, String>();
    inParts = new HashMap<String, EditableWSDLPart>();
    outParts = new HashMap<String, EditableWSDLPart>();
    wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>();
    this.owner = owner;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:WSDLBoundOperationImpl.java


示例2: getBinding

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
/**
 *
 * @param serviceName non-null service QName
 * @param portName    non-null port QName
 * @return
 *          WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null
 */
public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){
    EditableWSDLService service = services.get(serviceName);
    if(service != null){
        EditableWSDLPort port = service.get(portName);
        if(port != null)
            return port.getBinding();
    }
    return null;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:17,代码来源:WSDLModelImpl.java


示例3: freeze

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
/**
 * Invoked at the end of the model construction to fix up references, etc.
 */
public void freeze() {
    for (EditableWSDLService service : services.values()) {
        service.freeze(this);
    }
    for (EditableWSDLBoundPortType bp : bindings.values()) {
        bp.freeze();
    }
    // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail
    for (EditableWSDLPortType pt : portTypes.values()) {
        pt.freeze();
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:16,代码来源:WSDLModelImpl.java


示例4: bindingElements

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
public boolean bindingElements(EditableWSDLBoundPortType binding, XMLStreamReader reader) {
    return false;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java


示例5: bindingAttributes

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
public void bindingAttributes(EditableWSDLBoundPortType binding, XMLStreamReader reader) {
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:WSDLParserExtension.java


示例6: getBoundPortType

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
@Override
public EditableWSDLBoundPortType getBoundPortType() {
    return owner;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:WSDLBoundOperationImpl.java


示例7: getOwner

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
EditableWSDLBoundPortType getOwner(){
    return owner;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLBoundOperationImpl.java


示例8: addBinding

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
public void addBinding(EditableWSDLBoundPortType boundPortType){
    assert !bindings.containsValue(boundPortType);
    bindings.put(boundPortType.getName(), boundPortType);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:WSDLModelImpl.java


示例9: getBindings

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
public @NotNull Map<QName, ? extends EditableWSDLBoundPortType> getBindings() {
    return unmBindings;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java


示例10: getBinding

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
public EditableWSDLBoundPortType getBinding() {
    return boundPortType;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLPortImpl.java


示例11: parseBindingOperation

import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType; //导入依赖的package包/类
private void parseBindingOperation(XMLStreamReader reader, EditableWSDLBoundPortType binding) {
    String bindingOpName = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name");
    if (bindingOpName == null) {
        //TODO: throw exception?
        //skip wsdl:binding element for now
        XMLStreamReaderUtil.skipElement(reader);
        return;
    }

    QName opName = new QName(binding.getPortTypeName().getNamespaceURI(), bindingOpName);
    EditableWSDLBoundOperation bindingOp = new WSDLBoundOperationImpl(reader,binding, opName);
    binding.put(opName, bindingOp);
    extensionFacade.bindingOperationAttributes(bindingOp, reader);

    while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) {
        QName name = reader.getName();
        String style = null;
        if (WSDLConstants.QNAME_INPUT.equals(name)) {
            parseInputBinding(reader, bindingOp);
        } else if (WSDLConstants.QNAME_OUTPUT.equals(name)) {
            parseOutputBinding(reader, bindingOp);
        } else if (WSDLConstants.QNAME_FAULT.equals(name)) {
            parseFaultBinding(reader, bindingOp);
        } else if (SOAPConstants.QNAME_OPERATION.equals(name) ||
                SOAPConstants.QNAME_SOAP12OPERATION.equals(name)) {
            style = reader.getAttributeValue(null, "style");
            String soapAction = reader.getAttributeValue(null, "soapAction");

            if (soapAction != null)
                bindingOp.setSoapAction(soapAction);

            goToEnd(reader);
        } else {
            extensionFacade.bindingOperationElements(bindingOp, reader);
        }
        /**
         *  If style attribute is present set it otherwise set the style as defined
         *  on the <soap:binding> element
         */
        if (style != null) {
            if (style.equals("rpc"))
                bindingOp.setStyle(Style.RPC);
            else
                bindingOp.setStyle(Style.DOCUMENT);
        } else {
            bindingOp.setStyle(binding.getStyle());
        }
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:50,代码来源:RuntimeWSDLParser.java



注:本文中的com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ModifierList类代码示例发布时间:2022-05-22
下一篇:
Java OrderedSet类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap