[EMBOSS] HELP!! ePrimer3 service down?

Peter Schüffler schueffi at mpi-sb.mpg.de
Fri Mar 28 10:26:17 UTC 2008


Hallo,

I'm using the eprimer3 service from EMBOSS in my Java source code. This 
is a great service!!! :-)

But for a while, the service doesn't work (but has worked before!).

Here my source code and the failure message from Java.

Do I something wrong, or does server something wrong?

THANK YOU!!!

Peter


public static void main(String[] args) {
        String seq = 
"TCTAGAAAAATTTTTTAAAAAATTAGGCCGCTCGAGCGAGAGTGCAGTGGCTCACGCCTGTAATCCAACA" +
                            
"CTTCAGGAGGCTGAAGAGGGTGGATCACCTGAGGTCAGGAGTTCCAGACCAGCCTGGCCAACATGGTGAA";

        try {
            // CONSTRUCT THE SERVICE

            AnalysisServiceService service = new 
AnalysisServiceServiceLocator();
            Nucleic_PrimersEprimer3SoapBindingStub primer = 
(Nucleic_PrimersEprimer3SoapBindingStub) 
service.getNucleic_PrimersEprimer3();
           
            // SET UP THE PARAMETERS
            HashMap params = new HashMap();
            params.put("sequence_direct_data", seq);
            params.put("task", 1);
            params.put("numreturn", 100);

            // RUN ePRIMER3
            HashMap result = primer.runAndWaitFor(params);

            String output = (String) result.get("outfile");
            System.out.println(output);

        } catch (RemoteException ex) {
            Logger.getLogger(Eprimer3.class.getName()).log(Level.SEVERE, 
null, ex);
        } catch (Exception ex) {
            Logger.getLogger(Eprimer3.class.getName()).log(Level.SEVERE, 
null, ex);
        }
    }



HERE THE MESSAGE::

Mar 28, 2008 11:24:07 AM mm_filters.Eprimer3 main
SEVERE: null
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultString: java.lang.IllegalArgumentException: Conversion to 
SoaplabMap failed: Found an unsupported type 'java.lang.Integer'.
 faultActor: null
 faultDetail:
        hostname: web57-node1.ebi.ac.uk

java.lang.IllegalArgumentException: Conversion to SoaplabMap failed: 
Found an unsupported type 'java.lang.Integer'.
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135)
        at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:942)
        at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2132)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1851)
        at org.apache.axis.client.Call.invoke(Call.java:1777)
        at org.apache.axis.client.Call.invoke(Call.java:1315)
        at 
uk.ac.ebi.www.Nucleic_PrimersEprimer3SoapBindingStub.runAndWaitFor(Nucleic_PrimersEprimer3SoapBindingStub.java:435)
        at mm_filters.Eprimer3.main(Eprimer3.java:162)





More information about the EMBOSS mailing list