Hi Jinesh,

here's the WSDL file.

Thanks very much
Eric


Jinesh Varia wrote:
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
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Silva"
 xmlns="http://schemas.xmlsoap.org/wsdl/";
 xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/";
 xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/";
 targetNamespace="http://location/Silva.wsdl";
 xmlns:tns="http://location/Silva.wsdl";
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 xmlns:silva="urn:silvacpp">

<types>
 <schema targetNamespace="urn:silvacpp"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns:silva="urn:silvacpp"
  xmlns="http://www.w3.org/2001/XMLSchema";
  elementFormDefault="unqualified"
  attributeFormDefault="unqualified">

  <complexType name="ArrayOfstring">
   <complexContent>
    <restriction base="SOAP-ENC:Array">
     <sequence>
      <element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
     </sequence>
     <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="xsd:string[]"/>
    </restriction>
   </complexContent>
  </complexType>

  <complexType name="Property">
   <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="type" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="readOnly" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
   </sequence>
  </complexType>

  <complexType name="ArrayOfProperty">
   <complexContent>
    <restriction base="SOAP-ENC:Array">
     <sequence>
      <element name="property" type="silva:Property" minOccurs="0" maxOccurs="unbounded"/>
     </sequence>
     <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="silva:Property[]"/>
    </restriction>
   </complexContent>
  </complexType>

  <complexType name="Description">
   <sequence>
    <element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="description" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
    <element name="id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="singletree" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="modifying" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
    <element name="properties" type="silva:ArrayOfProperty" minOccurs="1" maxOccurs="1" nillable="true"/>
   </sequence>
  </complexType>

 </schema>
</types>

<message name="getAvailableRequest">
 <part name="poolname" type="xsd:string"/>
</message>

<message name="getAvailableResponse">
 <part name="objectnames" type="silva:ArrayOfstring"/>
</message>

<message name="getDescriptionAvailableRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
</message>

<message name="getDescriptionAvailableResponse">
 <part name="description" type="silva:Description"/>
</message>

<message name="getDescriptionAvailablePropertiesRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
</message>

<message name="getDescriptionAvailablePropertiesResponse">
 <part name="properties" type="silva:ArrayOfProperty"/>
</message>

<message name="duplicateAvailableRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
 <part name="properties" type="silva:ArrayOfProperty"/>
</message>

<message name="duplicateAvailableResponse">
 <part name="success" type="xsd:boolean"/>
</message>

<message name="getDescriptionActiveRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
</message>

<message name="getDescriptionActiveResponse">
 <part name="description" type="silva:Description"/>
</message>

<message name="getDescriptionActivePropertiesRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
</message>

<message name="getDescriptionActivePropertiesResponse">
 <part name="properties" type="silva:ArrayOfProperty"/>
</message>

<message name="setPropertiesActiveRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
 <part name="properties" type="silva:ArrayOfProperty"/>
</message>

<message name="setPropertiesActiveResponse">
 <part name="success" type="xsd:boolean"/>
</message>

<message name="executeActiveRequest">
 <part name="poolname" type="xsd:string"/>
 <part name="objectname" type="xsd:string"/>
</message>

<message name="executeActiveResponse">
 <part name="success" type="xsd:boolean"/>
</message>

<message name="getPoolnamesRequest">
</message>

<message name="getPoolnamesResponse">
 <part name="objectnames" type="silva:ArrayOfstring"/>
</message>

<portType name="SilvaPortType">
 <operation name="getAvailable">
  <documentation>Service definition of function silva__getAvailable</documentation>
  <input message="tns:getAvailableRequest"/>
  <output message="tns:getAvailableResponse"/>
 </operation>
 <operation name="getDescriptionAvailable">
  <documentation>Service definition of function silva__getDescriptionAvailable</documentation>
  <input message="tns:getDescriptionAvailableRequest"/>
  <output message="tns:getDescriptionAvailableResponse"/>
 </operation>
 <operation name="getDescriptionAvailableProperties">
  <documentation>Service definition of function silva__getDescriptionAvailableProperties</documentation>
  <input message="tns:getDescriptionAvailablePropertiesRequest"/>
  <output message="tns:getDescriptionAvailablePropertiesResponse"/>
 </operation>
 <operation name="duplicateAvailable">
  <documentation>Service definition of function silva__duplicateAvailable</documentation>
  <input message="tns:duplicateAvailableRequest"/>
  <output message="tns:duplicateAvailableResponse"/>
 </operation>
 <operation name="getDescriptionActive">
  <documentation>Service definition of function silva__getDescriptionActive</documentation>
  <input message="tns:getDescriptionActiveRequest"/>
  <output message="tns:getDescriptionActiveResponse"/>
 </operation>
 <operation name="getDescriptionActiveProperties">
  <documentation>Service definition of function silva__getDescriptionActiveProperties</documentation>
  <input message="tns:getDescriptionActivePropertiesRequest"/>
  <output message="tns:getDescriptionActivePropertiesResponse"/>
 </operation>
 <operation name="setPropertiesActive">
  <documentation>Service definition of function silva__setPropertiesActive</documentation>
  <input message="tns:setPropertiesActiveRequest"/>
  <output message="tns:setPropertiesActiveResponse"/>
 </operation>
 <operation name="executeActive">
  <documentation>Service definition of function silva__executeActive</documentation>
  <input message="tns:executeActiveRequest"/>
  <output message="tns:executeActiveResponse"/>
 </operation>
 <operation name="getPoolnames">
  <documentation>Service definition of function silva__getPoolnames</documentation>
  <input message="tns:getPoolnamesRequest"/>
  <output message="tns:getPoolnamesResponse"/>
 </operation>
</portType>

<binding name="SilvaBinding" type="tns:SilvaPortType">
 <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
 <operation name="getAvailable">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="getDescriptionAvailable">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="getDescriptionAvailableProperties">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="duplicateAvailable">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="getDescriptionActive">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="getDescriptionActiveProperties">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="setPropertiesActive">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="executeActive">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
 <operation name="getPoolnames">
  <SOAP:operation soapAction=""/>
  <input>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </input>
  <output>
   <SOAP:body use="encoded" namespace="urn:silvacpp" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  </output>
 </operation>
</binding>

<service name="Silva">
 <documentation>Silva Forest Growth Simulator</documentation>
 <port name="Silva" binding="tns:SilvaBinding">
  <SOAP:address location="http://location"/>
 </port>
</service>

</definitions>

Reply via email to