Specifies information for a port within a web service reference.
Either a service-endpoint-interface or a wsdl-port or both must be specified. If both are specified, wsdl-port specifies the port that the container chooses for container-managed port selection.
The same wsdl-port value must not appear in more than one port-info element within the same service-ref.
If a service-endpoint-interface is using container-managed port selection, its value must not appear in more than one port-info element within the same service-ref.
service-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml)
The following table describes subelements for the port-info element.
Table A–76 port-info subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Specifies the web service reference name relative to java:comp/env. |
|
zero or one |
Specifies the WSDL port. |
|
zero or more |
Specifies JAX-RPC property values that are set on a javax.xml.rpc.Stub object before it is returned to the web service client. |
|
zero or more |
Specifies JAX-RPC property values that are set on a javax.xml.rpc.Call object before it is returned to the web service client. |
|
zero or one |
Specifies a custom authentication provider binding. |