org.apache.geronimo.ews.ws4j2ee.context.webservices.client.interfaces
Interface ServiceReferanceContext

All Known Implementing Classes:
ServiceReferanceImpl

public interface ServiceReferanceContext

This class represent the service-ref element as define by the j2ee webserice client schema. this elemet may in the web.xml or ejb-jar.xml.

Author:
Srinath Perera(hemapani@opensource.lk)

Method Summary
 void addHandler(WSCFHandler handler)
           
 WSCFHandler[] getHandlers()
           
 java.lang.String getJaxrpcmappingFile()
          JAX-RPC Mapping.
 javax.xml.namespace.QName getServcieQName()
           
 java.lang.String getServiceInterface()
           
 java.lang.String getServicerefName()
          Service Reference Name.
 java.lang.String getWsdlFile()
          WSDL definition (optional).
 void setJaxrpcmappingFile(java.lang.String string)
           
 void setServcieQName(javax.xml.namespace.QName name)
          Service Port.
 void setServiceInterface(java.lang.String string)
          Service type: The service-interface element defines the fully qualified name of the JAXRPC Service Interface class returned by the JNDI lookup.
 void setServicerefName(java.lang.String string)
           
 void setWsdlFile(java.lang.String string)
           
 

Method Detail

setServiceInterface

public void setServiceInterface(java.lang.String string)
Service type: The service-interface element defines the fully qualified name of the JAXRPC Service Interface class returned by the JNDI lookup.


getServiceInterface

public java.lang.String getServiceInterface()

getWsdlFile

public java.lang.String getWsdlFile()
WSDL definition (optional). The wsdl-file element specifies a location of the WSDL description of the service. The location is relative to the root of the module. The WSDL description may be a partial WSDL, but must at least include the portType and binding elements. The WSDL description provided by the developer is considered a template that must be preserved by the assembly/deployment process. In other words, the WSDL description contains a declaration of the application?s dependency on portTypes, bindings, and QNames. The WSDL document must be fully specified, including the service and port elements, if the application is dependent on port QNames (e.g. uses the Service.getPort(QName,Class) method). The developer must specify the wsdl-file if any of the Service methods declared in section 4.2.2.4 or 4.2.2.5 are used


setWsdlFile

public void setWsdlFile(java.lang.String string)

setServcieQName

public void setServcieQName(javax.xml.namespace.QName name)
Service Port. If the specified wsdl-file has more than one service element, the developer must specify the service-qname.


getServcieQName

public javax.xml.namespace.QName getServcieQName()

getJaxrpcmappingFile

public java.lang.String getJaxrpcmappingFile()
JAX-RPC Mapping. The developer specifies the correlation of the WSDL definition to the interfaces using the jaxrpc-mapping-file element. The location is relative to the root of the module. The same mapping file must be used for all interfaces associated with a wsdl-file. The developer must specify the jaxrpc-mapping-file if the wsdl-file is specified.


setJaxrpcmappingFile

public void setJaxrpcmappingFile(java.lang.String string)

getServicerefName

public java.lang.String getServicerefName()
Service Reference Name. This defines a logical name for the reference that is used in the client source code. It is recommended, but not required that the name begin with service/*.


setServicerefName

public void setServicerefName(java.lang.String string)

getHandlers

public WSCFHandler[] getHandlers()

addHandler

public void addHandler(WSCFHandler handler)


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.