Hi Marco ; Axis2 does not handle HashMap and hashtable yet in POJOs. Thanks Deepal
> hi, > > we are trying to implement some linguistic webservices. we are still > using an axis1-based work around and wants to switch to axis2. > > we have many webservices. so we have to implement an standard interface. > > our problem methode has the following singature: > String[][] execute(HashMap <String,String> toCopy); > > our services needs 1 to 8 different properties to run. so it's our > opinion that an easy key-value-mapping, as it is done by the > java.util.HashMap-class, is best case for us. > > our results should be an String[][] because we send maybe a large > amount of datas back. so we think that the user get an representation > of our datas (after deserialisation) in a compact way. > > after running the wsdl2java-tool we have two problems: > a) the client-based execute-methode doesn't have a HashMap and a > String[][]. there are build some classes capsulating an OMElement, if > i remember correct. so it is absolutely not intuitive for us how to > set key-value-properties? > b) we don't understand the wsdl file > (http://pcai056.informatik.uni-leipzig.de:8100/axis2/services/DatentypTestService?wsdl): > > > a request will be described as follow: > <xs:element name="execute"> > <xs:complexType> > <xs:sequence> > <xs:element name="toCopy" nillable="true" type="xs:anyType"/> > </xs:sequence> > </xs:complexType> > </xs:element> > > i understand this section as an normal sequence (array). but how > should a key-value-mapping serialized with such a desription?? > > > a response is described as follow: > <xs:element name="executeResponse"> > <xs:complexType> > <xs:sequence> > <xs:element maxOccurs="unbounded" name="return" nillable="true" > type="xs:string"/> > </xs:sequence> > </xs:complexType> > </xs:element> > in my opinion it's the same problem: the descritpion is a String[] and > not a String[][]. > > > can anyone help with serialization and deserialization of String[][]- > and HashMap()-objects using axis2. > > is there any experiences with .NET and String[][] or HashMap? > > > thank you. > > > ciao > marco > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
