Issues encountered using Xfire to publish the WebService interface:

Source: Internet
Author: User
Tags log4j

Question one:

Log4j:warn No Appenders could is found for logger (Org.codehaus.xfire.transport.DefaultTransportManager).
Log4j:warn Initialize the log4j system properly.
Org.codehaus.xfire.XFireRuntimeException:Could not invoke service: Nested exception is org.codehaus.xfire.fault.XFireFault:Could not read XML stream: Nested exception is com.ctc.wstx.exc.WstxParsingException:Expected a text token, got start_element.
at [Row,col {unknown-source}]: [1,730]
Org.codehaus.xfire.fault.XFireFault:Could not read XML stream: Nested exception is com.ctc.wstx.exc.WstxParsingException:Expected a text token, got start_element.
at [Row,col {unknown-source}]: [1,730]
At Org.codehaus.xfire.fault.XFireFault.createFault (xfirefault.java:89)
At Org.codehaus.xfire.client.Client.onReceive (client.java:410)
At Org.codehaus.xfire.transport.http.HttpChannel.sendViaClient (httpchannel.java:139)
At Org.codehaus.xfire.transport.http.HttpChannel.send (httpchannel.java:48)
At Org.codehaus.xfire.handler.OutMessageSender.invoke (outmessagesender.java:26)
At Org.codehaus.xfire.handler.HandlerPipeline.invoke (handlerpipeline.java:131)
At Org.codehaus.xfire.client.Invocation.invoke (invocation.java:79)
At Org.codehaus.xfire.client.Invocation.invoke (invocation.java:114)
At Org.codehaus.xfire.client.Client.invoke (client.java:336)
At Org.codehaus.xfire.client.XFireProxy.handleRequest (xfireproxy.java:77)
At Org.codehaus.xfire.client.XFireProxy.invoke (xfireproxy.java:57)
At $Proxy 0.getInternalEmails (Unknown Source)
At Com.wetalk.wbs.test.Test.xfire (test.java:23)
At Com.wetalk.wbs.test.Test.main (test.java:16)
Why is it? After a long debugging discovery, found that my WebService server custom object has a problem, in the custom object has a field of type char, that is because the type of char can not be passed to cause this error, but not necessarily reported that the fault must be the same as my reason

Issues encountered using Xfire to publish the WebService interface:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.