JSoap
JSoap copied to clipboard
There is no SOAPSerializable class
hello, In the tutorial it is said that the request class must extends the SOAPSerializable,but there is no class with this name in the library? What I am doing wrong?
Hi saeedek, the example is outdated. The documentations says you must extend the request and response classes from SOAPSerializable and SOAPDeserializable respectively:
import pt.joaocruz04.lib.misc.SOAPSerializable;
public class GetWeatherInformation extends SOAPSerializable { ... }
import pt.joaocruz04.lib.misc.SOAPDeserializable;
public class GetWeatherInformationResponse extends SOAPDeserializable { ... }
I hope it helps you. Daniel
hi,
as @tejada said, documentation is outdated, you don't need to extend anymore. you just need to use @JSoapClass(namespace = "http://tempuri.org/")
annotation before your class.