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.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Map | |
| private List | |
| private QName | |
| private QName | |
| private List | |
| private List | |
| private QName | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public W3CEndpointReferenceBuilder | |
| public W3CEndpointReferenceBuilder | Returns: AW3CEndpointReferenceBuilder instance with
the extension attribute added to the W3CEndpointReference
instance.The name of the extension attribute to be added to the
name, String W3CEndpointReferenceextension attribute value value)Adds an extension attribute to the
|
| public W3CEndpointReference | Returns: W3CEndpointReference from the accumulated
properties set on this W3CEndpointReferenceBuilder
instance. This method never returns null.Builds a |
| public W3CEndpointReferenceBuilder | |
| public W3CEndpointReferenceBuilder | Returns: AW3CEndpointReferenceBuilder instance with
the endpointName as
wsam:ServiceName/@EndpointName in the
wsa:Metadata element.The name of the endpoint to be targeted
by the returned endpointName)W3CEndpointReference. The
endpointName (portName) property may also be
used with the serviceName property to lookup
the address of a web service
endpoint published by the same Java EE application.Sets the |
| public W3CEndpointReferenceBuilder | Returns: AW3CEndpointReferenceBuilder instance with
the interfaceName as wsam:InterfaceName
element added to the wsa:Metadata elementThe port type name of the endpoint to be targeted
by the returned interfaceName)W3CEndpointReference.Sets the |
| public W3CEndpointReferenceBuilder | |
| public W3CEndpointReferenceBuilder | Returns: AW3CEndpointReferenceBuilder instance with
the referenceParameter added to the
wsa:ReferenceParameters element.The element to be added to the
referenceParameter)wsa:ReferenceParameters element.Adds the |
| public W3CEndpointReferenceBuilder | Returns: AW3CEndpointReferenceBuilder instance with
the serviceName as wsam:ServiceName
element added to the wsa:Metadata elementThe service name of the endpoint to be targeted
by the returned serviceName)W3CEndpointReference. This property
may also be used with the endpointName (portName)
property to lookup the address of a web service
endpoint that is published by the same Java EE application.Sets the |
| public W3CEndpointReferenceBuilder | Returns: AW3CEndpointReferenceBuilder instance with
the wsdlDocumentLocation that is to be referenced.The location of the WSDL document to
be referenced in the wsdlDocumentLocation)wsa:Metadata of the
W3CEndpointReference.Sets the |
| address | back to summary |
|---|---|
| private String address | |
| attributes | back to summary |
|---|---|
| private Map<QName, String> attributes | |
| elements | back to summary |
|---|---|
| private List<Element> elements | |
| endpointName | back to summary |
|---|---|
| private QName endpointName | |
| interfaceName | back to summary |
|---|---|
| private QName interfaceName | |
| metadata | back to summary |
|---|---|
| private List<Element> metadata | |
| referenceParameters | back to summary |
|---|---|
| private List<Element> referenceParameters | |
| serviceName | back to summary |
|---|---|
| private QName serviceName | |
| wsdlDocumentLocation | back to summary |
|---|---|
| private String wsdlDocumentLocation | |
| W3CEndpointReferenceBuilder | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder() Creates a new | |
| address | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder address(String address) Sets the
The
| |
| attribute | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder attribute(QName name, String value) Adds an extension attribute to the
| |
| build | back to summary |
|---|---|
| public W3CEndpointReference build() Builds a
This method can be used to create a
| |
| element | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder element(Element element) Adds an extension element to the
| |
| endpointName | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder endpointName(QName endpointName) Sets the See 2.1 Referencing WSDL Metadata from an EPR for more details.
| |
| interfaceName | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder interfaceName(QName interfaceName) Sets the
| |
| metadata | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder metadata(Element metadataElement) Adds the
| |
| referenceParameter | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder referenceParameter(Element referenceParameter) Adds the
| |
| serviceName | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder serviceName(QName serviceName) Sets the
| |
| wsdlDocumentLocation | back to summary |
|---|---|
| public W3CEndpointReferenceBuilder wsdlDocumentLocation(String wsdlDocumentLocation) Sets the See 2.1 Referencing WSDL Metadata from an EPR for more details.
| |