Hi all,

I got the following problem:

-----------------------------------
AXIS Version:
Axis 1.4 Apr 22, 2006

-----------------------------------
Code:
public java.lang.String[] getStrings(java.lang.String[] arg) throws
java.rmi.RemoteException;

-----------------------------------
Schema ( document wrapped style ) :
      <s:element name="getStrings">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="arg"
type="tns:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>
...
      <s:complexType name="ArrayOfString">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="string"
nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>

-----------------------------------
Call
        String[] arg = new String[] { "Str1", null, "Str3" };
        String res[] = ff.getStrings(arg);
        assertEquals(null, res[1]);

-----------------------------------
Data
<getStrings 
xmlns="http://triniforce.com/soap/sample";><arg><string>Str1</string><string>Str3</string></arg></getStrings>


===========================
Expected data:
<arg><string>Str1</string><string xsi:null = "true"
/><string>Str3</string></arg>


So the problem is that null is not passed, while I think It should.
What am I doing wrong ?

Maxim

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

Reply via email to