javax.xml.rpc
Class Stub
java.lang.Object
|
+--javax.xml.rpc.Stub
- All Implemented Interfaces:
- javax.naming.Referenceable, java.io.Serializable
- public abstract class Stub
- extends java.lang.Object
- implements java.io.Serializable, javax.naming.Referenceable
Base class for generating Web Service stubs from WSDL.
- See Also:
- Serialized Form
Constructor Summary |
Stub()
|
Method Summary |
abstract java.lang.Object |
_getProperty(java.lang.String name)
Gets the value of a named property. |
abstract java.net.URL |
_getTargetEndpoint()
Gets the endpoint address for a target service port. |
abstract void |
_setProperty(java.lang.String name,
java.lang.Object value)
Sets the value for a named property. |
abstract void |
_setTargetEndpoint(java.net.URL address)
Sets the endpoint address for the target service port that is to be invoked using a stub instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Stub
public Stub()
_setProperty
public abstract void _setProperty(java.lang.String name,
java.lang.Object value)
- Sets the value for a named property. JAX-RPC 1.0 specification
specifies a standard set of properties that may be passed
to the Stub._setProperty method. These properties include:
- http.auth.username: Username for the HTTP Basic Authentication
- http.auth.password: Password for the HTTP Basic Authentication
- security.auth.subject: JAAS Subject that carries client principal and its credentials
- encodingstyle.namespace.uri: Encoding style specified as a namespace URI
- [TBD: Additional properties]
- Parameters:
name
- - Name of the propertyvalue
- - Value of the property
_getProperty
public abstract java.lang.Object _getProperty(java.lang.String name)
- Gets the value of a named property.
- Parameters:
name
- - Returns:
- the value of a named property.
_setTargetEndpoint
public abstract void _setTargetEndpoint(java.net.URL address)
- Sets the endpoint address for the target service port that is to be invoked using a stub instance.
- Parameters:
address
- - String parameter specifies the target endpoint address. The URI scheme for the address must
correspond to the transport binding for this stub class.
_getTargetEndpoint
public abstract java.net.URL _getTargetEndpoint()
- Gets the endpoint address for a target service port.
- Returns:
- Endpoint address configured for this stub instance
Copyright © 2001 Apache XML Project. All Rights Reserved.