Why can I return an 'Object' array from my soap server but not an 'Object'
ie
This works ok...
 
public Object[] processCommand( String[] soapParams ) 
{
...
 
    Object[] obj = {(Object)"Fred Bloggs", (Object)"Jim Smith"};

    return( obj );
}
 
but not this....
 
public Object processCommand( String[] soapParams) 
{
...
 
    Object obj = (Object)"Fred Bloggs";

    return( obj );
}
 
 
It seems bizarre, Is this right ?
 
Thanks,
 
Chris Milburn
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 

Reply via email to