Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2 web service Unknown type problem

Predrag Ristic
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my class where I encapsulate these parameters that I want to send via web service:

and the web service class

This is the code in my Android app where I invoke web service:

but I get this response from web server:
[ERROR] Exception occurred while trying to invoke service method writeInfo
org.apache.axis2.AxisFault: Unknow type {}GPSInfo

Can someone help me with this?Thanks.
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!