<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://WWT.sdss.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://WWT.sdss.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://WWT.sdss.org/">
      <s:element name="GetJpeg">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="ra" type="s:double" />
            <s:element minOccurs="1" maxOccurs="1" name="dec" type="s:double" />
            <s:element minOccurs="1" maxOccurs="1" name="ImagePixelsPerDegree" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="height" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="width" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="grid" type="s:boolean" />
            <s:element minOccurs="1" maxOccurs="1" name="photoObjs" type="s:boolean" />
            <s:element minOccurs="1" maxOccurs="1" name="specObjs" type="s:boolean" />
            <s:element minOccurs="1" maxOccurs="1" name="invertImage" type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetJpegResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetJpegResult" type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="base64Binary" nillable="true" type="s:base64Binary" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetJpegSoapIn">
    <wsdl:part name="parameters" element="tns:GetJpeg" />
  </wsdl:message>
  <wsdl:message name="GetJpegSoapOut">
    <wsdl:part name="parameters" element="tns:GetJpegResponse" />
  </wsdl:message>
  <wsdl:message name="GetJpegHttpGetIn">
    <wsdl:part name="ra" type="s:string" />
    <wsdl:part name="dec" type="s:string" />
    <wsdl:part name="ImagePixelsPerDegree" type="s:string" />
    <wsdl:part name="height" type="s:string" />
    <wsdl:part name="width" type="s:string" />
    <wsdl:part name="grid" type="s:string" />
    <wsdl:part name="photoObjs" type="s:string" />
    <wsdl:part name="specObjs" type="s:string" />
    <wsdl:part name="invertImage" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetJpegHttpGetOut">
    <wsdl:part name="Body" element="tns:base64Binary" />
  </wsdl:message>
  <wsdl:message name="GetJpegHttpPostIn">
    <wsdl:part name="ra" type="s:string" />
    <wsdl:part name="dec" type="s:string" />
    <wsdl:part name="ImagePixelsPerDegree" type="s:string" />
    <wsdl:part name="height" type="s:string" />
    <wsdl:part name="width" type="s:string" />
    <wsdl:part name="grid" type="s:string" />
    <wsdl:part name="photoObjs" type="s:string" />
    <wsdl:part name="specObjs" type="s:string" />
    <wsdl:part name="invertImage" type="s:string" />
  </wsdl:message>
  <wsdl:message name="GetJpegHttpPostOut">
    <wsdl:part name="Body" element="tns:base64Binary" />
  </wsdl:message>
  <wsdl:portType name="SdssCutoutSoap">
    <wsdl:operation name="GetJpeg">
      <wsdl:input message="tns:GetJpegSoapIn" />
      <wsdl:output message="tns:GetJpegSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="SdssCutoutHttpGet">
    <wsdl:operation name="GetJpeg">
      <wsdl:input message="tns:GetJpegHttpGetIn" />
      <wsdl:output message="tns:GetJpegHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="SdssCutoutHttpPost">
    <wsdl:operation name="GetJpeg">
      <wsdl:input message="tns:GetJpegHttpPostIn" />
      <wsdl:output message="tns:GetJpegHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="SdssCutoutSoap" type="tns:SdssCutoutSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <wsdl:operation name="GetJpeg">
      <soap:operation soapAction="http://WWT.sdss.org/GetJpeg" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="SdssCutoutHttpGet" type="tns:SdssCutoutHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="GetJpeg">
      <http:operation location="/GetJpeg" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="SdssCutoutHttpPost" type="tns:SdssCutoutHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="GetJpeg">
      <http:operation location="/GetJpeg" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="SdssCutout">
    <wsdl:port name="SdssCutoutSoap" binding="tns:SdssCutoutSoap">
      <soap:address location="http://skyservice.pha.jhu.edu/SdssCutout/SdssCutout.asmx" />
    </wsdl:port>
    <wsdl:port name="SdssCutoutHttpGet" binding="tns:SdssCutoutHttpGet">
      <http:address location="http://skyservice.pha.jhu.edu/SdssCutout/SdssCutout.asmx" />
    </wsdl:port>
    <wsdl:port name="SdssCutoutHttpPost" binding="tns:SdssCutoutHttpPost">
      <http:address location="http://skyservice.pha.jhu.edu/SdssCutout/SdssCutout.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>