Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Unable to convert imported document to WSDL

Hi all, we're excperienced with a problem during the creation of an external definition with this WSDL file:

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

- <!-- Generated by WSDLDefinitionsParser

-->

- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:java/lang" xmlns:ns0="http://www.w3.org/2001/XMLSchema" xmlns:ns3="urn:java.lang" targetNamespace="urn:WSCatalogoServiceWsd/WSCatalogoServiceVi/rpc_enc" xmlns:ns2="urn:ws.catalogo.dto" xmlns:tns="urn:WSCatalogoServiceWsd/WSCatalogoServiceVi/rpc_enc">

- <wsdl:types>

- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:java/lang" xmlns:tns="urn:java/lang" elementFormDefault="qualified">

- <xs:complexType name="ArrayOfString">

- <xs:complexContent>

- <xs:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" base="soapenc:Array">

<xs:attribute ref="soapenc:arrayType" wsdl:arrayType="xs:string[]" nillable="true" />

</xs:restriction>

</xs:complexContent>

</xs:complexType>

</xs:schema>

- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:java.lang" xmlns:tns="urn:java.lang" elementFormDefault="qualified">

- <xs:complexType name="Exception">

- <xs:complexContent>

- <xs:extension base="tns:Throwable">

<xs:sequence />

</xs:extension>

</xs:complexContent>

</xs:complexType>

- <xs:complexType name="Throwable">

- <xs:sequence>

<xs:element name="message" type="xs:string" nillable="true" minOccurs="0" />

</xs:sequence>

</xs:complexType>

</xs:schema>

- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:meli.org.ngc.common.model" xmlns:tns="urn:meli.org.ngc.common.model" elementFormDefault="qualified">

- <xs:complexType name="Titolo">

- <xs:complexContent>

- <xs:extension base="tns:ModelInfo">

- <xs:sequence>

<xs:element name="autore" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="collana" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="collana_num_interno" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="committente" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="copieGratuite" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="copieGratuiteAmmesse" type="xs:boolean" />

<xs:element name="copieOrdinate" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="disponibilita" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="ean" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="editore" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="editoreId" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="formatoPrezzo" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="fornitureBloccate" type="xs:boolean" />

<xs:element name="isbn" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="nota" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="pagamentoOccasionale" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="pagamentoOccasionaleGiorni" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="prezzo" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="qtaDisponibile" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="riga" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="rispostaEditore" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="rispostaEditoreDesc" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="sovraScontoOccasionale" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="statoVendita" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="statoVenditaDesc" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="tempoInserimento" type="xs:long" />

<xs:element name="titolo" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="vendibilita" type="xs:string" nillable="true" minOccurs="0" />

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

- <xs:complexType name="ModelInfo">

<xs:sequence />

</xs:complexType>

- <xs:complexType name="ArrayOfTitolo">

- <xs:complexContent>

- <xs:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" base="soapenc:Array">

<xs:attribute ref="soapenc:arrayType" wsdl:arrayType="tns:Titolo[]" nillable="true" />

</xs:restriction>

</xs:complexContent>

</xs:complexType>

</xs:schema>

- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ws.catalogo.dto" xmlns:tns="urn:ws.catalogo.dto" elementFormDefault="qualified" xmlns:s0="urn:meli.org.ngc.common.model">

<xs:import namespace="urn:meli.org.ngc.common.model" />

- <xs:complexType name="InfoTitoli">

- <xs:sequence>

<xs:element name="codErrore" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="paramErrore" type="xs:string" nillable="true" minOccurs="0" />

<xs:element name="titoli" type="s0:ArrayOfTitolo" nillable="true" minOccurs="0" />

</xs:sequence>

</xs:complexType>

</xs:schema>

</wsdl:types>

- <wsdl:message name="autenticaUtenteIn">

<wsdl:part name="userName" type="ns0:string" />

<wsdl:part name="password" type="ns0:string" />

</wsdl:message>

- <wsdl:message name="autenticaUtenteOut">

<wsdl:part name="Response" type="ns0:boolean" />

</wsdl:message>

- <wsdl:message name="leggiTitoliDaArrayCodiciIsbnEanIn">

<wsdl:part name="codiciIsbnEan" type="ns1:ArrayOfString" />

<wsdl:part name="userName" type="ns0:string" />

<wsdl:part name="password" type="ns0:string" />

</wsdl:message>

- <wsdl:message name="leggiTitoliDaArrayCodiciIsbnEanOut">

<wsdl:part name="Response" type="ns2:InfoTitoli" />

</wsdl:message>

- <wsdl:message name="leggiTitoliDaArrayCodiciIsbnEan_java.lang.Exception">

<wsdl:part name="leggiTitoliDaArrayCodiciIsbnEan_java.lang.Exception" type="ns3:Exception" />

</wsdl:message>

- <wsdl:message name="leggiTitoliDaAttachmentIsbnEanIn">

<wsdl:part name="inputFile" type="ns0:base64Binary" />

<wsdl:part name="userName" type="ns0:string" />

<wsdl:part name="password" type="ns0:string" />

</wsdl:message>

- <wsdl:message name="leggiTitoliDaAttachmentIsbnEanOut">

<wsdl:part name="Response" type="ns2:InfoTitoli" />

</wsdl:message>

- <wsdl:portType name="WSCatalogoServiceVi_Rpc_enc">

- <wsdl:operation name="autenticaUtente">

<wsdl:input message="tns:autenticaUtenteIn" />

<wsdl:output message="tns:autenticaUtenteOut" />

</wsdl:operation>

- <wsdl:operation name="leggiTitoliDaArrayCodiciIsbnEan">

<wsdl:input message="tns:leggiTitoliDaArrayCodiciIsbnEanIn" />

<wsdl:output message="tns:leggiTitoliDaArrayCodiciIsbnEanOut" />

<wsdl:fault name="java.lang.Exception" message="tns:leggiTitoliDaArrayCodiciIsbnEan_java.lang.Exception" />

</wsdl:operation>

- <wsdl:operation name="leggiTitoliDaAttachmentIsbnEan">

<wsdl:input message="tns:leggiTitoliDaAttachmentIsbnEanIn" />

<wsdl:output message="tns:leggiTitoliDaAttachmentIsbnEanOut" />

</wsdl:operation>

</wsdl:portType>

</wsdl:definitions>

The error is:

Unable to convert imported document to WSDL

Reason: Attribute nillable=true is not permitted at position <wsdl:definitions><wsdl:types><xs:schema><xs:complexType><xs:complexContent><xs:restriction><xs:attribute>

Check the selected category

Can anyone help us ?

Thanks in advance

Best regards

Gianfranco Bello

Former Member
Not what you were looking for? View more on this topic or Ask a question