Class SubmissionEndpointReferenceBuilder

java.lang.Object
org.apache.axis2.jaxws.addressing.SubmissionEndpointReferenceBuilder

public final class SubmissionEndpointReferenceBuilder extends Object
This class can be used to create instances of SubmissionEndpointReference.
See Also:
  • W3CEndpointReferenceBuilder
  • Constructor Details

    • SubmissionEndpointReferenceBuilder

      public SubmissionEndpointReferenceBuilder()
      Constructor
  • Method Details

    • address

      public SubmissionEndpointReferenceBuilder address(String address)
      Add the address URI to use.
      Parameters:
      address - the address URI
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • serviceName

      public SubmissionEndpointReferenceBuilder serviceName(QName serviceName)
      Add the WSDL service name of the endpoint that the endpoint reference will target.
      Parameters:
      serviceName - the WSDL service name
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • endpointName

      public SubmissionEndpointReferenceBuilder endpointName(QName endpointName)
      Add the WSDL port name of the endpoint that the endpoint reference will target. The WSDL port name can only be set after the WSDL service name has been set.
      Parameters:
      endpointName - the WSDL port name
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • wsdlDocumentLocation

      public SubmissionEndpointReferenceBuilder wsdlDocumentLocation(String wsdlDocumentLocation)
      Add the URI from where the WSDL for the endpoint that the endpoint reference will target can be retrieved.
      Parameters:
      wsdlDocumentLocation - the location URI of the WSDL
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • referenceProperty

      public SubmissionEndpointReferenceBuilder referenceProperty(Element referenceProperty)
      Add reference properties. These will appear in the endpoint reference as reference parameters.
      Parameters:
      referenceProperty - the reference property
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • referenceParameter

      public SubmissionEndpointReferenceBuilder referenceParameter(Element referenceParameter)
      Add reference parameters.
      Parameters:
      referenceParameter - the reference parameter
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • portType

      public SubmissionEndpointReferenceBuilder portType(QName portType)
      Add the name of the WSDL port type.
      Parameters:
      portType - the WSDL port type name
      Returns:
      an instance of SubmissionEndpointReferenceBuilder that has been updated as specified.
    • build

      Construct an instance of EndpointReference based on the values specified.
      Returns:
      an instance of SubmissionEndpointReference
    • toString

      public String toString()
      Overrides:
      toString in class Object