Sun GlassFish Enterprise Server v3 Application Deployment Guide

port-info

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.

Superelements

service-ref (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml)

Subelements

The following table describes subelements for the port-info element.

Table C–101 port-info subelements

Element 

Required 

Description 

service-endpoint-interface

zero or one 

Specifies the web service reference name relative to java:comp/env.

wsdl-port

zero or one 

Specifies the WSDL port. 

stub-property

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.

call-property

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.

message-security-binding

zero or one 

Specifies a custom authentication provider binding.