Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Web Service Problem with tomcat axis2(get_return don't exist in my client class)
Web Service Problem with tomcat axis2 [message #675094] Mon, 30 May 2011 09:53 Go to next message
Youssef  is currently offline Youssef Friend
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

Re: Web Service Problem with tomcat axis2 [message #675143 is a reply to message #675094] Mon, 30 May 2011 12:12 Go to previous message
Youssef  is currently offline Youssef Friend
Messages: 16
Registered: July 2009
Junior Member
I have resolved my problem. I just change the httpEndpoint into SOAP11Binding.
Previous Topic:I can use 'Server Wizard'
Next Topic:Code completion for global defined in other files
Goto Forum:
  


Current Time: Sat Dec 20 03:11:46 GMT 2014

Powered by FUDForum. Page generated in 0.02792 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software