Hallo zusammen,
ich habe für eine Klasse ImCommand eine Funktion, die als Parameter eine Map vom String, String[] übergeben bekommt. Ich will die Klasse nun samt der Funktion in einen WebService umwandeln.
Bei der Befehlsausführung meckert nun Eclipse, dass
"java.util.Map", that is not supported by the JAX-RPC 1.1 specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
Meine Idee ist nun, die Map einfach als HashMap zu deklarieren. Ist das einfach so möglich oder treten da Probleme auf?
Der Funktionskopf der Funktion lautet:
protected void indicate(String Id, File File, String FileType, Map<String, String[]> meta) {
}
Danke für die Hilfe!
Gruss,
Andi
ich habe für eine Klasse ImCommand eine Funktion, die als Parameter eine Map vom String, String[] übergeben bekommt. Ich will die Klasse nun samt der Funktion in einen WebService umwandeln.
Bei der Befehlsausführung meckert nun Eclipse, dass
"java.util.Map", that is not supported by the JAX-RPC 1.1 specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
Meine Idee ist nun, die Map einfach als HashMap zu deklarieren. Ist das einfach so möglich oder treten da Probleme auf?
Der Funktionskopf der Funktion lautet:
protected void indicate(String Id, File File, String FileType, Map<String, String[]> meta) {
}
Danke für die Hilfe!
Gruss,
Andi