com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType Java Examples

The following examples show how to use com.sun.xml.internal.ws.api.model.wsdl.WSDLBoundPortType. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PolicyWSDLGeneratorExtension.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #2
Source File: PolicyWSDLGeneratorExtension.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #3
Source File: PolicyWSDLGeneratorExtension.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #4
Source File: PolicyWSDLGeneratorExtension.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #5
Source File: PolicyWSDLGeneratorExtension.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #6
Source File: PolicyWSDLGeneratorExtension.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #7
Source File: PolicyWSDLGeneratorExtension.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #8
Source File: PolicyWSDLGeneratorExtension.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #9
Source File: Message.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #10
Source File: Message.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #11
Source File: Message.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #12
Source File: Message.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #13
Source File: Message.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #14
Source File: Message.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #15
Source File: Message.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #16
Source File: Message.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}