AndroMDA WebService Cartridge Namespace Components

  • cartridge
  • metafacades
  • profile

AndroMDA WebService Cartridge Namespace Properties

XFire
These properties are specific for XFire support.

wsdls (Back to Outlets)
Required property
No default value available
Specifies the directory to which generated WSDL's will be placed.
java-types (Back to Outlets)
Required property
No default value available
The directory to which any non implementation Java files will be generated.
configuration (Back to Outlets)
Required property
No default value available
The directory to which any configuration files are generated (such as the web.xml, etc).
axis-tests (Back to Outlets)
Optional property
No default value available
The directory to which AXIS specific test classes are generated.
axis-test-impls (Back to Outlets)
Optional property
No default value available
The directory to which the AXIS specific test implementation classes are generated.
wss4j-configuration (Back to Outlets)
Optional property
No default value available
The directory to which any WSS4J specific configuration files are generated.
webservice-types (Back to Outlets)
Required property
No default value available
The directory to which any extra webservice classes will be generated (i.e. an AttachmentHandler for example).
axisVersion (Back to Other)
Optional property
Default value: 1
The version of Axis to use when generating (if using axis). Allowable values are:
  • 1 - Axis 1.x
  • 2 - Axis 2.x
soapStack (Back to Other)
Optional property
Default value: axis
The soap stack to use for your webservices, valid values are:
  • axis
  • xfire
webserviceTypesPackage (Back to Other)
Optional property
Default value: org.andromda.webservice
The package to which extra types are generated (i.e. AttachmentHandler).
extensionInheritanceDisabled (Back to Other)
Optional property
Default value: false
Whether or not inheritance using XSD extensions is disabled. If true - inheritance is "faked" in that an object inheriting from another will include its inherited properties (it will be flatted) in its WSDL schema definition.
attachmentsDirectory (Back to Other)
Optional property
No default value available
The directory where attachments end up. This should be in the syntax appropriate for the target platform.
namespacePrefix (Back to Other)
Optional property
Default value: impl
Defines the prefix to give to the default namespace.
qualifiedNameLocalPartPattern (Back to Other)
Optional property
Default value: {0}
The pattern to use when a qualified name local part is created. {0} represents the name of the classifier (i.e. WS{0} would give all your types and services a prefix of WS).
namespacePattern (Back to Other)
Optional property
Default value: http://{0}
The pattern to use when a namespace is created. {0} represents the package name of the classifier (i.e. ws.{0} would prefix all your type and service namespaces with ws.).
reverseNamespace (Back to Other)
Optional property
Default value: false
Whether or not to reverse the ordering of the namespace. The namespace is typically determined by the package name of the service or type, this allows you to reverse the package name. (i.e. org.andromda.samples would become samples.andromda.org if this was set to true). Value should be true or false.
defaultProvider (Back to Other)
Optional property
Default value: RPC
The default use given all web services (if not defined seperately on each web service). Possible choices are:
  • RPC
  • EJB
defaultStyle (Back to Other)
Optional property
Default value: wrapped
The default style given all web services (if not defined seperately on each web service). Possible choices are:
  • wrapped
  • document
  • rpc
defaultUse (Back to Other)
Optional property
Default value: literal
The default use given all web services (if not defined seperately on each web service). Possible choices are:
  • literal
  • encoded
rpcClassNamePattern (Back to Other)
Optional property
Default value: {0}.{1}Impl
The pattern to use for the class name for a web service using an RPC provider. It's useful to set this when your RPC service has a non typical name (i.e. you want to use the web service delegator from the spring cartridge). {0} is the service package name and {1} is the service class name.
wsdlOperationSortMode (Back to Other)
Optional property
Default value: name
Specifies how operations should be sorted within the WSDL. Current options are none and name.
testPackageNamePattern (Back to Other)
Optional property
Default value: {0}.test
The pattern to use when constructing the package name to which tests are generated, where {0} is the current model element package name.
testNamePattern (Back to Other)
Optional property
Default value: {0}Test
The pattern to use when constructing the name's of the tests that should be generated, where {0} is the current model element name.
testImplementationNamePattern (Back to Other)
Optional property
Default value: {0}TestImpl
The pattern used to construct the test implementation name, where {0} is the current model element name.
arrayNamePrefix (Back to Other)
Optional property
Default value: ArrayOf
Specifies the prefix to give to names of WSDL array elements.
schemaTypeMappingsUri (Back to Other)
Required property
No default value available
URI specifying the specific mappings from model types to WSDL Schema types. (i.e. file:${basedir}/XmlSchemaMappings.xml)
ejbJndiNamePrefix (Back to Other)
Optional property
No default value available
The prefix given to the JNDI name of the EJB provider. This may be specified by another cartridge (i.e. the Hibernate cartridge, EJB cartridge, etc.) so it must be specified here in order to give the correct JNDI name of an EJB provider.
ejbInterfacePattern (Back to Other)
Optional property
Default value: {0}.{1}
The pattern to use when determining the interface of an EJB provider: {0} represents the package name of the model element and {1} represents the name of the model element.
ejbHomeInterfacePattern (Back to Other)
Optional property
Default value: {0}.{1}Home
The pattern to use when determining the home interface of an EJB provider: {0} represents the package name of the model element and {1} represents the name of the model element.
testImplementationOperationNamePrefix (Back to Other)
Optional property
Default value: handle
The pattern used to construct the test implementation name, where {0} is the current model element name.
applicationName (Back to Other)
Required property
No default value available
The name of the application that this service will run within (i.e. Security Services}
wsdlSoapAddress (Back to Other)
Required property
No default value available
The location of where the WSDL will reside (i.e. "http://localhost:8080/security-service/services")
securityRealm (Back to Other)
Optional property
No default value available
The security realm to use for securing your web service(s). NOTE: this must be set in order to have ANY of your web services secured. A web service will be secured if it has any roles (i.e. Actors) have dependencies to it.
testServiceLocatorName (Back to Other)
Optional property
Default value: TestServiceLocator
The name to give the test service locator.
testServiceLocatorPackage (Back to Other)
Optional property
Default value: org.andromda.webservice.test
The package to give the test service locator.
servicesPath (Back to Other)
Optional property
Default value: /services/
The path to the location of the services (relative to the web application context).
ejbJndiUrl (Back to Other)
Optional property
No default value available
The JNDI url to use when using EJB as your web service provider.
ejbNamingContextFactory (Back to Other)
Optional property
Default value: org.jnp.interfaces.NamingContextFactory
The JNDI context factory to use when using EJB as your web service provider.
sessionTimeout (Back to Other)
Optional property
Default value: 5
The number of minutes the session can be idle before timeout occurs.
wsdlSoapNamespace (Back to Other)
Optional property
Default value: http://schemas.xmlsoap.org/wsdl/soap/
No documentation available
xmlSchemaNamespace (Back to Other)
Optional property
Default value: http://www.w3.org/2001/XMLSchema
No documentation available
wsdlNamespace (Back to Other)
Optional property
Default value: http://schemas.xmlsoap.org/wsdl/
No documentation available
documentStyleTransportNamespace (Back to Other)
Optional property
Default value: http://schemas.xmlsoap.org/soap/http
No documentation available
xmlEncoding (Back to Other)
Optional property
Default value: UTF-8
Encoding for generated XML files.
axis2WrappedMessageReceiver (Back to Axis2)
Optional property
No default value available
The message receiver used in the Axis2 service.xml for "wrapped" style services. If this is not specified, the wrapped message receiver generated by this cartridge is used.
axis2DefaultMessageReceiver (Back to Axis2)
Optional property
Default value: org.apache.axis2.rpc.receivers.RPCMessageReceiver
The message receiver used for any services other than "wrapped" style.
axis2GeneratedWrappedMessageReceiverRendersFaultsAsBeans (Back to Axis2)
Optional property
Default value: false
When the generated wrapped message receiver is being used it will render faults as strong-typed beans into the 'details' section of the SOAP body. Exceptions from the JDK will only have their 'message' and 'stackTrace' properties rendered, while custom exceptions only include the properties which have been modeled on them. Setting this property to 'false' will have each exception rendered as a plaintext Axis fault in which you will only find the stacktrace.
springVersion (Back to XFire)
Optional property
Default value: 2
The version of Spring being used. Valid values are:
  • 1
  • 2
signedRequest (Back to WSS4J)
Optional property
Default value: false
True or false on whether or not the webservice will expect signed requests. If true, a WSS4J Axis handler will be added to provide decryption of signed requests (if this is set to true the following properties below MUST be specified.
encryptedRequest (Back to WSS4J)
Optional property
Default value: false
If true, causes generation of necessary code to that expects the request to be encrypted
encryptedResponse (Back to WSS4J)
Optional property
Default value: false
If true, causes generation of necessary code that encrypts the response.
signedResponse (Back to WSS4J)
Optional property
Default value: false
If true, causes generation of necessary code that signs the response.
cryptoKeyStore (Back to WSS4J)
Optional property
No default value available
The location of the key store file (i.e. keys/authorization-service.jks).
cryptoKeyStoreType (Back to WSS4J)
Optional property
No default value available
The key store's type (i.e. jks).
cryptoKeyStoreAlias (Back to WSS4J)
Optional property
No default value available
The key store alias name.
cryptoAliasPassword (Back to WSS4J)
Optional property
No default value available
The alias password.
cryptoKeyStorePassword (Back to WSS4J)
Optional property
No default value available
The key store password.