Hi Douglas,


-----Urspr�ngliche Nachricht-----
>Von: Douglas D. Dickinson [mailto:[EMAIL PROTECTED]]
>Gesendet: Dienstag, 13. Februar 2001 01:55
>An: jboss-user
>Betreff: [jBoss-User] ZOAP: zoap/examples.html missing some info


>However, if I clone the above into my EJB jar's META-INF/jboss.xml
>(and edit it to have the correct servide name),
>then JBOSS throws exceptions & fails to deply the jar.
>(the ugly log error dump is at the end of this message)

>After closer examination of zoap/etc/META-INF/jboss.xml,
>I think that the following is what the snippet *should* look like:

ok, my fault. On my machine, I think have another instance pool installed
that comes
with defaults and doesn�t throw exceptions. Thanks for the advice.

>I'm unsure if the BindingClass should be:
>       org.zoap.soap.meta.builtin.DefaultBinding
>       (from examples.html - which seems to work)
>or:
>       org.zoap.soap.meta.builtin.DefaultMetaBinding
>       (which appears in zoap/etc/META-INF/jboss.xml)
>?

Ok, there are two types of "Bindings", i.e., mappings from Java class to
XML-Schema types and vice versa: The first one is the "automatic" one that
has a fixed translation between Java reflection (methods and fields) and the
corresponding XML-structurs (request and response messages, types). For each
Java class that is handed to the invocation layer, it will automatically
construct a corresponding XML Schema in memory. Should be very easy to
handle and requires the usage of org.zoap.soap.meta.builtin.DefaultBinding.

The second mode is the "explicit" mode in which you specify the mappings in
a particular meta-data language (the magic .scl and .xsd files). This
language is derived from Microsoft Service Contract Language and XML Schema
with a few extensions that allow to connect the constructs (i.e., messages
and types) to their Java counterparts. The test-bean that comes with ZOAP
uses this second mode and uses the
org.zoap.soap.meta.builtin.DefaultMetaBinding, which is an initially "empty"
binding that can import the meta-data from the .scl and .xsd files.

Best,
CGJ


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to