Java Doc for AxisService.java in  » Web-Services-AXIS2 » kernal » org » apache » axis2 » description » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Services AXIS2 » kernal » org.apache.axis2.description 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.axis2.description.AxisDescription
      org.apache.axis2.description.AxisService

AxisService
public class AxisService extends AxisDescription (Code)
Class AxisService


Field Summary
final public static  StringIMPORT_TAG
    
final public static  StringINCLUDE_TAG
    
final public static  StringSCHEMA_LOCATION
    
final public static  StringSUPPORT_SINGLE_OP
     If this param is true, and the service has exactly one AxisOperation, normal operation dispatch (via URI/soapAction/etc) will not be necessary, and we'll just default to funneling all messages to that op.
 LocatorType[]availableDataLocatorTypes
    

Constructor Summary
public  AxisService()
     Constructor AxisService.
public  AxisService(String name)
     Constructor AxisService.

Method Summary
public  voidaddDataLocatorClassNames(String dialect, String dataLocatorClassName)
     Save data Locator configured at service level for this Axis Service dialect- an absolute URI represents the Dialect i.e.
public  voidaddEndpoint(String key, AxisEndpoint axisEndpoint)
    
public  voidaddExposedTransport(String transport)
    
public  voidaddHttpLocationDispatcherString(String string, AxisOperation axisOperation)
     Maps an constant string in the whttp:location to the given operation.
public  voidaddMessageElementQNameToOperationMapping(QName messageElementQName, AxisOperation operation)
     Add an entry to the map between element QNames in WSDL messages and AxisOperations for this service.
public  voidaddMessageReceiver(String mepURI, MessageReceiver messageReceiver)
    
public  voidaddModuleConfig(ModuleConfiguration moduleConfiguration)
     Adds module configuration , if there is moduleConfig tag in service.
 voidaddModuleOperations(AxisModule module)
     Add any control operations defined by a Module to this service.
public  voidaddModuleref(String moduleref)
    
public  voidaddOperation(AxisOperation axisOperation)
     Method addOperation.
public  voidaddSchema(XmlSchema schema)
    
public  voidaddSchema(Collection schemas)
    
public static  AxisServicecreateClientSideAxisService(URL wsdlURL, QName wsdlServiceName, String portName, Options options)
     To create a AxisService for a given WSDL and the created client is most suitable for client side invocation not for server side invocation.
public static  AxisServicecreateClientSideAxisService(Definition wsdlDefinition, QName wsdlServiceName, String portName, Options options)
    
public static  AxisServicecreateService(String implClass, AxisConfiguration axisConfig)
     To create an AxisService using given service impl class name first generate schema corresponding to the given java class , next for each methods AxisOperation will be created.
public static  AxisServicecreateService(String implClass, AxisConfiguration axisConfiguration, Map messageReceiverClassMap, String targetNamespace, String schemaNamespace, ClassLoader loader)
     messageReceiverClassMap will hold the MessageReceivers for given meps.
public static  AxisServicecreateService(String implClass, String serviceName, AxisConfiguration axisConfiguration, Map messageReceiverClassMap, String targetNamespace, ClassLoader loader, SchemaGenerator schemaGenerator, AxisService axisService)
     messageReceiverClassMap will hold the MessageReceivers for given meps.
public  AxisServiceGroupgetAxisServiceGroup()
    
public  StringgetBindingName()
    
public  ClassLoadergetClassLoader()
     Method getClassLoader.
public  ArrayListgetControlOperations()
     Gets the control operation which are added by module like RM.
public  StringgetCustomSchemaNamePrefix()
    
public  StringgetCustomSchemaNameSuffix()
    
public  Data[]getData(DataRetrievalRequest request, MessageContext msgContext)
     Find a data locator from the available data locators (both configured and default ones) to retrieve Metadata or data specified in the request.
public  String[]getEPRs()
    
public  AxisEndpointgetEndpoint(String key)
    
public  StringgetEndpointName()
    
public  StringgetEndpointURL()
    
public  MapgetEndpoints()
    
public  ListgetExposedTransports()
    
public  URLgetFileName()
    
public  AxisDataLocatorgetGlobalDataLocator(String dialect)
    
public  ObjectgetKey()
    
public  longgetLastupdate()
    
public  MessageReceivergetMessageReceiver(String mepURL)
    
public  ModuleConfigurationgetModuleConfig(String moduleName)
    
public  ArrayListgetModules()
    
public  StringgetName()
    
public  MapgetNameSpacesMap()
     Get the namespace map for this service.
public  MapgetNamespaceMap()
     Get the namespace map for this service.
public  ObjectSuppliergetObjectSupplier()
    
public  AxisOperationgetOperation(QName operationName)
     Method getOperation.
public  AxisOperationgetOperationByAction(String action)
     Returns the AxisOperation which has been mapped to the given action.
public  AxisOperationgetOperationByMessageElementQName(QName messageElementQName)
     Look up an AxisOperation for this service based off of an element QName from a WSDL message element.
Parameters:
  messageElementQName - The QName to search for.
public  AxisOperationgetOperationBySOAPAction(String soapAction)
     Returns the operation given a SOAP Action.
public  IteratorgetOperations()
     Method getOperations.
public  ListgetOperationsNameList()
    
public  MapgetP2nMap()
    
public  StringgetPortTypeName()
    
public  ArrayListgetPublishedOperations()
     Gets only the published operations.
public  XmlSchemagetSchema(int index)
    
public  ArrayListgetSchema()
    
public  XmlSchemaElementgetSchemaElement(QName elementQName)
    
public  MapgetSchemaMappingTable()
    
public  StringgetSchemaTargetNamespacePrefix()
    
public  StringgetSchematargetNamespace()
    
public  StringgetScope()
    
public  StringgetServiceDescription()
     Gets the description about the service which is specified in services.xml.
public  ServiceLifeCyclegetServiceLifeCycle()
    
public  StringgetSoapNsUri()
    
public  StringgetTargetNamespace()
    
public  StringgetTargetNamespacePrefix()
    
public  TypeTablegetTypeTable()
    
public  StringgetWSAddressingFlag()
    
public  booleanisActive()
    
public  booleanisClientSide()
    
public  booleanisCustomWsdl()
    
public  booleanisElementFormDefault()
    
public  booleanisEnableAllTransports()
    
public  booleanisExposedTransport(String transport)
    
public  booleanisModifyUserWSDLPortAddress()
    
public  booleanisSchemaLocationsAdjusted()
    
public  booleanisUseDefaultChains()
    
public  booleanisUseUserWSDL()
    
public  booleanisWsdlFound()
    
protected  AxisDataLocatorloadDataLocator(String className)
    
public  voidmapActionToOperation(String action, AxisOperation axisOperation)
     Maps an action (a SOAPAction or WSA action) to the given operation.
public  voidonDisengage(AxisModule module)
    
public  voidonEngage(AxisModule axisModule, AxisDescription engager)
     Engages a module.
public  MappopulateSchemaMappings()
    
public  voidprintSchema(OutputStream out)
    
public  voidprintUserWSDL(OutputStream out, String wsdlName)
    
public  voidprintWSDL(OutputStream out, String requestIP)
     Produces a WSDL for this AxisService and prints it to the specified OutputStream.
Parameters:
  out - destination stream.
public  voidprintWSDL(OutputStream out)
     Print the WSDL with a default URL.
public  voidprintWSDL2(OutputStream out)
     Print the WSDL2.0 with a default URL.
public  voidprintWSDL2(OutputStream out, String requestIP)
    
public  voidreleaseSchemaList()
     Release the list of schema objects.
public  voidremoveExposedTransport(String transport)
    
public  voidremoveOperation(QName opName)
    
public  voidsetActive(boolean active)
    
public  voidsetBindingName(String bindingName)
    
public  voidsetClassLoader(ClassLoader classLoader)
     Method setClassLoader.
public  voidsetClientSide(boolean clientSide)
    
public  voidsetCustomSchemaNamePrefix(String customSchemaNamePrefix)
    
public  voidsetCustomSchemaNameSuffix(String customSchemaNameSuffix)
    
public  voidsetCustomWsdl(boolean customWsdl)
    
public  voidsetEPRs(String[] eprs)
    
public  voidsetElementFormDefault(boolean elementFormDefault)
    
public  voidsetEnableAllTransports(boolean enableAllTransports)
    
public  voidsetEndpointName(String endpoint)
    
public  voidsetEndpointURL(String endpointURL)
    
public  voidsetExposedTransports(List transports)
    
public  voidsetFileName(URL fileName)
    
public  voidsetLastupdate()
     Sets the current time as last update time of the service.
public  voidsetMessageElementQNameToOperationMap(Map messageElementQNameToOperationMap)
     Set the map of WSDL message element QNames to AxisOperations for this service.
public  voidsetName(String name)
    
public  voidsetNameSpacesMap(NamespaceMap nameSpacesMap)
    
public  voidsetNamespaceMap(NamespaceMap namespaceMap)
    
public  voidsetObjectSupplier(ObjectSupplier objectSupplier)
    
public  voidsetOperationsNameList(List operationsNameList)
    
public  voidsetP2nMap(Map p2nMap)
    
public  voidsetParent(AxisServiceGroup parent)
    
public  voidsetPortTypeName(String portTypeName)
    
public  voidsetSchemaLocationsAdjusted(boolean schemaLocationsAdjusted)
    
public  voidsetSchemaMappingTable(Map schemaMappingTable)
    
public  voidsetSchemaTargetNamespace(String schematargetNamespace)
    
public  voidsetSchematargetNamespacePrefix(String schematargetNamespacePrefix)
    
public  voidsetScope(String scope)
    
public  voidsetServiceDescription(String documentation)
    
public  voidsetServiceLifeCycle(ServiceLifeCycle serviceLifeCycle)
    
public  voidsetSoapNsUri(String soapNsUri)
    
public  voidsetTargetNamespace(String targetNamespace)
    
public  voidsetTargetNamespacePrefix(String targetNamespacePrefix)
    
public  voidsetTypeTable(TypeTable typeTable)
    
public  voidsetUseDefaultChains(boolean useDefaultChains)
    
public  voidsetWSAddressingFlag(String ar)
    
public  voidsetWsdlFound(boolean wsdlFound)
    
public  StringtoString()
    

Field Detail
IMPORT_TAG
final public static String IMPORT_TAG(Code)



INCLUDE_TAG
final public static String INCLUDE_TAG(Code)



SCHEMA_LOCATION
final public static String SCHEMA_LOCATION(Code)



SUPPORT_SINGLE_OP
final public static String SUPPORT_SINGLE_OP(Code)
If this param is true, and the service has exactly one AxisOperation, normal operation dispatch (via URI/soapAction/etc) will not be necessary, and we'll just default to funneling all messages to that op. This is useful for passthrough/ESB/embedded applications.



availableDataLocatorTypes
LocatorType[] availableDataLocatorTypes(Code)




Constructor Detail
AxisService
public AxisService()(Code)
Constructor AxisService.



AxisService
public AxisService(String name)(Code)
Constructor AxisService.




Method Detail
addDataLocatorClassNames
public void addDataLocatorClassNames(String dialect, String dataLocatorClassName)(Code)
Save data Locator configured at service level for this Axis Service dialect- an absolute URI represents the Dialect i.e. WSDL, Policy, Schema or"ServiceLevel" for non-dialect service level data locator.
Parameters:
  dataLocatorClassName - - class name of the Data Locator configured to support data retrievalfor the specified dialect.



addEndpoint
public void addEndpoint(String key, AxisEndpoint axisEndpoint)(Code)



addExposedTransport
public void addExposedTransport(String transport)(Code)



addHttpLocationDispatcherString
public void addHttpLocationDispatcherString(String string, AxisOperation axisOperation)(Code)
Maps an constant string in the whttp:location to the given operation. This is used by RequestURIOperationDispatcher based dispatching to figure out which operation it is that a given message is for.
Parameters:
  string - the constant drawn from whttp:location
Parameters:
  axisOperation - the operation to map to



addMessageElementQNameToOperationMapping
public void addMessageElementQNameToOperationMapping(QName messageElementQName, AxisOperation operation)(Code)
Add an entry to the map between element QNames in WSDL messages and AxisOperations for this service.
Parameters:
  messageElementQName - The QName of the element on the input messagethat maps to the given operation.
Parameters:
  operation - The AxisOperation to be mapped to.
See Also:   AxisService.setMessageElementQNameToOperationMap(Map)



addMessageReceiver
public void addMessageReceiver(String mepURI, MessageReceiver messageReceiver)(Code)



addModuleConfig
public void addModuleConfig(ModuleConfiguration moduleConfiguration)(Code)
Adds module configuration , if there is moduleConfig tag in service.
Parameters:
  moduleConfiguration -



addModuleOperations
void addModuleOperations(AxisModule module) throws AxisFault(Code)
Add any control operations defined by a Module to this service.
Parameters:
  module - the AxisModule which has just been engaged
throws:
  AxisFault - if a problem occurs



addModuleref
public void addModuleref(String moduleref)(Code)



addOperation
public void addOperation(AxisOperation axisOperation)(Code)
Method addOperation.
Parameters:
  axisOperation -



addSchema
public void addSchema(XmlSchema schema)(Code)



addSchema
public void addSchema(Collection schemas)(Code)



createClientSideAxisService
public static AxisService createClientSideAxisService(URL wsdlURL, QName wsdlServiceName, String portName, Options options) throws AxisFault(Code)
To create a AxisService for a given WSDL and the created client is most suitable for client side invocation not for server side invocation. Since all the soap action and wsa action is added to operations
Parameters:
  wsdlURL - location of the WSDL
Parameters:
  wsdlServiceName - name of the service to be invoke , if it is null then the first one willbe selected if there are more than one
Parameters:
  portName - name of the port , if there are more than one , if it is null then thefirst one in the iterator will be selected
Parameters:
  options - Service client options, to set the target EPR AxisService , the created service will be return



createClientSideAxisService
public static AxisService createClientSideAxisService(Definition wsdlDefinition, QName wsdlServiceName, String portName, Options options) throws AxisFault(Code)



createService
public static AxisService createService(String implClass, AxisConfiguration axisConfig) throws AxisFault(Code)
To create an AxisService using given service impl class name first generate schema corresponding to the given java class , next for each methods AxisOperation will be created. If the method is in-out it will uses RPCMessageReceiver else RPCInOnlyMessageReceiver

Note : Inorder to work this properly RPCMessageReceiver should be available in the class path otherewise operation can not continue
Parameters:
  implClass - Service implementation class
Parameters:
  axisConfig - Current AxisConfiguration return created AxisSrevice the creted service , it can either be null or valid service




createService
public static AxisService createService(String implClass, AxisConfiguration axisConfiguration, Map messageReceiverClassMap, String targetNamespace, String schemaNamespace, ClassLoader loader) throws AxisFault(Code)
messageReceiverClassMap will hold the MessageReceivers for given meps. Key will be the mep and value will be the instance of the MessageReceiver class. Ex: Map mrMap = new HashMap(); mrMap.put("http://www.w3.org/2004/08/wsdl/in-only", RPCInOnlyMessageReceiver.class.newInstance()); mrMap.put("http://www.w3.org/2004/08/wsdl/in-out", RPCMessageReceiver.class.newInstance());
Parameters:
  implClass -
Parameters:
  axisConfiguration -
Parameters:
  messageReceiverClassMap -
Parameters:
  targetNamespace -
Parameters:
  schemaNamespace -
throws:
  AxisFault -



createService
public static AxisService createService(String implClass, String serviceName, AxisConfiguration axisConfiguration, Map messageReceiverClassMap, String targetNamespace, ClassLoader loader, SchemaGenerator schemaGenerator, AxisService axisService) throws AxisFault(Code)
messageReceiverClassMap will hold the MessageReceivers for given meps. Key will be the mep and value will be the instance of the MessageReceiver class. Ex: Map mrMap = new HashMap(); mrMap.put("http://www.w3.org/2004/08/wsdl/in-only", RPCInOnlyMessageReceiver.class.newInstance()); mrMap.put("http://www.w3.org/2004/08/wsdl/in-out", RPCMessageReceiver.class.newInstance());
Parameters:
  implClass -
Parameters:
  axisConfiguration -
Parameters:
  messageReceiverClassMap -
Parameters:
  targetNamespace -
throws:
  AxisFault -



getAxisServiceGroup
public AxisServiceGroup getAxisServiceGroup()(Code)



getBindingName
public String getBindingName()(Code)



getClassLoader
public ClassLoader getClassLoader()(Code)
Method getClassLoader. Returns ClassLoader.



getControlOperations
public ArrayList getControlOperations()(Code)
Gets the control operation which are added by module like RM.



getCustomSchemaNamePrefix
public String getCustomSchemaNamePrefix()(Code)



getCustomSchemaNameSuffix
public String getCustomSchemaNameSuffix()(Code)



getData
public Data[] getData(DataRetrievalRequest request, MessageContext msgContext) throws AxisFault(Code)
Find a data locator from the available data locators (both configured and default ones) to retrieve Metadata or data specified in the request.
Parameters:
  request - an DataRetrievalRequest object
Parameters:
  msgContext - message context array of Data object for the request.
throws:
  AxisFault -



getEPRs
public String[] getEPRs() throws AxisFault(Code)



getEndpoint
public AxisEndpoint getEndpoint(String key)(Code)



getEndpointName
public String getEndpointName()(Code)
get the endpointName



getEndpointURL
public String getEndpointURL()(Code)



getEndpoints
public Map getEndpoints()(Code)



getExposedTransports
public List getExposedTransports()(Code)



getFileName
public URL getFileName()(Code)



getGlobalDataLocator
public AxisDataLocator getGlobalDataLocator(String dialect) throws AxisFault(Code)



getKey
public Object getKey()(Code)



getLastupdate
public long getLastupdate()(Code)



getMessageReceiver
public MessageReceiver getMessageReceiver(String mepURL)(Code)



getModuleConfig
public ModuleConfiguration getModuleConfig(String moduleName)(Code)



getModules
public ArrayList getModules()(Code)



getName
public String getName()(Code)



getNameSpacesMap
public Map getNameSpacesMap()(Code)
Get the namespace map for this service. a Map of prefix (String) to namespace URI (String)



getNamespaceMap
public Map getNamespaceMap()(Code)
Get the namespace map for this service. a Map of prefix (String) to namespace URI (String)



getObjectSupplier
public ObjectSupplier getObjectSupplier()(Code)



getOperation
public AxisOperation getOperation(QName operationName)(Code)
Method getOperation.
Parameters:
  operationName - Returns AxisOperation.



getOperationByAction
public AxisOperation getOperationByAction(String action)(Code)
Returns the AxisOperation which has been mapped to the given action.
Parameters:
  action - the action key Returns the corresponding AxisOperation or null if it isn't found.



getOperationByMessageElementQName
public AxisOperation getOperationByMessageElementQName(QName messageElementQName)(Code)
Look up an AxisOperation for this service based off of an element QName from a WSDL message element.
Parameters:
  messageElementQName - The QName to search for. The AxisOperation registered to the QName or null if no matchwas found.
See Also:   AxisService.setMessageElementQNameToOperationMap(Map)



getOperationBySOAPAction
public AxisOperation getOperationBySOAPAction(String soapAction)(Code)
Returns the operation given a SOAP Action. This method should be called if only one Endpoint is defined for this Service. If more than one Endpoint exists, one of them will be picked. If more than one Operation is found with the given SOAP Action; null will be returned. If no particular Operation is found with the given SOAP Action; null will be returned.
Parameters:
  soapAction - SOAP Action defined for the particular Operation Returns an AxisOperation if a unique Operation can be found with the givenSOAP Action otherwise will return null.



getOperations
public Iterator getOperations()(Code)
Method getOperations. Returns HashMap



getOperationsNameList
public List getOperationsNameList()(Code)



getP2nMap
public Map getP2nMap()(Code)



getPortTypeName
public String getPortTypeName()(Code)
name of the port type



getPublishedOperations
public ArrayList getPublishedOperations()(Code)
Gets only the published operations.



getSchema
public XmlSchema getSchema(int index)(Code)



getSchema
public ArrayList getSchema()(Code)



getSchemaElement
public XmlSchemaElement getSchemaElement(QName elementQName)(Code)



getSchemaMappingTable
public Map getSchemaMappingTable()(Code)



getSchemaTargetNamespacePrefix
public String getSchemaTargetNamespacePrefix()(Code)



getSchematargetNamespace
public String getSchematargetNamespace()(Code)



getScope
public String getScope()(Code)



getServiceDescription
public String getServiceDescription()(Code)
Gets the description about the service which is specified in services.xml. Returns String.



getServiceLifeCycle
public ServiceLifeCycle getServiceLifeCycle()(Code)



getSoapNsUri
public String getSoapNsUri()(Code)
get the SOAPVersion



getTargetNamespace
public String getTargetNamespace()(Code)



getTargetNamespacePrefix
public String getTargetNamespacePrefix()(Code)



getTypeTable
public TypeTable getTypeTable()(Code)



getWSAddressingFlag
public String getWSAddressingFlag()(Code)



isActive
public boolean isActive()(Code)



isClientSide
public boolean isClientSide()(Code)



isCustomWsdl
public boolean isCustomWsdl()(Code)



isElementFormDefault
public boolean isElementFormDefault()(Code)



isEnableAllTransports
public boolean isEnableAllTransports()(Code)



isExposedTransport
public boolean isExposedTransport(String transport)(Code)



isModifyUserWSDLPortAddress
public boolean isModifyUserWSDLPortAddress()(Code)
By default the port address in user WSDLs is modified, set the following parameter to override this behaviour false



isSchemaLocationsAdjusted
public boolean isSchemaLocationsAdjusted()(Code)



isUseDefaultChains
public boolean isUseDefaultChains()(Code)



isUseUserWSDL
public boolean isUseUserWSDL()(Code)
User can set a parameter in services.xml saying he want to show the original wsdl that he put into META-INF once someone ask for ?wsdl so if you want to use your own wsdl then add following parameter into services.xml true



isWsdlFound
public boolean isWsdlFound()(Code)



loadDataLocator
protected AxisDataLocator loadDataLocator(String className) throws AxisFault(Code)



mapActionToOperation
public void mapActionToOperation(String action, AxisOperation axisOperation)(Code)
Maps an action (a SOAPAction or WSA action) to the given operation. This is used by dispatching (both SOAPAction- and WSAddressing- based dispatching) to figure out which operation a given message is for. Some notes on restrictions of "action" - A null or empty action will be ignored - An action that is a duplicate and references an idential operation is allowed - An acton that is a duplicate and references a different operation is NOT allowed. In this case, the action for the original operation is removed from the alias table, thus removing the ability to route based on this action. This is necessary to prevent mis-directing incoming message to the wrong operation based on SOAPAction.
Parameters:
  action - the action key
Parameters:
  axisOperation - the operation to map to



onDisengage
public void onDisengage(AxisModule module) throws AxisFault(Code)



onEngage
public void onEngage(AxisModule axisModule, AxisDescription engager) throws AxisFault(Code)
Engages a module. It is required to use this method.
Parameters:
  axisModule -
Parameters:
  engager -



populateSchemaMappings
public Map populateSchemaMappings()(Code)
runs the schema mappings if it has not been run previously it is best that this logic be in the axis service since one can call the axis service to populate the schema mappings



printSchema
public void printSchema(OutputStream out) throws AxisFault(Code)



printUserWSDL
public void printUserWSDL(OutputStream out, String wsdlName) throws AxisFault(Code)



printWSDL
public void printWSDL(OutputStream out, String requestIP) throws AxisFault(Code)
Produces a WSDL for this AxisService and prints it to the specified OutputStream.
Parameters:
  out - destination stream. The WSDL will be sent here.
Parameters:
  requestIP - the hostname the WSDL request was directed at. This should be the addressthat appears in the generated WSDL.
throws:
  AxisFault - if an error occurs



printWSDL
public void printWSDL(OutputStream out) throws AxisFault(Code)
Print the WSDL with a default URL. This will be called only during codegen time.
Parameters:
  out -
throws:
  AxisFault -



printWSDL2
public void printWSDL2(OutputStream out) throws AxisFault(Code)
Print the WSDL2.0 with a default URL. This will be called only during codegen time.
Parameters:
  out -
throws:
  AxisFault -



printWSDL2
public void printWSDL2(OutputStream out, String requestIP) throws AxisFault(Code)



releaseSchemaList
public void releaseSchemaList()(Code)
Release the list of schema objects.

In some environments, this can provide significant relief of memory consumption in the java heap, as long as the need for the schema list has completed.




removeExposedTransport
public void removeExposedTransport(String transport)(Code)



removeOperation
public void removeOperation(QName opName)(Code)



setActive
public void setActive(boolean active)(Code)



setBindingName
public void setBindingName(String bindingName)(Code)



setClassLoader
public void setClassLoader(ClassLoader classLoader)(Code)
Method setClassLoader.
Parameters:
  classLoader -



setClientSide
public void setClientSide(boolean clientSide)(Code)



setCustomSchemaNamePrefix
public void setCustomSchemaNamePrefix(String customSchemaNamePrefix)(Code)



setCustomSchemaNameSuffix
public void setCustomSchemaNameSuffix(String customSchemaNameSuffix)(Code)



setCustomWsdl
public void setCustomWsdl(boolean customWsdl)(Code)



setEPRs
public void setEPRs(String[] eprs)(Code)



setElementFormDefault
public void setElementFormDefault(boolean elementFormDefault)(Code)



setEnableAllTransports
public void setEnableAllTransports(boolean enableAllTransports)(Code)
To eneble service to be expose in all the transport
Parameters:
  enableAllTransports -



setEndpointName
public void setEndpointName(String endpoint)(Code)



setEndpointURL
public void setEndpointURL(String endpointURL)(Code)



setExposedTransports
public void setExposedTransports(List transports)(Code)



setFileName
public void setFileName(URL fileName)(Code)



setLastupdate
public void setLastupdate()(Code)
Sets the current time as last update time of the service.



setMessageElementQNameToOperationMap
public void setMessageElementQNameToOperationMap(Map messageElementQNameToOperationMap)(Code)
Set the map of WSDL message element QNames to AxisOperations for this service. This map is used during SOAP Body-based routing for document/literal bare services to match the first child element of the SOAP Body element to an operation. (Routing for RPC and document/literal wrapped services occurs via the operationsAliasesMap.)

From section 4.7.6 of the WS-I BP 1.1: the "operation signature" is "the fully qualified name of the child element of SOAP body of the SOAP input message described by an operation in a WSDL binding," and thus this map must be from a QName to an operation.
Parameters:
  messageElementQNameToOperationMap - The map from WSDL messageelement QNames toAxisOperations.




setName
public void setName(String name)(Code)



setNameSpacesMap
public void setNameSpacesMap(NamespaceMap nameSpacesMap)(Code)
Sets the
Parameters:
  nameSpacesMap -



setNamespaceMap
public void setNamespaceMap(NamespaceMap namespaceMap)(Code)



setObjectSupplier
public void setObjectSupplier(ObjectSupplier objectSupplier)(Code)



setOperationsNameList
public void setOperationsNameList(List operationsNameList)(Code)



setP2nMap
public void setP2nMap(Map p2nMap)(Code)



setParent
public void setParent(AxisServiceGroup parent)(Code)



setPortTypeName
public void setPortTypeName(String portTypeName)(Code)

Parameters:
  portTypeName -



setSchemaLocationsAdjusted
public void setSchemaLocationsAdjusted(boolean schemaLocationsAdjusted)(Code)



setSchemaMappingTable
public void setSchemaMappingTable(Map schemaMappingTable)(Code)



setSchemaTargetNamespace
public void setSchemaTargetNamespace(String schematargetNamespace)(Code)



setSchematargetNamespacePrefix
public void setSchematargetNamespacePrefix(String schematargetNamespacePrefix)(Code)



setScope
public void setScope(String scope)(Code)

Parameters:
  scope - - Available scopes :Constants.SCOPE_APPLICATIONConstants.SCOPE_TRANSPORT_SESSIONConstants.SCOPE_SOAP_SESSIONConstants.SCOPE_REQUEST.equals



setServiceDescription
public void setServiceDescription(String documentation)(Code)
Sets the description about the service which is specified in services.xml
Parameters:
  documentation -



setServiceLifeCycle
public void setServiceLifeCycle(ServiceLifeCycle serviceLifeCycle)(Code)



setSoapNsUri
public void setSoapNsUri(String soapNsUri)(Code)



setTargetNamespace
public void setTargetNamespace(String targetNamespace)(Code)



setTargetNamespacePrefix
public void setTargetNamespacePrefix(String targetNamespacePrefix)(Code)



setTypeTable
public void setTypeTable(TypeTable typeTable)(Code)



setUseDefaultChains
public void setUseDefaultChains(boolean useDefaultChains)(Code)



setWSAddressingFlag
public void setWSAddressingFlag(String ar)(Code)



setWsdlFound
public void setWsdlFound(boolean wsdlFound)(Code)



toString
public String toString()(Code)



Fields inherited from org.apache.axis2.description.AxisDescription
static Collection NULL_MODULES(Code)(Java Doc)
protected Map engagedModules(Code)(Java Doc)
protected AxisDescription parent(Code)(Java Doc)

Methods inherited from org.apache.axis2.description.AxisDescription
public void addChild(AxisDescription child)(Code)(Java Doc)
public void addChild(Object key, AxisDescription child)(Code)(Java Doc)
public void addParameter(Parameter param) throws AxisFault(Code)(Java Doc)
public void addParameter(String name, Object value) throws AxisFault(Code)(Java Doc)
public void applyPolicy(Policy policy) throws AxisFault(Code)(Java Doc)
public void applyPolicy() throws AxisFault(Code)(Java Doc)
public void deserializeParameters(OMElement parameterElement) throws AxisFault(Code)(Java Doc)
public void disengageModule(AxisModule module) throws AxisFault(Code)(Java Doc)
public void engageModule(AxisModule axisModule) throws AxisFault(Code)(Java Doc)
public void engageModule(AxisModule axisModule, AxisDescription source) throws AxisFault(Code)(Java Doc)
public AxisConfiguration getAxisConfiguration()(Code)(Java Doc)
public AxisDescription getChild(Object key)(Code)(Java Doc)
public Iterator getChildren()(Code)(Java Doc)
public String getDocumentation()(Code)(Java Doc)
public Collection getEngagedModules()(Code)(Java Doc)
abstract public Object getKey()(Code)(Java Doc)
public Parameter getParameter(String name)(Code)(Java Doc)
public Object getParameterValue(String name)(Code)(Java Doc)
public ArrayList getParameters()(Code)(Java Doc)
public AxisDescription getParent()(Code)(Java Doc)
public PolicyInclude getPolicyInclude()(Code)(Java Doc)
public boolean isEngaged(String moduleName)(Code)(Java Doc)
public boolean isEngaged(AxisModule axisModule)(Code)(Java Doc)
public boolean isParameterLocked(String parameterName)(Code)(Java Doc)
public boolean isParameterTrue(String name)(Code)(Java Doc)
protected void onDisengage(AxisModule module) throws AxisFault(Code)(Java Doc)
protected void onEngage(AxisModule module, AxisDescription engager) throws AxisFault(Code)(Java Doc)
public void removeChild(Object key)(Code)(Java Doc)
public void removeParameter(Parameter param) throws AxisFault(Code)(Java Doc)
public void setDocumentation(String documentation)(Code)(Java Doc)
public void setParent(AxisDescription parent)(Code)(Java Doc)
public void setPolicyInclude(PolicyInclude policyInclude)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.