wsif evaluation questions
Eugeny N Dzhurinsky <[email protected]> Wed, 17 Oct 2007 16:38:08 +0300
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello!
We have to develop an application which need to parse WSDL file, extract li=
st
of available methods from it and expose to upper layer as a list of interfa=
ces
like below:
public interface FunctionInterface {
public ObjectParam exec(ObjectParam param);
};
ObjectParam offers methods like
String getItem(String name);
byte[] getItem(String name);
=2E..
setItem(String name, String value);
setItem(String name, byte[] value);
=2E..
So in general it seems to be possible to map fields in ObjectParam to create
some form of SOAP request to given method with given attributes and types.
We need to implement one or several implementations of FunctionInterface,
which could create SOAP call to given service, knowing the parameters which
are needed to call the service, and obviously convert the data from
ObjectParam properties into some form expected by the method.
One of key feature is there should be no generated source, needed to be
shipped together with software package, so every parsing and call needs to =
be
invoked dynamically.
For now I have several questions:
- is it possible using WSIF get list of functions exposed by some service a=
s a
WSDL descriptor?
- is it possible to recognize parameter types, and dynamically bind some
marshallers/unmarshallers to them?
Thank you in advance!
--=20
Eugene N Dzhurinsky
--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFHFhA+y/i/DoZLbHwRAphsAJ9KNVZmRWSIxiXn7cmb4bNPnzWnqwCZAYDc
NYEkc2ntYtq6Z71Brwcxzzg=
=qwlb
-----END PGP SIGNATURE-----
--y0ulUmNC+osPPQO6--