Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: port-component-name
- Next: prefetch-disabled

## 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 A–79 `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.

- Previous: port-component-name
- Next: prefetch-disabled

- © 2010, Oracle Corporation and/or its affiliates