Java Code Examples for javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder

Following code examples demonstrate how to use javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilderfrom java. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilderand various code implementation of this class.

    @Test
    public default void verifyGenericType()
    throws Exception {
        final Class<SUT> sut = createNewSUT();
        assertTrue("This j8unit test interface is used with a generic type that is illegaly not assignable to W3CEndpointReferenceBuilder.class!",
                   W3CEndpointReferenceBuilder.class.isAssignableFrom(sut));
    } 


    @Category(Draft.class)
    public void create_W3CEndpointReferenceBuilder()
    throws Exception {
        @SuppressWarnings("unused")
        final W3CEndpointReferenceBuilder sut = new W3CEndpointReferenceBuilder();
    } 

Advertisement
Javadoc
This class is used to build W3CEndpointReference instances. The intended use of this clsss is for an

application component, for example a factory component, to create an W3CEndpointReference for a web service endpoint published by the same Java EE application. It can also be used to create W3CEndpointReferences for an Java SE based endpoint by providing the address property.

When creating a W3CEndpointReference for an endpoint that is not published by the same Java EE application, the address property MUST be specified.

When creating a W3CEndpointReference for an endpoint published by the same Java EE application, the address property MAY be null but then the serviceName and endpointName MUST specify an endpoint published by the same Java EE application.

When the wsdlDocumentLocation is specified it MUST refer to a valid WSDL document and the serviceName and endpointName (if specified) MUST match a service and port in the WSDL document. @since 1.6, JAX-WS 2.1

Read More
Advertisement