本文整理汇总了Java中com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService类的典型用法代码示例。如果您正苦于以下问题:Java EditableWSDLService类的具体用法?Java EditableWSDLService怎么用?Java EditableWSDLService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EditableWSDLService类属于com.sun.xml.internal.ws.api.model.wsdl.editable包,在下文中一共展示了EditableWSDLService类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: parseService
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
private void parseService(XMLStreamReader reader) {
service_nsdecl.putAll(wsdldef_nsdecl);
readNSDecl(service_nsdecl,reader);
String serviceName = ParserUtil.getMandatoryNonEmptyAttribute(reader, WSDLConstants.ATTR_NAME);
EditableWSDLService service = new WSDLServiceImpl(reader,wsdlDoc,new QName(targetNamespace, serviceName));
extensionFacade.serviceAttributes(service, reader);
while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) {
QName name = reader.getName();
if (WSDLConstants.QNAME_PORT.equals(name)) {
parsePort(reader, service);
if (reader.getEventType() != XMLStreamConstants.END_ELEMENT) {
XMLStreamReaderUtil.next(reader);
}
} else {
extensionFacade.serviceElements(service, reader);
}
}
wsdlDoc.addService(service);
service_nsdecl = new HashMap<String, String>();
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:22,代码来源:RuntimeWSDLParser.java
示例2: getBinding
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的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.EditableWSDLService; //导入依赖的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: serviceAttributes
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public void serviceAttributes(EditableWSDLService service, XMLStreamReader reader) {
// noop
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例5: serviceElements
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public boolean serviceElements(EditableWSDLService service, XMLStreamReader reader) {
return false;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLParserExtension.java
示例6: addService
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public void addService(EditableWSDLService svc){
services.put(svc.getName(), svc);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java
示例7: getService
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public EditableWSDLService getService(QName name){
return services.get(name);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java
示例8: getServices
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public @NotNull Map<QName, EditableWSDLService> getServices(){
return services;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLModelImpl.java
示例9: WSDLPortImpl
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public WSDLPortImpl(XMLStreamReader xsr, EditableWSDLService owner, QName name, QName binding) {
super(xsr);
this.owner = owner;
this.name = name;
this.bindingName = binding;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:7,代码来源:WSDLPortImpl.java
示例10: getOwner
import com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService; //导入依赖的package包/类
public EditableWSDLService getOwner() {
return owner;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:WSDLPortImpl.java
注:本文中的com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论