axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravind Nallan" <aravind.nal...@openwave.com>
Subject returning Map objects from webservices
Date Thu, 27 May 2004 16:26:15 GMT
I'm trying to generate java code from the attached wsdl. WSDL2Java creates
the following code

package opwv;

public interface UserPreferences extends java.rmi.Remote {
    public com.sun.java.jax_rpc_ri.internal.MapEntry[]
getPreferences(opwv.Crede
ntials credentials_1, java.lang.String string_2, java.lang.String[]
arrayOfStrin
g_3) throws java.rmi.RemoteException, opwv.MMSException,
opwv.InvalidArgumentExc
eption, opwv.InvalidCredentialsException, opwv.UserAccountException;
    public void updatePreferences(opwv.Credentials credentials_1,
java.lang.Stri
ng string_2, com.sun.java.jax_rpc_ri.internal.MapEntry[] map_3) throws
java.rmi.
RemoteException, opwv.MMSException, opwv.InvalidArgumentException,
opwv.InvalidC
redentialsException, opwv.UserAccountException;
}

It creates type com.sun.java.jax_rpc_ri.internal.MapEntry[] for Maps. Is my
implementation supposed to use this internal jaxrpc type instead of regular
java.util.Map?

Thanks
Aravind


Mime
View raw message