Assuming you are using Axis2, that looks a bit like this (unresolved) bug:

https://issues.apache.org/jira/browse/WSCOMMONS-175

You may be able to patch the OMSerializerUtil class to address.

-----Original Message-----
From: Neil Blue [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 16, 2007 9:06 AM
To: [email protected]
Subject: Too many nulls

Hello,

I am using the simple RPCServiceClient to connect to a remote service. I
have 
a problem with null values. If an object that is passed to the service has 
more than one null value then I get an error as the nil namespace prefix is 
not bound often enough. 

For example:

xml sent
...
             <parameters>
                  <name
xmlns:nil="http://www.w3.org/2001/XMLSchema-instance"; 
nil:nil="true"></name>
                  <value>value</value>
               </parameters>
               <parameters>
                  <name
xmlns:nil="http://www.w3.org/2001/XMLSchema-instance"; 
nil:nil="true"></name>
                  <value nil:nil="true"></value>
               </parameters>
...

Is there a work around for this? maybe defining the xmlschema namespace in
the 
root element?

Thanks
Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to