-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Elli wrote:
> Thanks again. Is there any place to interfere with the service
> definition before that execution? Maybe in a service lifecycle
> listener?

You can write your own CustomAxisObserver class which will get called
when a service is deployed.
(You need to put the following entry in the axis2.xml.  <listener
class="full name of your CustomAxisObserver"/>)

That way you can get access for the service configuration at
deployment time. I think you need to generate and set
schema and type mapping in the service configuration once you have
access to it. If you set it properly then the
generated WSDL should reflects the actual data types you use for the
service.

see also :   org.apache.ws.java2wsdl.SchemaGenerator
                 org.apache.axis2.deployment.util.Util
                 org.apache.axis2.deployment.DeploymentEngine


Hope this will help ..!!

Sanka



- --
Sanka Samaranayake
WSO2 Inc.

http://sankas.blogspot.com/
http://www.wso2.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFFd9AT/Hd0ETKdgNIRAhqZAJ94O99C3zXMFqyClx74mOfecmpTRQCaAkDX
jNqQ69wzL79qQBWauq7dr2g=
=nQR/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to