Hello,
A few folks have previously talked about using XmlBeans with SOAP on
this mailing list. I think that's a great idea and have been looking for
a good way to do that for some time.
I've just successfully finished testing XFire's XmlBeans support and it
seems to work. I'm able to run XFire in Tomcat 5.0.30 and in WebLogic(1)
8.1 and a simple test using an Axis 1.1 client against the dynamically
generated WSDL works fine. The server XFire service is using an XmlBean
originally defined by XSD.
Btw, the dynamically generated WSDL looks correct - even for all
anonymous types I tested (not fully tested yet). This is something I was
not able to get working with the Axis XmlBeansSerializer.
(1) WebLogic users may want to use this in their XFire webapp so the
older WebLogic XmlBeans classes and QName class doesn't conflict:
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
Also, I had to create an InitServlet that loads on startup to register
the XmlBean-based service as the xml configuration isn't quite perfect yet.
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]