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: