Package com.sun.xml.rpc.client
Class BasicService
- java.lang.Object
-
- com.sun.xml.rpc.client.BasicService
-
- All Implemented Interfaces:
SerializerConstants,Referenceable,javax.xml.rpc.Service
- Direct Known Subclasses:
ConfiguredService
public class BasicService extends Object implements javax.xml.rpc.Service, SerializerConstants, Referenceable
- Author:
- JAX-RPC Development Team
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBasicService.HandlerRegistryImpl
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_OPERATION_STYLEprotected InternalTypeMappingRegistryinternalTypeRegistryprotected QNamenameprotected Listportsprotected javax.xml.rpc.encoding.TypeMappingRegistrytypeRegistry-
Fields inherited from interface com.sun.xml.rpc.encoding.SerializerConstants
DONT_ENCODE_TYPE, DONT_SERIALIZE_AS_REF, ENCODE_TYPE, NOT_NULLABLE, NOT_REFERENCEABLE, NULLABLE, REFERENCEABLE, REFERENCED_INSTANCE, SERIALIZE_AS_REF, UNREFERENCED_INSTANCE
-
-
Constructor Summary
Constructors Constructor Description BasicService(QName name)BasicService(QName name, Iterator eachPort)BasicService(QName name, QName[] ports)BasicService(QName name, QName[] ports, javax.xml.rpc.encoding.TypeMappingRegistry registry)BasicService(QName name, javax.xml.rpc.encoding.TypeMappingRegistry registry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddPort(QName port)protected voidaddPorts(QName[] ports)javax.xml.rpc.CallcreateCall()javax.xml.rpc.CallcreateCall(QName portName)javax.xml.rpc.CallcreateCall(QName portName, String operationName)javax.xml.rpc.CallcreateCall(QName portName, QName operationName)protected static javax.xml.rpc.encoding.TypeMappingcreateLiteralMappings()protected static javax.xml.rpc.encoding.TypeMappingcreateSoapMappings()protected static javax.xml.rpc.encoding.TypeMappingcreateSoapMappings(SOAPVersion ver)static javax.xml.rpc.encoding.TypeMappingRegistrycreateStandardTypeMappingRegistry()javax.xml.rpc.Call[]getCalls(QName portName)javax.xml.rpc.handler.HandlerRegistrygetHandlerRegistry()RemotegetPort(Class portInterface)RemotegetPort(QName portName, Class portInterface)IteratorgetPorts()protected QName[]getPortsAsArray()ReferencegetReference()QNamegetServiceName()javax.xml.rpc.encoding.TypeMappingRegistrygetTypeMappingRegistry()URLgetWSDLDocumentLocation()protected voidinit()protected voidinit(QName name, javax.xml.rpc.encoding.TypeMappingRegistry registry)protected javax.xml.rpc.ServiceExceptionnoWsdlException()
-
-
-
Field Detail
-
DEFAULT_OPERATION_STYLE
protected static final String DEFAULT_OPERATION_STYLE
- See Also:
- Constant Field Values
-
name
protected QName name
-
ports
protected List ports
-
typeRegistry
protected javax.xml.rpc.encoding.TypeMappingRegistry typeRegistry
-
internalTypeRegistry
protected InternalTypeMappingRegistry internalTypeRegistry
-
-
Method Detail
-
getPortsAsArray
protected QName[] getPortsAsArray()
-
init
protected void init(QName name, javax.xml.rpc.encoding.TypeMappingRegistry registry)
-
init
protected void init()
-
addPorts
protected void addPorts(QName[] ports)
-
addPort
protected void addPort(QName port)
-
getPort
public Remote getPort(Class portInterface) throws javax.xml.rpc.ServiceException
- Specified by:
getPortin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
noWsdlException
protected javax.xml.rpc.ServiceException noWsdlException()
-
getPort
public Remote getPort(QName portName, Class portInterface) throws javax.xml.rpc.ServiceException
- Specified by:
getPortin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
getCalls
public javax.xml.rpc.Call[] getCalls(QName portName) throws javax.xml.rpc.ServiceException
- Specified by:
getCallsin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
createCall
public javax.xml.rpc.Call createCall(QName portName) throws javax.xml.rpc.ServiceException
- Specified by:
createCallin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
createCall
public javax.xml.rpc.Call createCall(QName portName, String operationName) throws javax.xml.rpc.ServiceException
- Specified by:
createCallin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
createCall
public javax.xml.rpc.Call createCall(QName portName, QName operationName) throws javax.xml.rpc.ServiceException
- Specified by:
createCallin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
createCall
public javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException- Specified by:
createCallin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
getServiceName
public QName getServiceName()
- Specified by:
getServiceNamein interfacejavax.xml.rpc.Service
-
getPorts
public Iterator getPorts() throws javax.xml.rpc.ServiceException
- Specified by:
getPortsin interfacejavax.xml.rpc.Service- Throws:
javax.xml.rpc.ServiceException
-
getWSDLDocumentLocation
public URL getWSDLDocumentLocation()
- Specified by:
getWSDLDocumentLocationin interfacejavax.xml.rpc.Service
-
getTypeMappingRegistry
public javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
- Specified by:
getTypeMappingRegistryin interfacejavax.xml.rpc.Service
-
getHandlerRegistry
public javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
- Specified by:
getHandlerRegistryin interfacejavax.xml.rpc.Service
-
createStandardTypeMappingRegistry
public static javax.xml.rpc.encoding.TypeMappingRegistry createStandardTypeMappingRegistry()
-
createSoapMappings
protected static javax.xml.rpc.encoding.TypeMapping createSoapMappings()
-
createSoapMappings
protected static javax.xml.rpc.encoding.TypeMapping createSoapMappings(SOAPVersion ver)
-
createLiteralMappings
protected static javax.xml.rpc.encoding.TypeMapping createLiteralMappings()
-
getReference
public Reference getReference() throws NamingException
- Specified by:
getReferencein interfaceReferenceable- Throws:
NamingException
-
-