Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: store-properties
- Next: sun-application

## stub-property

Specifies JAX-RPC property values that are set on a `javax.xml.rpc.Stub` object before it is returned to the web service client. The property names can be any properties supported by the JAX-RPC `Stub` implementation.

### Superelements

port-info (`sun-web.xml`, `sun-ejb-jar.xml`, `sun-application-client.xml`)

### Subelements

The following table describes subelements for the `stub-property` element.

Table A–110 `stub-property` subelements

Element | Required | Description
--- | --- | ---
name | only one | Specifies the name of the entity.
value | only one | Specifies the value of the entity.

### Example

    <service-ref>
    <service-ref-name>service/FooProxy</service-ref-name>
      <port-info>
    	   <service-endpoint-interface>a.FooPort</service-endpoint-interface>
    	   <wsdl-port>
    		  <namespaceURI>urn:Foo</namespaceURI>
    		  <localpart>FooPort</localpart>
    	   </wsdl-port>
    	   <stub-property>
    		  <name>javax.xml.rpc.service.endpoint.address</name>
    		  <value>http://localhost:8080/a/Foo</value>
    	   </stub-property>
      </port-info>
    </service-ref>

- Previous: store-properties
- Next: sun-application

- © 2010, Oracle Corporation and/or its affiliates