Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Learning web services - Argument values disappear when reaching server.  RSS feed

 
Mattias Sands´┐Żter
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I am learning about web services by developing a small application. So far I have
# Wsdl-document
# Small Java ME application as a client
# PHP on Apache as server (with Mysql)

I just start my client, try to make a call to the server which is supposed to retreive two strings which it should write to the database, very simple.
The status right now is that the server seems to get the call, and a new row is written to the database. The problem is that the only thing that is written are empty strings.
I have tried to write files on the server with the values that it receives but they seem empty already from the beginning.
The client gets the returning 5 and from that side everything looks fine.

My WSDL



XML from Wireshark (freely written so there could be smaller typos)



My serverfiles




Help-class that writes to database
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!