[Gsoap2-develop] Query : Can gsoap accept optional parameters
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
From: tarun k. <tar...@re...> - 2005-04-22 06:56:34
|
=A0=0AI have a requirement to pass some parameters as optional in request = and response structures in gsoap when calling a remote method.=0A=0AThe typ= ical flow would be like this :=0A1) Request or Response structure with opti= onal parameter present ( say for example I am taking the optional parameter= s are "lastname" and "pin" )=0A=0A <ns : getInfo>=0A <name>Tarun</na= me>=0A <lastname>Kundu</lastname>=0A <telnumber>1023325</telnumbe= r>=0A <pin>1234354</pin>=0A </ns : getInfo>=0A=0A2) Request or Respo= nse structure with optional parameter not present=0A=0A <ns : getInfo>=0A= <name>Tarun</name>=0A <telnumber>1023325</telnumber>=0A </ns := getInfo>=0A=0ACan we implement such a thing in gsoap.I would be grateful i= f anybody can suggest a way out. =0A=0AThanks in advance. =0ATarun Kundu=0A |