I have been doing some reading... and more reading... :-)

 

So many choices. But all start with business requirements.

 

In a nutshell.

 

I like the Axiom model and the ability to write code vs generated code.
On the other hand I want XSD conformance. We also need to have a fairly
rich XML model so we want to use a document vs RPC model. In addition
I/we don't just want to have a single graph/XML/Tree like Object we need
to be able to have arrays of graph like objects. To me this seems to be
the promise,  to richly describe via XML and XSD a service interaction.
Not RPC simple type in and simple type out, at least for our purposes.

 

Questions:

 

The Axiom model of server side implementation does not seem to be able
to be generated from the WSDL2Java, Am I missing something? Can I be
pointed to examples that illustrate non-trivial XSD compliance using the
Axiom server side implementation?

 

Where is the XML validated? Handler Chain? Servlet, Skelton, Or is the
validity of interaction the responsibility of the Client and WSDL?

 

I used WSDL2Java xmlBeans option and have a working service with the
*.class Schema types. How are these used? Should I decompile and take a
peek under the hood? Are they used for XSD comfornance?

 

Also the documentation says the files are needed at compile time. I am
not finding that to be true.

 

Excerpt

*****************************************************

An important detail is that an XMLBean class file is also generated by
WSDL2Java, TypeSystemHolder.class. That file is placed into
build/classes by the above ant task and will be needed to compile the
generated sources. A frequent problem is users get an error such as:

 

ClassNotFoundException : Cannot load SchemaTypeSystem. Unable to load
class with name
schemaorg_apache_xmlbeans.system.s68C41DB812F52C975439BA10FE4FEE54.TypeS
ystemHolder. Make sure the generated binary files are on the classpath

*****************************************************

 

The classes are used at runtime correct? So this would be a runtime
ClassNotFoundException. The reference to the "schemaorg_*" String when
creating the type isn't checked at compile time. 

 

Finally since the promise of webservices is to *not* have to use Axis or
any other implementation specific stack, but the XML XSD, and WSDL
elements, are there client examples for invoking Axis created services
from .NET, 1.4 JRE, etc...clients which in theory bind to the WSDL. I
know each of these technologies has it's own WSDL2<language> tools but
it would be good to have a library of non Axis clients for compatibility
testing.

Reply via email to