Can you send me your WSDL or send a link.? I would just like to compare with mine. 

With Question2: I meant there are tools available which would create a SOAP request 
and send it to
Port. and retreive a SOAP response as XML file. like XML SPY. download the evaluation 
version and
see whether your getDescriptionAvailable function is executing fine. Or you cna use 
simple perl
script.

In my case, it is working fine. the error seem to have resolved with regards to 
printing
ArrayOfProperty but this has to be changed in the bean/array mapping. Does your 
deploy.wsdd show
all the beanmapping or typemappings of Property and Description. It is here axis 
specifyies
whether to use beanserializer or arrayserializer or arraylistserializer

Jinesh


--- "E. Seifert" <[EMAIL PROTECTED]> wrote:
> 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
> 


=====
-----------------------------------------------------------------
Jinesh Varia
Graduate Student, Information Systems
Pennsylvania State University
Email: [EMAIL PROTECTED]
-----------------------------------------------------------------
'Self is the author of its actions.'

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

Reply via email to