Well, it works, but there is a difference:
I use the params mintm and maxtm for eprimer3. These values must now be
integers (formaly, they were doubles - now, when they are doubles, an
Error arises without successful primer findings).
Don't now if this concerns also other params...
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultString: java.lang.IllegalArgumentException: Conversion to
SoaplabMap failed: Found an unsupported type 'java.lang.Double'.
faultActor: null
faultDetail:
hostname: web57-node1.ebi.ac.uk
java.lang.IllegalArgumentException: Conversion to SoaplabMap failed:
Found an unsupported type 'java.lang.Double'.
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)
Peter Schüffler wrote:
Seems to work. No Error message, and normal output.
THANK YOU!!!
Mahmut Uludag wrote:
Hi Peter,
But for a while, the service doesn't work (but has worked before!).
Can you please try running the service again? We recently moved the
server to Soaplab-2 where we have some changes in the generic input
maps. I have checked in a fix for this problem and updated the server
and will later discuss this issue with Martin for a proper fix that
might go into the soaplab-2 code base.
Regards,
Mahmut
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)
_______________________________________________
EMBOSS mailing list
[email protected]
http://lists.open-bio.org/mailman/listinfo/emboss
_______________________________________________
EMBOSS mailing list
[email protected]
http://lists.open-bio.org/mailman/listinfo/emboss
_______________________________________________
EMBOSS mailing list
[email protected]
http://lists.open-bio.org/mailman/listinfo/emboss