I've been having problems with code created by XFire from a WSDL generated by another system in our company. There are one or two other similar reports of problems in a Google search of the error message, but no solutions that I can find. And I really can't figure out what to investigate next. If anyone has some spare brain cycles, I would appreciate pointers to what I'm doing wrong.

I get an XFireFault: "could not marshall type" due eventually to a

    javax.xml.bind.JAXBException: <myItem> is not known to this context

I've posted the WSDL, a test class, and the ant output to

    http://scott.sauyet.com/Java/XFire/2007-07-17a/Events.wsdl
    http://scott.sauyet.com/Java/XFire/2007-07-17a/EventsTest.java
    http://scott.sauyet.com/Java/XFire/2007-07-17a/ant.txt

I also put an entire simplified application up there:

    http://scott.sauyet.com/Java/XFire/2007-07-17a/app.zip

This can be run with "ant test". The code has nothing surprising in it. But the WSDL might be problematic. If so, I already have to do some XSLT massaging of it to get XFire to recognize it (doc-literal vs rpc issues) so I should be able to change it if that's what it will take.

Thank you very much for your time,

  -- Scott Sauyet


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to