<?xml version="1.0"?>
<wsdl:definitions name="MOBY_Central_Generated_WSDL"
                targetNamespace="http://biomoby.org/Central.wsdl"
                xmlns:tns="http://biomoby.org/Central.wsdl"
                xmlns:xsd1="http://biomoby.org/CentralXSDs.xsd"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns="http://schemas.xmlsoap.org/wsdl/"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">

                 
  <wsdl:message name="getCarbohydratePngInput">
          <wsdl:part name="data" type="xsd:string"/>
  </wsdl:message>

  <wsdl:message name="getCarbohydratePngOutput">
          <wsdl:part name="body" type="xsd:string"/>
  </wsdl:message>

  <wsdl:portType name="getCarbohydratePngPortType">
          <wsdl:operation name="getCarbohydratePng">
                 <wsdl:input message="tns:getCarbohydratePngInput"/>
                 <wsdl:output message="tns:getCarbohydratePngOutput"/>
          </wsdl:operation>
  </wsdl:portType>
                
  <wsdl:binding name="getCarbohydratePngBinding" type="tns:getCarbohydratePngPortType">
          <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="getCarbohydratePng"><!-- in essense, this is the name of the subroutine that is called -->
                 <wsdlsoap:operation soapAction='http://biomoby.org/#getCarbohydratePng' style='rpc'/>
                 <wsdl:input>
                         <wsdlsoap:body use="encoded" namespace="http://biomoby.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                 </wsdl:input>
                 <wsdl:output>
                         <wsdlsoap:body use="encoded" namespace="http://biomoby.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                 </wsdl:output>
          </wsdl:operation>
  </wsdl:binding>
                
  <wsdl:service name="getCarbohydratePngService">
          <wsdl:documentation>Authority: www.glycome-db.org  -  Returns a list of base64 encoded PNG images for the requested carbohydrate. If the requested carbohydrate comes from another namespace than GlycomeDB, the images of the corresponding GlycomeDB entries (may be more than one) will be returned. If the image can not be generated an exception is thrown.

Input : 
carbohydrate - (GlycomicsObjects) - ID of a carbohydrate (supported namespaces : BCSDB, CarbBank, CFG, GlycomeDB, GLYCOSCIENCES.de, KEGG, GlyAffinity, GlycoBase_Dublin, GlycoBase_Lille)
image_schema - (MobyString) - representation scheme and residue namespace of the carbohydrate image (supported : cfg, iupac, oxford, glycoct, auto). The scheme auto tries first to generate an cfg scheme image, if it cannot be generated it tries iupac and at last glycoct scheme.  
	
Ouput :
png - (list of glycoPNG) - list of base64 encoded PNG images.	
	
	</wsdl:documentation>  <!-- service description goes here -->
          <wsdl:port name="getCarbohydratePngPort" binding="tns:getCarbohydratePngBinding">
                 <wsdlsoap:address location="http://moby.glycome-db.org/getCarbohydratePng"/>    <!-- URL to service scriptname -->
          </wsdl:port>
  </wsdl:service>

</wsdl:definitions>



