sun-ejb-jar.xml Visual Editor: Service Reference: Port Information
See Also
You get to this Service Reference Port Information tab by expanding a bean node under the
Sun Configuration node in the sun-ejb-jar.xml
visual editor and clicking the service reference node (
) and then
clicking the Port Information tab at the bottom of the pane.
The tab allows you to define and configure the following port information and
properties of a Service reference:
- Port Information. Add a new port for a Service
reference by clicking Add, or select an existing port from the combo box to
edit the properties of that port or to remove it. Use the Selected Port Info area below
to enter properties when you add or edit a port.
- Selected Port Information. Supply or edit the following properties for the
port selected in the Port Information combo box,
- Service Endpoint Interface
- WSDL Port Namespace URI
- Localpart. This is the local portion of the WSDL namespace.
- Stub Properties. A table of JAX-RPC stub properties and
values for the selected port. (See javax.xml.rpc.Stub class.) Click New to add stub properties and
values in the property editor. To edit or delete a property, select the property and click Edit or Delete.
The following stub values and properties can be set in the property editor:
- USERNAME_PROPERTY. Set the value to the user name.
- PASSWORD_PROPERTY. Set the value to the user's password.
- SESSION_MAINTAIN_PROPERTY. Set the value to True or False.
- ENDPOINT_ADDRESS_PROPERTY. Set the value to the address of the service port
endpoint.
- Call Properties. A table of JAX-RPC Call properties and values
for the selected port. (See javax.xml.rpc.Call class.) Click New to add call properties and
values in the property editor. To edit or delete a property, select the property and click Edit or Delete.
The following call values and properties can be set in the property editor:
- USERNAME_PROPERTY. Set the value to the user name.
- PASSWORD_PROPERTY. Set the value to the user's password.
- ENCODINGSTYLE_URI_PROPERTY. Set the value to the http reference to the SOAP
encoding style.
- OPERATION_STYLE_PROPERTY. Select the value to document if calls to the
service use XML documents to pass information, or to rpc if calls to the
service pass information as Java objects.
- SESSION_MAINTAIN_PROPERTY. Set the value to true to maintain session
information.
- SOAP_ACTION_USE_PROPERTY. Select the box if using SOAP actions. Selecting the box
sets the value to True. If unselected, the value is set to false. If set to true,
then the SOAPACTION_URI_PROPERTY needs to be set.
- SOAPACTION_URI_PROPERTY. Set the value to the URI of any SOAP actions for the
service.
- See Also
- sun-ejb-jar.xml Visual Editor: Sun Configuration
- About Web Services
- About Building Web Services
Legal Notices