本文整理汇总了Java中com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType类的典型用法代码示例。如果您正苦于以下问题:Java WSDLBoundPortType类的具体用法?Java WSDLBoundPortType怎么用?Java WSDLBoundPortType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
WSDLBoundPortType类属于com.sun.xml.internal.ws.api.model.wsdl包,在下文中一共展示了WSDLBoundPortType类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: addBindingExtension
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; //导入依赖的package包/类
@Override
public void addBindingExtension(final TypedXmlWriter binding) {
LOGGER.entering();
final QName bindingName = (null == seiModel) ? null : seiModel.getBoundPortTypeName();
selectAndProcessBindingSubject(binding, WSDLBoundPortType.class, ScopeType.ENDPOINT, bindingName);
LOGGER.exiting();
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:PolicyWSDLGeneratorExtension.java
示例2: getBindings
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; //导入依赖的package包/类
public @NotNull Map<QName, WSDLBoundPortType> getBindings() {
return unmBindings;
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:4,代码来源:WSDLModelImpl.java
示例3: bindingElements
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; //导入依赖的package包/类
@Override
public boolean bindingElements(WSDLBoundPortType binding, XMLStreamReader reader) {
return addressibleElement(reader, binding);
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:5,代码来源:MemberSubmissionAddressingWSDLParserExtension.java
示例4: getOperation
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; //导入依赖的package包/类
/**
* Returns the operation of which this message is an instance of.
*
* <p>
* This method relies on {@link WSDLBoundPortType#getOperation(String, String)} but
* it does so in an efficient way.
*
* @deprecated It is not always possible to uniquely identify the WSDL Operation from just the
* information in the Message. Instead, Use {@link com.sun.xml.internal.ws.api.message.Packet#getWSDLOperation()}
* to get it correctly.
*
* <p>
* This method works only for a request. A pipe can determine an operation for a request,
* and then keep it in a local variable to use it with a response, so there should be
* no need to find out operation from a response (besides, there might not be any response!).
*
* @param boundPortType
* This represents the port for which this message is used.
* Most {@link Pipe}s should get this information when they are created,
* since a pippeline always work against a particular type of {@link WSDLPort}.
*
* @return
* Null if the operation was not found. This is possible, for example when a protocol
* message is sent through a pipeline, or when we receive an invalid request on the server,
* or when we are on the client and the user appliation sends a random DOM through
* {@link Dispatch}, so this error needs to be handled gracefully.
*/
@Deprecated
public final @Nullable WSDLBoundOperation getOperation(@NotNull WSDLBoundPortType boundPortType) {
if (operation == null && messageMetadata != null) {
if (wsdlOperationMapping == null) wsdlOperationMapping = messageMetadata.getWSDLOperationMapping();
if (wsdlOperationMapping != null) operation = wsdlOperationMapping.getWSDLBoundOperation();
}
if(operation==null)
operation = boundPortType.getOperation(getPayloadNamespaceURI(),getPayloadLocalPart());
return operation;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:38,代码来源:Message.java
示例5: getOperation
import com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType; //导入依赖的package包/类
/**
* Returns the operation of which this message is an instance of.
*
* <p>
* This method relies on {@link WSDLBoundPortType#getOperation(String, String)} but
* it does so in an efficient way.
*
* @deprecated It is not always possible to uniquely identify the WSDL Operation from just the
* information in the Message. Instead, Use {@link com.sun.xml.internal.ws.api.message.Packet#getWSDLOperation()}
* to get it correctly.
*
* <p>
* This method works only for a request. A pipe can determine an operation for a request,
* and then keep it in a local variable to use it with a response, so there should be
* no need to find out operation from a response (besides, there might not be any response!).
*
* @param boundPortType
* This represents the port for which this message is used.
* Most {@link Pipe}s should get this information when they are created,
* since a pippeline always work against a particular type of {@link WSDLPort}.
*
* @return
* Null if the operation was not found. This is possible, for example when a protocol
* message is sent through a pipeline, or when we receive an invalid request on the server,
* or when we are on the client and the user appliation sends a random DOM through
* {@link Dispatch}, so this error needs to be handled gracefully.
*/
@Deprecated
public final @Nullable WSDLBoundOperation getOperation(@NotNull WSDLBoundPortType boundPortType) {
if(operation==null)
operation = boundPortType.getOperation(getPayloadNamespaceURI(),getPayloadLocalPart());
return operation;
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:34,代码来源:Message.java
注:本文中的com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论