It got removed. It is at the end of the email.
Thanks


> Hi,
>
>  The Dymamic client factory fails to create a client for the WSDL I
have
> attached to this email.
>  It is because of the complex type and the reference to a schema:
>
>   <s:element name="GetMaterialDataResponse">
>          <s:complexType>
>            <s:sequence>
>
>              <s:element minOccurs="0" maxOccurs="1"
> name="GetMaterialDataResult">
>                <s:complexType>
>                  <s:sequence>
>                    <s:element ref="s:schema" />
>                    <s:any />
>                  </s:sequence>
>                </s:complexType>
>              </s:element>
>            </s:sequence>
>          </s:complexType>
>        </s:element>
>
>  Although I am disappointed that it does not work, I an really
wondering how
> the mapping rom this to JAVA could be done. Does the experts have any
idea?
>  For this wsdl to get compiled by the DynamicClientFactory, I change
the
> previous type to:
>
>  <s:element name="GetMaterialDataResponse">
>       <s:complexType>
>          <s:sequence>
>            <s:element minOccurs="0" maxOccurs="1"
> name="GetMaterialDataResult" type="anyType"/>
>          </s:sequence>
>       </s:complexType>
>  </s:element>
>
>  And I did not change the implementation of the web service. What do
you
> guys think?
>
>  Benjamin
>



<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns="http://BioSample.Roche.com/BioSampleWebServices/BioSampleWs";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
targetNamespace="http://BioSample.Roche.com/BioSampleWebServices/BioSamp
leWs" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
  <wsdl:types>
    <s:schema elementFormDefault="qualified"
targetNamespace="http://BioSample.Roche.com/BioSampleWebServices/BioSamp
leWs">
      <s:import namespace="http://www.w3.org/2001/XMLSchema"; />
      <s:element name="GetMaterialData">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="BioSampleId"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetMaterialDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetMaterialDataResult">
              <s:complexType>
                <s:sequence>
                  <s:element ref="s:schema" />
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
       </s:schema>
  </wsdl:types>
  <wsdl:message name="GetMaterialDataSoapIn">
    <wsdl:part name="parameters" element="tns:GetMaterialData" />
  </wsdl:message>
  <wsdl:message name="GetMaterialDataSoapOut">
    <wsdl:part name="parameters" element="tns:GetMaterialDataResponse"
/>
  </wsdl:message>
  <wsdl:portType name="BioSampleWsSoap">
  <wsdl:operation name="GetMaterialData">
      <wsdl:input message="tns:GetMaterialDataSoapIn" />
      <wsdl:output message="tns:GetMaterialDataSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="BioSampleWsSoap" type="tns:BioSampleWsSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
style="document" />
    <wsdl:operation name="GetMaterialData">
      <soap:operation
soapAction="http://BioSample.Roche.com/BioSampleWebServices/BioSampleWs/
GetMaterialData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="BioSampleWs">
    <wsdl:port name="BioSampleWsSoap" binding="tns:BioSampleWsSoap">
      <soap:address
location="http://rnumsriggap47/BioSampleWebServices/BioSampleWs.asmx"; />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Reply via email to