• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Learning web services - Argument values disappear when reaching server.

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
So there I was, trapped in the jungle. And at the last minute, I was saved by this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic