<?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="translateSequenceInput">
          <wsdl:part name="data" type="xsd:string"/>
  </wsdl:message>

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

  <wsdl:portType name="translateSequencePortType">
          <wsdl:operation name="translateSequence">
                 <wsdl:input message="tns:translateSequenceInput"/>
                 <wsdl:output message="tns:translateSequenceOutput"/>
          </wsdl:operation>
  </wsdl:portType>
                
  <wsdl:binding name="translateSequenceBinding" type="tns:translateSequencePortType">
          <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="translateSequence"><!-- in essense, this is the name of the subroutine that is called -->
                 <wsdlsoap:operation soapAction='http://biomoby.org/#translateSequence' 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="translateSequenceService">
          <wsdl:documentation>Authority: www.glycome-db.org  -  Translate a carbohydrate sequence in a given format into another carbohydrate sequence format.
	
Input : 
sequence - (GlycoSequence) - Input sequence in the input format. (Note: For the format of glycobase in lille use | to separate the TRP type from the increment string)
release_aglycon - (Boolean) - Separates the aglyons from the carbohydrate moities and translates only the carbohydrates into the target format
input_format - (String) - Name of the input format. Supported are : carbbank, kcf, linucs, bcsdb, glycoct_condensed, glycoct_xml, glydeII, linearcode, glycobase_lille, glycobase_oxford
output_format - (String) - Name of the output format. Supported are : linucs, glycoct_condensed, glycoct_xml, glydeII
translate_namespace - (Boolean) - Allows to translate the sequences without namespace translation. (Note: Not possible if GlycoCT or GlydeII are involved.)
strict_namespace - (Boolean) - false : all non monosaccharide and non substituent names get automaticly translated to aglycon (includes not recognized monosaccharides); true : it the choosen namespace translator confirm it is a non monosaccharide, then this name is translated to an aglycon
namespace_translator - (String) - Name of the namespace translator to use (supported : msdb, glycomedb, auto) Note : glycomedb is only used for translation to GlycoCT namespace, all translations from GlycoCT namespace are done via MSDB. Auto tries to use glycomedb first and MSDB as fallback

Ouput :
output - (list of GlycoSequence) - List of carbohydrate sequences. More than one sequence may be returned by using the release aglycon feature.</wsdl:documentation>  <!-- service description goes here -->
          <wsdl:port name="translateSequencePort" binding="tns:translateSequenceBinding">
                 <wsdlsoap:address location="http://moby.glycome-db.org/translateSequence"/>    <!-- URL to service scriptname -->
          </wsdl:port>
  </wsdl:service>

</wsdl:definitions>



