Skip to content

Instantly share code, notes, and snippets.

@RafaelLeonhardt
Created March 8, 2014 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RafaelLeonhardt/9424338 to your computer and use it in GitHub Desktop.
Save RafaelLeonhardt/9424338 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions name="Megasena"
targetNamespace="http://service.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://service.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd1="http://data.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1">
<wsdl:import
namespace="http://data.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1"
location="megasena.xsd"></wsdl:import>
<wsdl:types>
<xsd:schema targetNamespace="http://service.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" >
<xsd:import schemaLocation="megasena.xsd" namespace="http://data.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1"></xsd:import>
<xsd:complexType name="ConcursoRequest">
<xsd:sequence>
<xsd:element name="Numero" type="xsd:int" minOccurs="1" maxOccurs="1"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ConcursoResponse">
<xsd:sequence>
<xsd:element name="Concurso" type="xsd1:Concurso" minOccurs="1" maxOccurs="1"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ConcursoRequest" type="tns:ConcursoRequest"></xsd:element>
<xsd:element name="ConcursoResponse" type="tns:ConcursoResponse"></xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ConcursoRequest">
<wsdl:part name="parameters" element="tns:ConcursoRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="ConcursoResponse">
<wsdl:part name="parameters" element="tns:ConcursoResponse">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="MegasenaService">
<wsdl:operation name="ObterConcurso">
<wsdl:input message="tns:ConcursoRequest" name="ConcursoRequest" ></wsdl:input>
<wsdl:output message="tns:ConcursoResponse" name="ConcursoResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MegasenaSOAP" type="tns:MegasenaService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ObterConcurso">
<soap:operation soapAction="http://service.rafaelleonhardt.com.br/soacontractfirstcomwcf45/megasena/v1/ObterConcurso" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MegasenaService">
<wsdl:port binding="tns:MegasenaSOAP" name="MegasenaSOAP">
<soap:address location="http://localhost:39976/Megasena.svc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment