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?

[2575 byte] By [Tindora] at [2007-11-27 10:54:16]
# 1

need some more info like wsdl and xml schemas

vinayak_ra at 2007-7-29 11:49:15 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...