> I' m not sure how you could tell from the source code I provided that "urn:MagicSquare" was the namespace.... 
Lucky guess, I guess :-).  I went to the gSoap web site, found the sample, found the source, and at the bottom of one of the source files was an array of namespace prefix to URI mappings.  Most were for fairly standard stuff (soap envelope namespace ...), but one was mapping the prefix "ns1" to "urn:MagicSquare".    The sample should really have included the namespace info for the method in the documentation... 

 >   I'm trying to pass an int to the gSoap WS but haven't figured out how to do that with Axis - only strings. 
 
Instead of:
 
    call.invoke( new Object[] { "4" } );
 
Try:
    int four = 4; 
or 
    Integer four = new Integer(4);
    ...
    call.invoke( new Object[] { four } ); 
 
 

Reply via email to