Loading ...
Sorry, an error occurred while loading the content.

SOAP::Lite and .Net

Expand Messages
  • alberto_labarga
    Dear friends, I am working at EBI (www.ebi.ac.uk) and we use SOAP::Lite to provide access for several databases and tools for bioinformaticians all around the
    Message 1 of 2 , Aug 15 9:26 AM
    • 0 Attachment
      Dear friends,

      I am working at EBI (www.ebi.ac.uk) and we use SOAP::Lite to provide
      access for several databases and tools for bioinformaticians all
      around the work, so, first of all, we should be saying thank you for
      all the effort you have done in developing this tool,

      we have been providing clients written in Perl and Java to access the
      web services we developed, and know we wanted to provide also .Net
      clients since lot of people requested it,

      as we were using hashes and type Map for sending the parameters and
      the results (eg. http://www.ebi.ac.uk/ws/WSFasta.wsdl), and the .Net
      platform has not these types, I intended to use Lite.dll to overcome
      this, but I've got a problem, in Windows 2000 seems to work Ok, but
      not in Windows XP, so my question is, are the Lite.dll sources
      available? maybe recompiling in XP will work, also, do you know any
      other way of sending this kind of data in .Net?

      SOAP::Lite seems to create this kind of structure
      <params xsi:type="apachens:Map"><item><key
      xsi:type="xsd:string">seqrange</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">elower</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">alignments</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">nucleotide</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">matrix</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">program</key><value
      xsi:type="xsd:string">fasta3</value></item><item><key
      xsi:type="xsd:string">epupper</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">histogram</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">topstrand</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">scores</key><value
      xsi:null="1"/></item><item><key xsi:type="xsd:string">ktup</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">gapext</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">bottomstrand</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">database</key><value
      xsi:type="xsd:string">uniprot</value></item><item><key
      xsi:type="xsd:string">searchtype</key><value
      xsi:type="xsd:int">1</value></item><item><key
      xsi:type="xsd:string">gapopen</key><value
      xsi:null="1"/></item><item><key
      xsi:type="xsd:string">dbrange</key><value xsi:null="1"/></item></params>

      while .Net is sending this

      <params>
      <program>fasta3</program>
      <database>emfun</database><histogram>false</histogram>
      <nucleotide>true</nucleotide><topstrand>true</topstrand>
      <bottomstrand>true</bottomstrand><gapopen>-10</gapopen>
      <gapext>-2</gapext><scores>20</scores><alignments>20</alignments>
      <ktup>6</ktup><matrix>BL50</matrix><epupper>5</epupper><elower>-1.0737418e+008</elower>
      <dbrange></dbrange><seqrange></seqrange><async>true</async>
      </params>

      I could rewrite the serializer for this kind of data, but maybe it has
      already been done

      thank you very much

      alberto
    • Lawrence Resubal
      Alberto, I had this problem last week, try sending the xml as raw xml. How to Call a .NET-based Web Service Using the SOAP::Lite Perl Library
      Message 2 of 2 , Aug 15 10:01 AM
      • 0 Attachment
        Alberto,

        I had this problem last week, try sending the xml as
        raw xml.

        How to Call a .NET-based Web Service Using the
        SOAP::Lite Perl Library
        http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsoap/html/soapliteperl.asp


        COMPOSING MESSAGES USING RAW XML
        http://www.majordojo.com/soaplite/docs/SOAP/Data.html#COMPOSING_MESSAGES_USING_RAW_XML


        Laurence




        ____________________________________________________
        Start your day with Yahoo! - make it your home page
        http://www.yahoo.com/r/hs
      Your message has been successfully submitted and would be delivered to recipients shortly.