Class PortAddressResolver

    • Constructor Detail

      • PortAddressResolver

        public PortAddressResolver()
    • Method Detail

      • getAddressFor

        @Nullable
        public abstract String getAddressFor​(@NotNull
                                             QName serviceName,
                                             @NotNull
                                             String portName)
        Gets the endpoint address for a WSDL port
        Parameters:
        serviceName - WSDL service name(wsd:service in WSDL) for which address is needed. Always non-null.
        portName - WSDL port name(wsdl:port in WSDL) for which address is needed. Always non-null.
        Returns:
        The address needs to be put in WSDL for port element's location attribute. Can be null. If it is null, existing port address is written as it is (without any patching).
      • getAddressFor

        @Nullable
        public String getAddressFor​(@NotNull
                                    QName serviceName,
                                    @NotNull
                                    String portName,
                                    String currentAddress)
        Gets the endpoint address for a WSDL port
        Parameters:
        serviceName - WSDL service name(wsd:service in WSDL) for which address is needed. Always non-null.
        portName - WSDL port name(wsdl:port in WSDL) for which address is needed. Always non-null.
        currentAddress - Whatever current address specified for the port in the WSDL
        Returns:
        The address needs to be put in WSDL for port element's location attribute. Can be null. If it is null, existing port address is written as it is (without any patching).