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
  • Field Details

    • DEFAULT_OPERATION_STYLE

      protected static final String DEFAULT_OPERATION_STYLE
      See Also:
    • name

      protected QName name
    • ports

      protected List ports
    • typeRegistry

      protected javax.xml.rpc.encoding.TypeMappingRegistry typeRegistry
    • internalTypeRegistry

      protected InternalTypeMappingRegistry internalTypeRegistry
  • Constructor Details

    • BasicService

      public BasicService(QName name, javax.xml.rpc.encoding.TypeMappingRegistry registry)
    • BasicService

      public BasicService(QName name)
    • BasicService

      public BasicService(QName name, QName[] ports)
    • BasicService

      public BasicService(QName name, QName[] ports, javax.xml.rpc.encoding.TypeMappingRegistry registry)
    • BasicService

      public BasicService(QName name, Iterator eachPort)
  • Method Details

    • 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:
      getPort in interface javax.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:
      getPort in interface javax.xml.rpc.Service
      Throws:
      javax.xml.rpc.ServiceException
    • getCalls

      public javax.xml.rpc.Call[] getCalls(QName portName) throws javax.xml.rpc.ServiceException
      Specified by:
      getCalls in interface javax.xml.rpc.Service
      Throws:
      javax.xml.rpc.ServiceException
    • createCall

      public javax.xml.rpc.Call createCall(QName portName) throws javax.xml.rpc.ServiceException
      Specified by:
      createCall in interface javax.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:
      createCall in interface javax.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:
      createCall in interface javax.xml.rpc.Service
      Throws:
      javax.xml.rpc.ServiceException
    • createCall

      public javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException
      Specified by:
      createCall in interface javax.xml.rpc.Service
      Throws:
      javax.xml.rpc.ServiceException
    • getServiceName

      public QName getServiceName()
      Specified by:
      getServiceName in interface javax.xml.rpc.Service
    • getPorts

      public Iterator getPorts() throws javax.xml.rpc.ServiceException
      Specified by:
      getPorts in interface javax.xml.rpc.Service
      Throws:
      javax.xml.rpc.ServiceException
    • getWSDLDocumentLocation

      public URL getWSDLDocumentLocation()
      Specified by:
      getWSDLDocumentLocation in interface javax.xml.rpc.Service
    • getTypeMappingRegistry

      public javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
      Specified by:
      getTypeMappingRegistry in interface javax.xml.rpc.Service
    • getHandlerRegistry

      public javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
      Specified by:
      getHandlerRegistry in interface javax.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:
      getReference in interface Referenceable
      Throws:
      NamingException