Beleza galera?
Estou usando axis 1.4 para consumer webservices porém, estou com um problema, todo o response é lido normalmenta té chegar nesse ponto:
<ns3:enderecoCobranca xmlns:ns3="http://Endereco">
<ns3:numero nillable="true"/>
<ns3:complemento nillable="true"/>
<ns3:tipoLogradouro nillable="true"/>
<ns3:rua nillable="true"/>
<ns3:bairro nillable="true"/>
<ns3:cidade nillable="true"/>
<ns3:cep nillable="true"/>
<ns3:estado nillable="true"/>
<ns3:pais nillable="true"/>
<ns3:referencia nillable="true"/>
<ns3:tipoPostagem nillable="true"/>
<ns3:caixaPostal nillable="true"/>
</ns3:enderecoCobranca>
Neste ponto o axis lança uma exception informando que o elemento numero é invalido.
O Schema está assim:
<xs:complexType name="enderecoType" abstract="true">
<xs:sequence>
<xs:element name="numero" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="complemento" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="tipoLogradouro" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="rua" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="bairro" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="cidade" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="cep" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="estado" type="xs:string" minOccurs="1" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="pais" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"></xs:element>
<xs:element name="referencia" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true"></xs:element>
</xs:sequence>
<xs:attribute name="idEndereco" type="xs:long"/>
</xs:complexType>
Alguém já passou por isso?