cancel
Showing results for 
Search instead for 
Did you mean: 

Can not generate proxy (object missing in WSDL, see long text).

Former Member
0 Kudos

Hi, Experts

Good Morning!

When I try to create a proxy for a municipality of the following error:

Can not generate proxy (object missing in WSDL, see long text).

Also follows the Diagnosis:

In the WSDL document, the object "<complex / simpleType name =" CanonicalizationMetho ... "

from the namespace "http://www.w3.org/2000/09/xmldsig #" links to the object "" from the namespace ""

However, this last object does not exist in the WSDL document.

Have any of you seen this error?

ps.:   spent a check in the WSDL and it is correct.

ps2.: follows the error attached.

Thanks.

João Bergamaschi Neto

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi,

Please check in ESR if WSDL is created for service interface ( you can check in WSDL tab in service interface).

regards,

Harish

Former Member
0 Kudos

Hi,

WSDL was imported successfully.

The structure appears in the WSDL tab.

regards

João Bergamaschi Neto

Harish
Active Contributor
0 Kudos

Hi,

The error state that you have refer to some structure and the reference can not read while genrating the proxy object. Please check if all the reference are correct.

Please provide your WSDL for further inputs.

regards,

Harish

Former Member
0 Kudos

Hi Experts,

Follows the WSDL for a better understanding of all:

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:p2="http://www.abrasf.org.br/nfse.xsd" xmlns:p1="http://ecc.softtek.com/nfse/riodejaneiro" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" name="SI_NFSRJ_Receiver" targetNamespace="http://ecc.softtek.com/nfse/riodejaneiro">

   <wsdl:documentation />

   <wsp:UsingPolicy wsdl:required="true" />

   <wsp:Policy wsu:Id="OP_SI_NFSRJ_Receiver" />

   <wsdl:types>

      <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.abrasf.org.br/nfse.xsd" targetNamespace="http://www.abrasf.org.br/nfse.xsd">

         <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" />

         <xsd:element name="ListaMensagemRetorno">

            <xsd:complexType>

               <xsd:sequence>

                  <xsd:element name="MensagemRetorno" type="tcMensagemRetorno" maxOccurs="unbounded" form="qualified" />

               </xsd:sequence>

            </xsd:complexType>

         </xsd:element>

         <xsd:element name="EnviarLoteRpsEnvio">

            <xsd:complexType>

               <xsd:sequence>

                  <xsd:element name="LoteRps" type="tcLoteRps" form="qualified" />

                  <xsd:element ref="dsig:Signature" minOccurs="0" />

               </xsd:sequence>

            </xsd:complexType>

         </xsd:element>

         <xsd:element name="EnviarLoteRpsResposta">

            <xsd:complexType>

               <xsd:choice>

                  <xsd:sequence>

                     <xsd:element name="NumeroLote" type="tsNumeroLote" form="qualified" />

                     <xsd:element name="DataRecebimento" type="xsd:dateTime" form="qualified" />

                     <xsd:element name="Protocolo" type="tsNumeroProtocolo" form="qualified" />

                  </xsd:sequence>

                  <xsd:element ref="ListaMensagemRetorno" />

               </xsd:choice>

            </xsd:complexType>

         </xsd:element>

         <xsd:simpleType name="tsInscricaoMunicipal">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="15" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsEmail">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="80" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCodigoTributacao">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="20" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsComplementoEndereco">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="60" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsTelefone">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="20" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsValor">

            <xsd:restriction base="xsd:decimal">

               <xsd:totalDigits value="15" />

               <xsd:fractionDigits fixed="true" value="2" />

               <xsd:minInclusive value="0" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsAliquota">

            <xsd:restriction base="xsd:decimal">

               <xsd:totalDigits value="6" />

               <xsd:fractionDigits value="4" />

               <xsd:minInclusive value="0" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsResponsavelRetencao">

            <xsd:restriction base="xsd:byte">

               <xsd:pattern value="1|2" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsQuantidadeRps">

            <xsd:restriction base="xsd:int" />

         </xsd:simpleType>

         <xsd:simpleType name="tsIdTag">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="255" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsBairro">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="60" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsSimNao">

            <xsd:restriction base="xsd:byte">

               <xsd:pattern value="1|2" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsArt">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="15" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsRegimeEspecialTributacao">

            <xsd:restriction base="xsd:byte">

               <xsd:pattern value="1|2|3|4|5|6" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsEndereco">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="125" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCpf">

            <xsd:restriction base="xsd:string">

               <xsd:length fixed="true" value="11" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsStatusRps">

            <xsd:restriction base="xsd:byte">

               <xsd:pattern value="1|2" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsNumeroRps">

            <xsd:restriction base="xsd:nonNegativeInteger">

               <xsd:totalDigits value="15" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCnpj">

            <xsd:restriction base="xsd:string">

               <xsd:length fixed="true" value="14" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsExigibilidadeISS">

            <xsd:restriction base="xsd:byte">

               <xsd:pattern value="1|2|3|4|5|6|7" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsNumeroLote">

            <xsd:restriction base="xsd:nonNegativeInteger">

               <xsd:totalDigits value="15" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsVersao">

            <xsd:restriction base="xsd:token">

               <xsd:pattern value="[1-9]{1}[0-9]{0,1}\.[0-9]{2}" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsNumeroEndereco">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="10" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsTipoRps">

            <xsd:restriction base="xsd:byte">

               <xsd:pattern value="1|2|3" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsSerieRps">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="5" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCodigoCnae">

            <xsd:restriction base="xsd:int">

               <xsd:totalDigits value="7" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCep">

            <xsd:restriction base="xsd:string">

               <xsd:length value="8" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsDiscriminacao">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="2000" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsDescricaoMensagemAlerta">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="200" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCodigoMensagemAlerta">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="4" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCodigoPaisBacen">

            <xsd:restriction base="xsd:string">

               <xsd:length value="4" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCodigoObra">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="15" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsCodigoMunicipioIbge">

            <xsd:restriction base="xsd:int">

               <xsd:totalDigits value="7" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsRazaoSocial">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="150" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsNumeroProtocolo">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="50" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsUf">

            <xsd:restriction base="xsd:string">

               <xsd:length fixed="true" value="2" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsNumeroProcesso">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="30" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:simpleType name="tsItemListaServico">

            <xsd:restriction base="xsd:string">

               <xsd:maxLength value="5" />

               <xsd:minLength value="1" />

               <xsd:whiteSpace value="collapse" />

            </xsd:restriction>

         </xsd:simpleType>

         <xsd:complexType name="tcDadosServico">

            <xsd:sequence>

               <xsd:element name="Valores" type="tcValoresDeclaracaoServico" form="qualified" />

               <xsd:element name="IssRetido" type="tsSimNao" form="qualified" />

               <xsd:element name="ResponsavelRetencao" type="tsResponsavelRetencao" minOccurs="0" form="qualified" />

               <xsd:element name="ItemListaServico" type="tsItemListaServico" form="qualified" />

               <xsd:element name="CodigoCnae" type="tsCodigoCnae" minOccurs="0" form="qualified" />

               <xsd:element name="CodigoTributacaoMunicipio" type="tsCodigoTributacao" minOccurs="0" form="qualified" />

               <xsd:element name="Discriminacao" type="tsDiscriminacao" form="qualified" />

               <xsd:element name="CodigoMunicipio" type="tsCodigoMunicipioIbge" form="qualified" />

               <xsd:element name="CodigoPais" type="tsCodigoPaisBacen" minOccurs="0" form="qualified" />

               <xsd:element name="ExigibilidadeISS" type="tsExigibilidadeISS" form="qualified" />

               <xsd:element name="MunicipioIncidencia" type="tsCodigoMunicipioIbge" minOccurs="0" form="qualified" />

               <xsd:element name="NumeroProcesso" type="tsNumeroProcesso" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcDadosTomador">

            <xsd:sequence>

               <xsd:element name="IdentificacaoTomador" type="tcIdentificacaoTomador" minOccurs="0" form="qualified" />

               <xsd:element name="RazaoSocial" type="tsRazaoSocial" minOccurs="0" form="qualified" />

               <xsd:element name="Endereco" type="tcEndereco" minOccurs="0" form="qualified" />

               <xsd:element name="Contato" type="tcContato" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcDadosConstrucaoCivil">

            <xsd:sequence>

               <xsd:element name="CodigoObra" type="tsCodigoObra" minOccurs="0" form="qualified" />

               <xsd:element name="Art" type="tsArt" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcInfDeclaracaoPrestacaoServico">

            <xsd:sequence>

               <xsd:element name="Rps" type="tcInfRps" minOccurs="0" form="qualified" />

               <xsd:element name="Competencia" type="xsd:date" form="qualified" />

               <xsd:element name="Servico" type="tcDadosServico" form="qualified" />

               <xsd:element name="Prestador" type="tcIdentificacaoPrestador" form="qualified" />

               <xsd:element name="Tomador" type="tcDadosTomador" minOccurs="0" form="qualified" />

               <xsd:element name="Intermediario" type="tcDadosIntermediario" minOccurs="0" form="qualified" />

               <xsd:element name="ConstrucaoCivil" type="tcDadosConstrucaoCivil" minOccurs="0" form="qualified" />

               <xsd:element name="RegimeEspecialTributacao" type="tsRegimeEspecialTributacao" minOccurs="0" form="qualified" />

               <xsd:element name="OptanteSimplesNacional" type="tsSimNao" form="qualified" />

               <xsd:element name="IncentivoFiscal" type="tsSimNao" form="qualified" />

            </xsd:sequence>

            <xsd:attribute name="Id" type="tsIdTag" />

         </xsd:complexType>

         <xsd:complexType name="tcLoteRps">

            <xsd:sequence>

               <xsd:element name="NumeroLote" type="tsNumeroLote" form="qualified" />

               <xsd:element name="CpfCnpj" type="tcCpfCnpj" form="qualified" />

               <xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" form="qualified" />

               <xsd:element name="QuantidadeRps" type="tsQuantidadeRps" form="qualified" />

               <xsd:element name="ListaRps" form="qualified">

                  <xsd:complexType>

                     <xsd:sequence>

                        <xsd:element name="Rps" type="tcDeclaracaoPrestacaoServico" maxOccurs="unbounded" form="qualified" />

                     </xsd:sequence>

                  </xsd:complexType>

               </xsd:element>

            </xsd:sequence>

            <xsd:attribute name="Id" type="tsIdTag" />

            <xsd:attribute name="versao" type="tsVersao" use="required" />

         </xsd:complexType>

         <xsd:complexType name="tcValoresDeclaracaoServico">

            <xsd:sequence>

               <xsd:element name="ValorServicos" type="tsValor" form="qualified" />

               <xsd:element name="ValorDeducoes" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="ValorPis" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="ValorCofins" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="ValorInss" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="ValorIr" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="ValorCsll" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="OutrasRetencoes" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="ValorIss" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="Aliquota" type="tsAliquota" minOccurs="0" form="qualified" />

               <xsd:element name="DescontoIncondicionado" type="tsValor" minOccurs="0" form="qualified" />

               <xsd:element name="DescontoCondicionado" type="tsValor" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcCpfCnpj">

            <xsd:choice>

               <xsd:element name="Cpf" type="tsCpf" form="qualified" />

               <xsd:element name="Cnpj" type="tsCnpj" form="qualified" />

            </xsd:choice>

         </xsd:complexType>

         <xsd:complexType name="tcMensagemRetorno">

            <xsd:sequence>

               <xsd:element name="Codigo" type="tsCodigoMensagemAlerta" form="qualified" />

               <xsd:element name="Mensagem" type="tsDescricaoMensagemAlerta" form="qualified" />

               <xsd:element name="Correcao" type="tsDescricaoMensagemAlerta" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcIdentificacaoRps">

            <xsd:sequence>

               <xsd:element name="Numero" type="tsNumeroRps" form="qualified" />

               <xsd:element name="Serie" type="tsSerieRps" form="qualified" />

               <xsd:element name="Tipo" type="tsTipoRps" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcIdentificacaoIntermediario">

            <xsd:sequence>

               <xsd:element name="CpfCnpj" type="tcCpfCnpj" minOccurs="0" form="qualified" />

               <xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcIdentificacaoTomador">

            <xsd:sequence>

               <xsd:element name="CpfCnpj" type="tcCpfCnpj" minOccurs="0" form="qualified" />

               <xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcDeclaracaoPrestacaoServico">

            <xsd:sequence>

               <xsd:element name="InfDeclaracaoPrestacaoServico" type="tcInfDeclaracaoPrestacaoServico" form="qualified" />

               <xsd:element ref="dsig:Signature" minOccurs="0" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcInfRps">

            <xsd:sequence>

               <xsd:element name="IdentificacaoRps" type="tcIdentificacaoRps" form="qualified" />

               <xsd:element name="DataEmissao" type="xsd:date" form="qualified" />

               <xsd:element name="Status" type="tsStatusRps" form="qualified" />

               <xsd:element name="RpsSubstituido" type="tcIdentificacaoRps" minOccurs="0" form="qualified" />

            </xsd:sequence>

            <xsd:attribute name="Id" type="tsIdTag" />

         </xsd:complexType>

         <xsd:complexType name="tcDadosIntermediario">

            <xsd:sequence>

               <xsd:element name="IdentificacaoIntermediario" type="tcIdentificacaoIntermediario" form="qualified" />

               <xsd:element name="RazaoSocial" type="tsRazaoSocial" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcIdentificacaoPrestador">

            <xsd:sequence>

               <xsd:element name="CpfCnpj" type="tcCpfCnpj" minOccurs="0" form="qualified" />

               <xsd:element name="InscricaoMunicipal" type="tsInscricaoMunicipal" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcContato">

            <xsd:sequence>

               <xsd:element name="Telefone" type="tsTelefone" minOccurs="0" form="qualified" />

               <xsd:element name="Email" type="tsEmail" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

         <xsd:complexType name="tcEndereco">

            <xsd:sequence>

               <xsd:element name="Endereco" type="tsEndereco" minOccurs="0" form="qualified" />

               <xsd:element name="Numero" type="tsNumeroEndereco" minOccurs="0" form="qualified" />

               <xsd:element name="Complemento" type="tsComplementoEndereco" minOccurs="0" form="qualified" />

               <xsd:element name="Bairro" type="tsBairro" minOccurs="0" form="qualified" />

               <xsd:element name="CodigoMunicipio" type="tsCodigoMunicipioIbge" minOccurs="0" form="qualified" />

               <xsd:element name="Uf" type="tsUf" minOccurs="0" form="qualified" />

               <xsd:element name="CodigoPais" type="tsCodigoPaisBacen" minOccurs="0" form="qualified" />

               <xsd:element name="Cep" type="tsCep" minOccurs="0" form="qualified" />

            </xsd:sequence>

         </xsd:complexType>

      </xsd:schema>

   </wsdl:types>

   <wsdl:message name="p2.EnviarLoteRpsEnvio">

      <wsdl:documentation />

      <wsdl:part name="EnviarLoteRpsEnvio" element="p2:EnviarLoteRpsEnvio" />

   </wsdl:message>

   <wsdl:message name="p2.EnviarLoteRpsResposta">

      <wsdl:documentation />

      <wsdl:part name="EnviarLoteRpsResposta" element="p2:EnviarLoteRpsResposta" />

   </wsdl:message>

   <wsdl:portType name="SI_NFSRJ_Receiver">

      <wsdl:documentation />

      <wsdl:operation name="SI_NFSRJ_Receiver">

         <wsdl:documentation />

         <wsp:Policy>

            <wsp:PolicyReference URI="#OP_SI_NFSRJ_Receiver" />

         </wsp:Policy>

         <wsdl:input message="p1:p2.EnviarLoteRpsEnvio" />

         <wsdl:output message="p1:p2.EnviarLoteRpsResposta" />

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="SI_NFSRJ_ReceiverBinding" type="p1:SI_NFSRJ_Receiver">

      <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http" />

      <wsdl:operation name="SI_NFSRJ_Receiver">

         <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="http://sap.com/xi/WebService/soap1.1" />

         <wsdl:input>

            <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

         </wsdl:input>

         <wsdl:output>

            <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

</wsdl:definitions>

Regards

João Bergmaschi Neto

Harish
Active Contributor
0 Kudos

Hi,

you have import statment in the WSDL and the corresponding namespace is not found.

  <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" />

the element Signature type is from the external namespace. Please check if the reference is valid and has the required external definition.

regards,

Harish

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

You can import the xsd by going to http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd, you need to remove the DOCTYPE though before importing it in PI. Below is the xsd:


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

<!-- Schema for XML Signatures

    http://www.w3.org/2000/09/xmldsig#

    $Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $

    Copyright 2001 The Internet Society and W3C (Massachusetts Institute

    of Technology, Institut National de Recherche en Informatique et en

    Automatique, Keio University). All Rights Reserved.

    http://www.w3.org/Consortium/Legal/

    This document is governed by the W3C Software License [1] as described

    in the FAQ [2].

    [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720

    [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD

-->

<schema xmlns="http://www.w3.org/2001/XMLSchema"

        xmlns:ds="http://www.w3.org/2000/09/xmldsig#"

        targetNamespace="http://www.w3.org/2000/09/xmldsig#"

        version="0.1" elementFormDefault="qualified">

<!-- Basic Types Defined for Signatures -->

<simpleType name="CryptoBinary">

  <restriction base="base64Binary">

  </restriction>

</simpleType>

<!-- Start Signature -->

<element name="Signature" type="ds:SignatureType"/>

<complexType name="SignatureType">

  <sequence>

    <element ref="ds:SignedInfo"/>

    <element ref="ds:SignatureValue"/>

    <element ref="ds:KeyInfo" minOccurs="0"/>

    <element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>

  </sequence> 

  <attribute name="Id" type="ID" use="optional"/>

</complexType>

  <element name="SignatureValue" type="ds:SignatureValueType"/>

  <complexType name="SignatureValueType">

    <simpleContent>

      <extension base="base64Binary">

        <attribute name="Id" type="ID" use="optional"/>

      </extension>

    </simpleContent>

  </complexType>

<!-- Start SignedInfo -->

<element name="SignedInfo" type="ds:SignedInfoType"/>

<complexType name="SignedInfoType">

  <sequence>

    <element ref="ds:CanonicalizationMethod"/>

    <element ref="ds:SignatureMethod"/>

    <element ref="ds:Reference" maxOccurs="unbounded"/>

  </sequence> 

  <attribute name="Id" type="ID" use="optional"/>

</complexType>

  <element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>

  <complexType name="CanonicalizationMethodType" mixed="true">

    <sequence>

      <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>

      <!-- (0,unbounded) elements from (1,1) namespace -->

    </sequence>

    <attribute name="Algorithm" type="anyURI" use="required"/>

  </complexType>

  <element name="SignatureMethod" type="ds:SignatureMethodType"/>

  <complexType name="SignatureMethodType" mixed="true">

    <sequence>

      <element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>

      <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>

      <!-- (0,unbounded) elements from (1,1) external namespace -->

    </sequence>

    <attribute name="Algorithm" type="anyURI" use="required"/>

  </complexType>

<!-- Start Reference -->

<element name="Reference" type="ds:ReferenceType"/>

<complexType name="ReferenceType">

  <sequence>

    <element ref="ds:Transforms" minOccurs="0"/>

    <element ref="ds:DigestMethod"/>

    <element ref="ds:DigestValue"/>

  </sequence>

  <attribute name="Id" type="ID" use="optional"/>

  <attribute name="URI" type="anyURI" use="optional"/>

  <attribute name="Type" type="anyURI" use="optional"/>

</complexType>

  <element name="Transforms" type="ds:TransformsType"/>

  <complexType name="TransformsType">

    <sequence>

      <element ref="ds:Transform" maxOccurs="unbounded"/> 

    </sequence>

  </complexType>

  <element name="Transform" type="ds:TransformType"/>

  <complexType name="TransformType" mixed="true">

    <choice minOccurs="0" maxOccurs="unbounded">

      <any namespace="##other" processContents="lax"/>

      <!-- (1,1) elements from (0,unbounded) namespaces -->

      <element name="XPath" type="string"/>

    </choice>

    <attribute name="Algorithm" type="anyURI" use="required"/>

  </complexType>

<!-- End Reference -->

<element name="DigestMethod" type="ds:DigestMethodType"/>

<complexType name="DigestMethodType" mixed="true">

  <sequence>

    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>

  </sequence>   

  <attribute name="Algorithm" type="anyURI" use="required"/>

</complexType>

<element name="DigestValue" type="ds:DigestValueType"/>

<simpleType name="DigestValueType">

  <restriction base="base64Binary"/>

</simpleType>

<!-- End SignedInfo -->

<!-- Start KeyInfo -->

<element name="KeyInfo" type="ds:KeyInfoType"/>

<complexType name="KeyInfoType" mixed="true">

  <choice maxOccurs="unbounded">    

    <element ref="ds:KeyName"/>

    <element ref="ds:KeyValue"/>

    <element ref="ds:RetrievalMethod"/>

    <element ref="ds:X509Data"/>

    <element ref="ds:PGPData"/>

    <element ref="ds:SPKIData"/>

    <element ref="ds:MgmtData"/>

    <any processContents="lax" namespace="##other"/>

    <!-- (1,1) elements from (0,unbounded) namespaces -->

  </choice>

  <attribute name="Id" type="ID" use="optional"/>

</complexType>

  <element name="KeyName" type="string"/>

  <element name="MgmtData" type="string"/>

  <element name="KeyValue" type="ds:KeyValueType"/>

  <complexType name="KeyValueType" mixed="true">

   <choice>

     <element ref="ds:DSAKeyValue"/>

     <element ref="ds:RSAKeyValue"/>

     <any namespace="##other" processContents="lax"/>

   </choice>

  </complexType>

  <element name="RetrievalMethod" type="ds:RetrievalMethodType"/>

  <complexType name="RetrievalMethodType">

    <sequence>

      <element ref="ds:Transforms" minOccurs="0"/>

    </sequence> 

    <attribute name="URI" type="anyURI"/>

    <attribute name="Type" type="anyURI" use="optional"/>

  </complexType>

<!-- Start X509Data -->

<element name="X509Data" type="ds:X509DataType"/>

<complexType name="X509DataType">

  <sequence maxOccurs="unbounded">

    <choice>

      <element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>

      <element name="X509SKI" type="base64Binary"/>

      <element name="X509SubjectName" type="string"/>

      <element name="X509Certificate" type="base64Binary"/>

      <element name="X509CRL" type="base64Binary"/>

      <any namespace="##other" processContents="lax"/>

    </choice>

  </sequence>

</complexType>

<complexType name="X509IssuerSerialType">

  <sequence>

    <element name="X509IssuerName" type="string"/>

    <element name="X509SerialNumber" type="integer"/>

  </sequence>

</complexType>

<!-- End X509Data -->

<!-- Begin PGPData -->

<element name="PGPData" type="ds:PGPDataType"/>

<complexType name="PGPDataType">

  <choice>

    <sequence>

      <element name="PGPKeyID" type="base64Binary"/>

      <element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>

      <any namespace="##other" processContents="lax" minOccurs="0"

       maxOccurs="unbounded"/>

    </sequence>

    <sequence>

      <element name="PGPKeyPacket" type="base64Binary"/>

      <any namespace="##other" processContents="lax" minOccurs="0"

       maxOccurs="unbounded"/>

    </sequence>

  </choice>

</complexType>

<!-- End PGPData -->

<!-- Begin SPKIData -->

<element name="SPKIData" type="ds:SPKIDataType"/>

<complexType name="SPKIDataType">

  <sequence maxOccurs="unbounded">

    <element name="SPKISexp" type="base64Binary"/>

    <any namespace="##other" processContents="lax" minOccurs="0"/>

  </sequence>

</complexType>

<!-- End SPKIData -->

<!-- End KeyInfo -->

<!-- Start Object (Manifest, SignatureProperty) -->

<element name="Object" type="ds:ObjectType"/>

<complexType name="ObjectType" mixed="true">

  <sequence minOccurs="0" maxOccurs="unbounded">

    <any namespace="##any" processContents="lax"/>

  </sequence>

  <attribute name="Id" type="ID" use="optional"/>

  <attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->

  <attribute name="Encoding" type="anyURI" use="optional"/>

</complexType>

<element name="Manifest" type="ds:ManifestType"/>

<complexType name="ManifestType">

  <sequence>

    <element ref="ds:Reference" maxOccurs="unbounded"/>

  </sequence>

  <attribute name="Id" type="ID" use="optional"/>

</complexType>

<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>

<complexType name="SignaturePropertiesType">

  <sequence>

    <element ref="ds:SignatureProperty" maxOccurs="unbounded"/>

  </sequence>

  <attribute name="Id" type="ID" use="optional"/>

</complexType>

   <element name="SignatureProperty" type="ds:SignaturePropertyType"/>

   <complexType name="SignaturePropertyType" mixed="true">

     <choice maxOccurs="unbounded">

       <any namespace="##other" processContents="lax"/>

       <!-- (1,1) elements from (1,unbounded) namespaces -->

     </choice>

     <attribute name="Target" type="anyURI" use="required"/>

     <attribute name="Id" type="ID" use="optional"/>

   </complexType>

<!-- End Object (Manifest, SignatureProperty) -->

<!-- Start Algorithm Parameters -->

<simpleType name="HMACOutputLengthType">

  <restriction base="integer"/>

</simpleType>

<!-- Start KeyValue Element-types -->

<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>

<complexType name="DSAKeyValueType">

  <sequence>

    <sequence minOccurs="0">

      <element name="P" type="ds:CryptoBinary"/>

      <element name="Q" type="ds:CryptoBinary"/>

    </sequence>

    <element name="G" type="ds:CryptoBinary" minOccurs="0"/>

    <element name="Y" type="ds:CryptoBinary"/>

    <element name="J" type="ds:CryptoBinary" minOccurs="0"/>

    <sequence minOccurs="0">

      <element name="Seed" type="ds:CryptoBinary"/>

      <element name="PgenCounter" type="ds:CryptoBinary"/>

    </sequence>

  </sequence>

</complexType>

<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>

<complexType name="RSAKeyValueType">

  <sequence>

    <element name="Modulus" type="ds:CryptoBinary"/>

    <element name="Exponent" type="ds:CryptoBinary"/>

  </sequence>

</complexType>

<!-- End KeyValue Element-types -->

<!-- End Signature -->

</schema>

Import it into ESR in the same namespace where you saved the wsdl and follow the source as in the screenshot below

After doing that, the wsdl is now complete.

You should now be able to create your proxy.

Hope this helps,

Mark