Re: Intger as Parameter does not allow null

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <12af01c48952$a24b8b80$6401a8c0@northgate>
To my knowledge, you can send a null xsd:int, but you cannot receive one (and I believe the message below is from receiving such a null).

To receive a null xsd:int, you must write a new deserializer and map it to xsd:int .

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Malte Kempff" <[email protected]>
To: <[email protected]>
Sent: Monday, August 23, 2004 4:57 AM
Subject: Intger as Parameter does not allow null


> Hello,
> I would very much have the possibility to send an Integer as Parameter,
> which could be null.
> unfortunately soap gives me this error:
> 
> SOAP-RPC:[Attributes={}] [faultCode=SOAP-ENV:Client] [faultString=Cannot set
> null value for primitive type int] [faultActorURI=/soap/servlet/rpcrouter]
> [DetailEntries=] [FaultEntries=] Fault Code=SOAP-ENV:Client
> 
> I don't like to use a dummy Integer for that matter.
> Why does Apache SOAP does not differenciate between int and Integer as
> paramaeter, does AXIS do it?
> 
> Malte
> 
> ____________
> Virus checked by G DATA AntiVirusKit
> Version: AVK 14.0.1937 from 18.08.2004
> Virus news: www.antiviruslab.com
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.