JSoap icon indicating copy to clipboard operation
JSoap copied to clipboard

There is no SOAPSerializable class

Open saeedek opened this issue 9 years ago • 2 comments

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?

saeedek avatar Oct 05 '15 13:10 saeedek

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

tejada avatar Nov 11 '15 12:11 tejada

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.

mohammadrafigh avatar Jun 03 '16 20:06 mohammadrafigh