You probably try to send data which contains character which isn't
allowed in xml document. Maybe try to check your objects values  with
debugger.

On 12/21/06, Steve T <[EMAIL PROTECTED]> wrote:
I am trying to expose an existing class as a web service using XFire 1.2.3.
XFire is integrated into my current application, which runs under Tomcat 5.5. I
generated the WSDL, and used that to generate client code using XFire again. I
called my service, but on the server side I get this exception:
MIT: 36973 [http-8080-Processor25] ERROR
org.codehaus.xfire.handler.DefaultFaultHandler  - Fault occurred!
org.codehaus.xfire.XFireRuntimeException: Error writing document.. Nested
exception is com.ctc.wstx.exc.WstxIOException: Invalid null character in
text to output
com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output
        at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters
(BaseStreamWriter.java:444)
        at org.codehaus.xfire.aegis.stax.ElementWriter.writeValue
(ElementWriter.java:138)
        at org.codehaus.xfire.aegis.AbstractMessageWriter.writeValueAsCharacter
(AbstractMessageWriter.java:76)
        at org.codehaus.xfire.aegis.type.basic.CharacterType.writeObject
(CharacterType.java:20)

Does anyone have any clue as to what my problem is? All help would be greatly
appreciated!

--Steve


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

    http://xircles.codehaus.org/manage_email




--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

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

   http://xircles.codehaus.org/manage_email

Reply via email to