I'm not quite sure what you are looking for, you don't specify which java classes you are talking about.

In the geronimo axis port we use the xmlbeans schema type model to analyze the wsdl schemas and relate the types to what is in the jaxrpc mapping file. Basically we create a map whose keys are the "qname" used in the jaxrpc-mapping file with the other info in a java-xml-type-mapping entry and the value is the corresponding xmlbeans SchemaType.

The code for this is all in SchemaInfoBuilder:

http://svn.apache.org/viewcvs.cgi/geronimo/trunk/modules/axis-builder/ src/java/org/apache/geronimo/axis/builder/SchemaInfoBuilder.java? rev=219798&view=log

with the related class SchemaTypeKey.

Feel free to ask questions and borrow code for axis :-)

thanks
david jencks

On Jul 22, 2005, at 1:32 PM, Mark Swanson wrote:

Hello,

I recently fixed the XmlBeansSerializer for Axis (CVS - 1.3 alpha).
I use other tools with XmlBeans and web services but was given a requirement to make this all work with Axis recently.

So I ran into a problem with XmlBeans and Axis. It's more of an Axis problem/issue but perhaps someone here might be able to shed some light.

Essentially the serializer/deserializer works fine - even with Anonymous types. However, one must statically map (by hand) all of the Java Class to schema mappings. Arg...

So, does anyone know what the easiest way would be to pull all of the the QNames and their corresponding java class names out of the schema.jar created by scomp? If I had that, I could dynamically map the XmlBeans [de]serializers and folks could actually use this wonderful technology within Axis.

Thanks for any thoughts.

Cheers.


--
Free replacement for Exchange and Outlook (Contacts and Calendar)
http://www.ScheduleWorld.com/
WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb

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



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

Reply via email to