Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
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...
 
Auto-following on Twitter
Ubuntu and XP on one “desktop”
 
    
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...
 
Outlook interop - stopping user properties appearing on Outlook message print
Seriously, why is “cut and paste” majorly newsworthy???
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734