Using Behive, I have 'successfully' deployed web service on Tomcat 5.5 server. I have also been able to use the wsdl produced this way, as input to create MS Visual C# web client for this service. The problem is, that the array I receive in a client always contains only one element with null attribute values. When observing the traffic, I can see more objects being returned, all with appropriate values.

Attached are the files with wsdl and traffic. Can anyone help me?

 

Regards

Bojan Furlan

  <?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions targetNamespace="http://DMS"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://DMS"; xmlns:intf="http://DMS"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- <!-- 
WSDL created by Apache Axis version: 1.2RC3
Built on Feb 28, 2005 (10:15:14 EST)

  --> 
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://DMS"; xmlns="http://www.w3.org/2001/XMLSchema";>
- <element name="MyDocs">
- <complexType>
- <sequence>
  <element name="uid" type="xsd:string" /> 
  </sequence>
  </complexType>
  </element>
- <element name="MyDocsResponse">
- <complexType>
- <sequence>
  <element maxOccurs="unbounded" name="result" type="impl:Dok" /> 
  </sequence>
  </complexType>
  </element>
- <complexType name="Dok">
- <sequence>
  <element name="koda" nillable="true" type="xsd:string" /> 
  <element name="izdaja" nillable="true" type="xsd:string" /> 
  <element name="opis_dokumenta" nillable="true" type="xsd:string" /> 
  </sequence>
  </complexType>
  </schema>
  </wsdl:types>
- <wsdl:message name="MyDocsRequest">
  <wsdl:part element="impl:MyDocs" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="MyDocsResponse">
  <wsdl:part element="impl:MyDocsResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:portType name="DMS">
- <wsdl:operation name="MyDocs">
  <wsdl:input message="impl:MyDocsRequest" name="MyDocsRequest" /> 
  <wsdl:output message="impl:MyDocsResponse" name="MyDocsResponse" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="DMSSoapBinding" type="impl:DMS">
  <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"; /> 
- <wsdl:operation name="MyDocs">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="MyDocsRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="MyDocsResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="DMSService">
- <wsdl:port binding="impl:DMSSoapBinding" name="DMS">
  <wsdlsoap:address location="http://localhost:8080/DMS/DMS.jws"; /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 
1.1.4322.573)

Content-Type: text/xml; charset=utf-8

SOAPAction: ""

Content-Length: 319

Expect: 100-continue

Host: furli01.iskratel.si:8082



HTTP/1.1 100 Continue



<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <soap:Body>
        <myDocs xmlns="urn:DMS/types">
            <String_1 xmlns="">
                zfur
            </String_1>
        </myDocs>
    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK

X-Powered-By: Servlet/2.4

SOAPAction: ""

Content-Type: text/xml;charset=utf-8

Transfer-Encoding: chunked

Date: Wed, 19 Oct 2005 13:29:08 GMT

Server: Sun-Java-System/Application-Server



5c4

<?xml version="1.0" encoding="UTF-8"?>

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns0="urn:DMS/types">
    <env:Body>
        <ns0:myDocsResponse>
            <result>
                <izdaja>
                    090
                </izdaja>
                <koda>
                    ZXX0502AT-ATL-.001
                </koda>
                <opis_dokumenta>
                    SOPRAN-Delo z dokumenti
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    010
                </izdaja>
                <koda>
                </koda>
                <opis_dokumenta>
                    Sopran - zahteva za verifikacijo in poro..ilo verifikacije
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    030
                </izdaja>
                <koda>
                    SOP100700-ASL-
                </koda>
                <opis_dokumenta>
                    Produkt, projekt, konfiguracija produkta v Sopranu
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    010
                </izdaja>
                <koda>
                </koda>
                <opis_dokumenta>
                    Tvorjenje diff in pdf datotek dokumentov izdanih v Sopranu
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    020
                </izdaja>
                <koda>
                    SOP124800-ATL-
                </koda>
                <opis_dokumenta>
                    Predlog zapisovanja sprememb kosovnic v Sopran/ECC
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    010
                </izdaja>
                <koda>
                </koda>
                <opis_dokumenta>
                    Navodilo za uporabo programa import_comp
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    010
                </izdaja>
                <koda>
                </koda>
                <opis_dokumenta>
                    Zahteve za implementacijo Teamcentra za Conf. Mngmnt 
Produkta in HW
                </opis_dokumenta>
            </result>
            <result>
                <izdaja>
                    020
                </izdaja>
                <koda>
                    SOP1111L0-PCL-
                </koda>
                <opis_dokumenta>
                    Prenova obvladovanja problemov in sprememb
                </opis_dokumenta>
            </result>
        </ns0:myDocsResponse>
    </env:Body>
</env:Envelope>

Reply via email to