Web Service Problem with tomcat axis2 [message #675094] |
Mon, 30 May 2011 09:53 |
Youssef Messages: 16 Registered: July 2009 |
Junior Member |
|
|
Hallo all,
I have created a web service that gives me a array of object.
The web service method signature looks like this:
public AdmObject[] getLastPosition(){}
When I test my web service with the "Web Service Explorer", it gives me a correct result, but when I want to create a client class, I don't find the get_return method and also my object AdmObject parameters.
In the WSDL file exist the AdmObject with all parameters as a complexeType of XSD.
The AdmObject looks like this:
public AdmObject(String imm, String date, double lon, double lat, double vitesse){
this.vehicule_imm = imm;
this.date = date;
this.position_Lon = lon;
this.position_Lat = lat;
this.position_vitesse = vitesse;
}
I becomme this error in my client class:
org.apache.axis2.databinding.ADBException: Unexpected subelement return
Pls help me. thanks
Best regards
[Updated on: Mon, 30 May 2011 10:36] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03288 seconds