Hi Jinesh,

thanks for your reply. To answer you questions:
1. did you get files (when you used WSDL2Java) like 
getDescriptionAvailableRequest.java and
getDescriptionAvailableResponse.java for function :getDescriptionAvailable and similar 
files for
each of your functions? Since this is also a data structure, I suspect that the error 
is due to
this getDescriptionAvailableResponse.java?

No, I just got Description.java and Property.java, as well as the following files for the service: Silva.java, SilvaBindingStub.java, SilvaLocator.java, and SilvaPortType.java.


2. can you send a simple SOAP message and retrieve it successfully? I mean the error 
is coming
only when you are using the client?

I also have other operations which return string arrays or boolean values, no problems here. Did you mean that?


3. confirm your code in the type metadata section of property.java and 
Description.java files also
getDescriptionAvailableResponse.java? Please read
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09060.html. Here they say that there 
is a
bug in the code generation that instead of ArrayOfXXX they just have XXX but for me it 
is
ArrayOfXXX only

Using 1.1 RC1 wsdl2java generated the following code in Description.java:


typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("properties");
elemField.setXmlName(new javax.xml.namespace.QName("", "properties"));
elemField.setXmlType(new javax.xml.namespace.QName("urn:silvacpp", "Property"));
typeDesc.addFieldDesc(elemField);


but since 1.1 RC2 wsdl2java generates:

elemField.setXmlType(new javax.xml.namespace.QName("urn:silvacpp", "ArrayOfProperty"));

this should be correct, I think.

I cannot move further due to this stupid error. Lets try to resolve it together. step by step

I hope we can solve this issue. I'm just wondering if there aren't more people having such prolems with arrays, since it is a very common use case.


Bye
Eric



Reply via email to