Multimobile Development: Building Applications for any Smartphone
Web Services Interop with Java
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.webservices.


Nico
Hi,

I have to write a .NET client that call methods in a Web Service written in
Java with Apache AXIS.
Everything is ok with primitive types (int, bool, string, long...) and
arrays of primitives.
But I got issues when the methods return types like Vector or HashMap.

Does anyone solve the problem to deal with Vector, HashMap and so on, in a
..NET Web Service client ?
Thanks in advance.

Nico.

Reply to this message...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
    
nimo
Hi !

You would have to specify a struct in your wsdl file that contains whatever
information your vector objects contain, and return an array of these instead
of returning the corresponding java class.

Reply to this message...
Vote that this is a GOOD answer...
 
First volume of Multimobile Development nearly ready to go to press
A mention on Developing for the iPhone and Android: The pros and cons
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734