Hi all, I'd appreciate a bit help by using Fedora WebService API. Thank you very much!
I always get the above error message if I try to test API-M ingest method with SOAPUI or with my Eclipse generated Axis2 Client stub. Here is what Im sending to my Fedora 3.4.2 Server through SOAPUI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://www.fedora.info/definitions/1/0/types/" encoding="ISO-88591"> <soapenv:Header/> <soapenv:Body> <typ:ingest> <objectXML>43abd</objectXML> <format>info:fedora/fedora-system:FOXML-1.1</format> <logMessage>Hello Test</logMessage> </typ:ingest> </soapenv:Body> </soapenv:Envelope> (The Soap Envelope was generated by SOAP UI by using the WSDL from API-M). And here are my Testcode in my Java Application (stub of API-M was generated by Axis2): ... Ingest myIngestObject = new Ingest(); try { myIngestObject.setFormat("info:fedora/fedora-system:FOXML-1.1"); myIngestObject.setLogMessage("Ingest von meinem lieblings Koala"); File file = new File("C:/Beispielbilder/Koala.jpg"); DataSource fileDs = new FileDataSource(file); DataHandler dataHandler = new DataHandler(fileDs); myIngestObject.setObjectXML(dataHandler); stub.ingest(myIngestObject); } catch (RemoteException e) { e.printStackTrace(); } ... Thank you for help! Martin. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users