Skip to main content



      Home
Home » Language IDEs » ServerTools (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 05:53 Go to next message
Eclipse UserFriend
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 06:36] by Moderator

Re: Web Service Problem with tomcat axis2 [message #675143 is a reply to message #675094] Mon, 30 May 2011 08:12 Go to previous message
Eclipse UserFriend
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 Jul 05 10:39:41 EDT 2025

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

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

Back to the top