-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use local wsdl files to improve client load
- Loading branch information
1 parent
093fe24
commit 0f1c3e0
Showing
9 changed files
with
5,263 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions name="rastro" targetNamespace="http://resource.webservice.correios.com.br/" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:tns="http://resource.webservice.correios.com.br/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> | ||
<types> | ||
<xsd:schema> | ||
<xsd:import namespace="http://resource.webservice.correios.com.br/" schemaLocation="Rastro_schema1.xsd"/> | ||
</xsd:schema> | ||
</types> | ||
<message name="buscaEventosLista"> | ||
<part name="parameters" element="tns:buscaEventosLista"> | ||
</part> | ||
</message> | ||
<message name="buscaEventosResponse"> | ||
<part name="parameters" element="tns:buscaEventosResponse"> | ||
</part> | ||
</message> | ||
<message name="buscaEventosListaResponse"> | ||
<part name="parameters" element="tns:buscaEventosListaResponse"> | ||
</part> | ||
</message> | ||
<message name="buscaEventos"> | ||
<part name="parameters" element="tns:buscaEventos"> | ||
</part> | ||
</message> | ||
<portType name="Service"> | ||
<operation name="buscaEventos"> | ||
<input message="tns:buscaEventos" wsam:Action="buscaEventos"> | ||
</input> | ||
<output message="tns:buscaEventosResponse" wsam:Action="http://resource.webservice.correios.com.br/Service/buscaEventosResponse"> | ||
</output> | ||
</operation> | ||
<operation name="buscaEventosLista"> | ||
<input message="tns:buscaEventosLista" wsam:Action="buscaEventosLista"> | ||
</input> | ||
<output message="tns:buscaEventosListaResponse" wsam:Action="http://resource.webservice.correios.com.br/Service/buscaEventosListaResponse"> | ||
</output> | ||
</operation> | ||
</portType> | ||
<binding name="ServicePortBinding" type="tns:Service"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<operation name="buscaEventos"> | ||
<soap:operation soapAction="buscaEventos"/> | ||
<input> | ||
<soap:body use="literal"/> | ||
</input> | ||
<output> | ||
<soap:body use="literal"/> | ||
</output> | ||
</operation> | ||
<operation name="buscaEventosLista"> | ||
<soap:operation soapAction="buscaEventosLista"/> | ||
<input> | ||
<soap:body use="literal"/> | ||
</input> | ||
<output> | ||
<soap:body use="literal"/> | ||
</output> | ||
</operation> | ||
</binding> | ||
<service name="rastro"> | ||
<port name="ServicePort" binding="tns:ServicePortBinding"> | ||
<soap:address location="http://webservice.correios.com.br:80/service/rastro"/> | ||
</port> | ||
</service> | ||
</definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><!--Generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build IBM 2.2.3-11/25/2013 12:35 PM(foreman)-) | ||
See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> --><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://resource.webservice.correios.com.br/" version="1.0" targetNamespace="http://resource.webservice.correios.com.br/"> | ||
|
||
<xs:element name="buscaEventos" type="tns:buscaEventos"></xs:element> | ||
|
||
<xs:element name="buscaEventosLista" type="tns:buscaEventosLista"></xs:element> | ||
|
||
<xs:element name="buscaEventosListaResponse" type="tns:buscaEventosListaResponse"></xs:element> | ||
|
||
<xs:element name="buscaEventosResponse" type="tns:buscaEventosResponse"></xs:element> | ||
|
||
<xs:element name="destino" type="tns:destinos"></xs:element> | ||
|
||
<xs:element name="endereco" type="tns:enderecoMobile"></xs:element> | ||
|
||
<xs:element name="evento" type="tns:eventos"></xs:element> | ||
|
||
<xs:element name="objeto" type="tns:objeto"></xs:element> | ||
|
||
<xs:element name="rastro" type="tns:sroxml"></xs:element> | ||
|
||
<xs:complexType name="buscaEventosLista"> | ||
<xs:sequence> | ||
<xs:element name="usuario" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="senha" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="tipo" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="resultado" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="lingua" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="objetos" type="xs:string" minOccurs="0" maxOccurs="unbounded"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="buscaEventosListaResponse"> | ||
<xs:sequence> | ||
<xs:element name="return" type="tns:sroxml" minOccurs="0"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="sroxml"> | ||
<xs:sequence> | ||
<xs:element name="versao" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="qtd" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="TipoPesquisa" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="TipoResultado" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element ref="tns:objeto" minOccurs="0" maxOccurs="unbounded"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="objeto"> | ||
<xs:sequence> | ||
<xs:element name="numero" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="sigla" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="nome" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="categoria" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="erro" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element ref="tns:evento" minOccurs="0" maxOccurs="unbounded"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="eventos"> | ||
<xs:sequence> | ||
<xs:element name="tipo" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="status" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="data" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="hora" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="descricao" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="detalhe" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="recebedor" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="documento" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="comentario" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="local" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="codigo" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="cidade" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="uf" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="sto" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="amazoncode" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="amazontimezone" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element ref="tns:destino" minOccurs="0" maxOccurs="unbounded"></xs:element> | ||
<xs:element ref="tns:endereco" minOccurs="0"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="destinos"> | ||
<xs:sequence> | ||
<xs:element name="local" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="codigo" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="cidade" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="bairro" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="uf" type="xs:string" minOccurs="0"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="enderecoMobile"> | ||
<xs:sequence> | ||
<xs:element name="codigo" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="cep" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="logradouro" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="complemento" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="numero" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="localidade" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="uf" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="bairro" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="latitude" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="longitude" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="celular" type="xs:string" minOccurs="0"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="buscaEventos"> | ||
<xs:sequence> | ||
<xs:element name="usuario" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="senha" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="tipo" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="resultado" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="lingua" type="xs:string" minOccurs="0"></xs:element> | ||
<xs:element name="objetos" type="xs:string" minOccurs="0"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="buscaEventosResponse"> | ||
<xs:sequence> | ||
<xs:element name="return" type="tns:sroxml" minOccurs="0"></xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters