Hello,
I tried to write service which return a Vector containing java beans. When
generating the wsdl file from the java code, I used the "-e" option to
include the the bean class in the wsdl file. The serialization works fine
but in the java code for the client I generated with wsdl2java, the code
for the java bean is missing. The system can't deserialize the element's
of the vector.
When I mannually add the following lines to the SoapBindingStub
file it works fine:
qName = new javax.xml.namespace.QName("urn:cointernet.model",
"PersonEntry"); // The Vector contains PersonEntry beans
cachedSerQNames.add(qName); cls = cointernet.model.PersonEntry.class;
cachedSerClasses.add(cls); cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
Is it a bug in wsdl2java or are there any other options I can use to
generate the complete client classes?
Best regards
Frank Wollenweber