[MOBY-dev] Error reading services

JoseLuis de la Rosa joseluisdelarosa at gmail.com
Thu May 14 18:05:19 UTC 2009


Hello all,

I am newbie using biomoby and I am trying to read the registry using these
statements:

String endpoint = "http://moby.ucalgary.ca/moby/MOBY-Central.pl";
String cache = "cachemoby";
String namespace = "http://moby.ucalgary.ca/moby/MOBY-Central";

CentralDigestCachedImpl cdci = new
org.biomoby.client.CentralDigestCachedImpl(endpoint, namespace, cache);
System.out.println(cdci.getFullServiceTypes().length);

However I am getting this error:

Exception in thread "main" org.biomoby.shared.MobyException: ===ERROR===
Fault details:
[stackTrace: null]
[hostname: null]
Fault string: Failed to access class (moby::MOBY-Central) at
/opt/coolstack/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2473, <IN> line
54.

Fault code:   {http://schemas.xmlsoap.org/soap/envelope/}Client
Fault actor:  null
When calling:
    http://moby.ucalgary.ca/moby/MOBY-Central.pl
===========

   at
org.biomoby.client.CentralDigestCachedImpl.fillServiceTypesCache(CentralDigestCachedImpl.java:676)
   at
org.biomoby.client.CentralDigestCachedImpl.readServiceTypes(CentralDigestCachedImpl.java:872)
   at
org.biomoby.client.CentralDigestImpl.getFullServiceTypes(CentralDigestImpl.java:283)
   at com.swstranslator.app.App.main(App.java:90)
Caused by: org.biomoby.shared.MobyException: ===ERROR===
Fault details:
[stackTrace: null]
[hostname: null]
Fault string: Failed to access class (moby::MOBY-Central) at
/opt/coolstack/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2473, <IN> line
54.

Fault code:   {http://schemas.xmlsoap.org/soap/envelope/}Client
Fault actor:  null
When calling:
    http://moby.ucalgary.ca/moby/MOBY-Central.pl
===========

   at org.biomoby.client.CentralImpl.doCall(CentralImpl.java:223)
   at
org.biomoby.client.CentralImpl.getServiceTypesAsXML(CentralImpl.java:859)
   at
org.biomoby.client.CentralDigestCachedImpl.fillServiceTypesCache(CentralDigestCachedImpl.java:601)
   ...3 more
Caused by: Failed to access class (moby::MOBY-Central) at
/opt/coolstack/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2473, <IN> line
54.

   at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
   at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
   at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
   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.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.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(libgcj.so.90)
   at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
   at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
   at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
   at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
   at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
   at org.apache.axis.client.Call.invoke(Call.java:2702)
   at org.apache.axis.client.Call.invoke(Call.java:2378)
   at org.apache.axis.client.Call.invoke(Call.java:2301)
   at org.biomoby.client.CentralImpl.doCall(CentralImpl.java:219)
   ...5 more


Can anyone give me any hint about what I am doing wrong?

Thanks in advance



More information about the MOBY-dev mailing list