deserialization error: XML reader error: unexpected character content:
Hi,
I'm just learning to write web services. I pasted the service and it seems to work.
It's code is :
package server;
import javax.jws.WebService;
publicclass HelloImpl{
/**
* @param name
* @return Say hello to the person.
*/
public String sayHello(String name){
return"Hello, " + name +"!";
}
}
I wired the service using spring, following the tutorial :
publicclass HellowsImpl{
String name;
public HellowsImpl(){
}
private Hellows service;
publicvoid setService(Hellows service){
this.service = service;
}
publicvoid sayHi(){
try{
service.sayHello(name);
}catch (RemoteException e){
// TODO
}
}
public Hellows getService(){
return service;
}
publicvoid setName(String name){
this.name = name;
}
}
But when I try this : HellowsImpl service ;
service=(HellowsImpl)ac.getBean("hellowsclient");
service.sayHi();
I get the exception :Caught exception while handling request: deserialization error: XML reader error: unexpected character content: "fd"
Where might be the problem?

