You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Martin Hamel <ma...@komunide.com> on 2004/05/12 17:43:15 UTC
application context and wsdl
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'd like to serialize an application context(not an axis context) with the
responses to the calls to my services. I can now call my handler at the good
time. My problem is that I have services that are returning differentt
things. The services are existing out of the soap context so I can't really
change them. exemple:
public Requisition getRequisition(RequisitionKey key)
public void setRequisition(Requisition req)
etc..
That translate all well to a web service. I have serializer and deserializer
for Requisition and RequisitionKey. But when that method is called in a java
context, it has a context with an ErrorHandler and some transaction
information. I would like to have those informations serialized on every
call. Is there a way to describe that in the wsdd so that the wsdl tells
about it?
I know that I could wrap all my services into something like that on the
application side:
public Context getRequisition(RequisitionKey key)
public Context setRequisition(Requisition req)
etc..
But I'm wondering if Axis can handle that transparently.
Thanks
- --
Martin Hamel
téléphone: (418)261-2222
clé pgp: 0xA6D61023
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAokYUX1OBk6bWECMRAgjFAKCdBV649Ot/Dtz2NUzwbvnLqxdRkwCgz+d4
QhHIPxgCODDITvNHiRiEWpk=
=/+dz
-----END PGP SIGNATURE-----