Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Laura delli Paoli writes: Thanks a lot, now it works! the problem was that i tried to ingest the same object twice so i got an error! thank you a lot!! Laura -- Colocation vs. Managed Hosting A question and answer guid

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Laura delli Paoli writes: > > Steve Bayliss writes: > > > > > Hi Laura > > > > If you take a look at the instructions here: > > > > https://wiki.duraspace.org/display/FCR30/Installation+and+Configuration+Guid > > e > > > I don't know what happened, but in a while it stopped working and fa

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Laura delli Paoli writes: > > Steve Bayliss writes: > > > > > Hi Laura > > > > If you take a look at the instructions here: > > > > https://wiki.duraspace.org/display/FCR30/Installation+and+Configuration+Guid > > e > > > > Thanks a lot Steve, I'll try it immediately! > Laura > Thanks a l

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Steve Bayliss writes: > > Hi Laura > > If you take a look at the instructions here: > > https://wiki.duraspace.org/display/FCR30/Installation+and+Configuration+Guid > e > Thanks a lot Steve, I'll try it immediately! Laura

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Steve Bayliss
mailto:laura-...@hotmail.it] > Sent: 12 March 2011 10:53 > To: fedora-commons-developers@lists.sourceforge.net > Subject: Re: [fcrepo-dev] A simple SOAP Client > > > Steve Bayliss writes: > > > > > Also could you supply a copy of your > $CATALINA

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Steve Bayliss writes: > > Also could you supply a copy of your $CATALINA_HOME/conf/server.xml and your > $FEDORA_HOME/install/server.xml files > This in $FEDORA_HOME/install/server.xml:

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Steve Bayliss writes: > > Also could you supply a copy of your $CATALINA_HOME/conf/server.xml and your > $FEDORA_HOME/install/server.xml files > This is $CATALINA_HOME/conf/server.xml

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Steve Bayliss
gt; Subject: Re: [fcrepo-dev] A simple SOAP Client > > > Steve Bayliss writes: > > > > > Hi Laura > > > > Can you supply a copy of your > $FEDORA_HOME/install/install.properties file. > > > > Thanks > > Steve > > > Here'

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Steve Bayliss writes: > > Hi Laura > > Can you supply a copy of your $FEDORA_HOME/install/install.properties file. > > Thanks > Steve > Here's my install.properties file. Thank you! Laura #Install Options #Fri Mar 11 19:04:33 CET 2011 keystore.file=default ri.enabled=true messaging.enabled=

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Steve Bayliss
Hi Laura Can you supply a copy of your $FEDORA_HOME/install/install.properties file. Thanks Steve > -Original Message- > From: Laura delli Paoli [mailto:laura-...@hotmail.it] > Sent: 12 March 2011 08:13 > To: fedora-commons-developers@lists.sourceforge.net > Subject: Re:

Re: [fcrepo-dev] A simple SOAP Client

2011-03-12 Thread Laura delli Paoli
Steve Bayliss writes: > > Hi Laura > > When trying the API-M requests, try setting the URL to the https endpoint, > ie https://localhost:8443 at the beginning rather than http://localhost:8080 > > Steve > https://localhost:8443/fedora 12-mar-2011 9.12.13 org.apache.commons.httpclient.HttpMeth

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Steve Bayliss
; To: fedora-commons-developers@lists.sourceforge.net > Subject: Re: [fcrepo-dev] A simple SOAP Client > > > writes: > > > > > A further suggestion: have you tried executing an > API-A request? If you can > successfully so do, it may be > > that the probl

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
Scott Prater writes: > > Good idea, Steve. I'll take a look at those issues. > Can you explain me how to apply your suggestions??? -- Colocation vs. Managed Hosting A question and answer guide to determining the be

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > A further suggestion: have you tried executing an API-A request? If you can successfully so do, it may be > that the problem is with authentication (as has been suggested). If not, then at least you can rule that > out, assuming that you did not enable https-only access to API-

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > A further suggestion: have you tried executing an API-A request? If you can successfully so do, it may be > that the problem is with authentication (as has been suggested). If not, then at least you can rule that > out, assuming that you did not enable https-only access to API-A w

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Scott Prater
edora-commons-developers@lists.sourceforge.net >> Subject: Re: [fcrepo-dev] A simple SOAP Client >> >> >> +1. Part of my standard in-house install is to edit the >> FEDORA_HOME/server/bin/env-server.sh and >> FEDORA_HOME/client/bin/env-client.sh to manuall

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
A further suggestion: have you tried executing an API-A request? If you can successfully so do, it may be that the problem is with authentication (as has been suggested). If not, then at least you can rule that out, assuming that you did not enable https-only access to API-A when you installed F

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > Which indicates that your repo seems to be functioning fine. I haven't much help to offer for the error > you're receiving, except to note that you're receiving a rather low-level exception > "java.net.ConnectException: Connection refused" from > java.net.PlainSocketImpl.socketC

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
Which indicates that your repo seems to be functioning fine. I haven't much help to offer for the error you're receiving, except to note that you're receiving a rather low-level exception "java.net.ConnectException: Connection refused" from java.net.PlainSocketImpl.socketConnect(), which implies

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > If you're using a browser like Firefox, it may be showing you only the text content of the XML being returned > from that address. Does the source (shown via View->Page Source) contain more? > I use Chrome. The source of the page is: http://www.w3.org/2001/XMLSchema-instance"; x

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
If you're using a browser like Firefox, it may be showing you only the text content of the XML being returned from that address. Does the source (shown via View->Page Source) contain more? --- A. Soroka Online Library Environment the University of Virginia Library On Mar 11, 2011, at 1:15 PM

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
Matthew Stephens writes: > > Now I've installed fedora and tomcat again so I can answer you question more carefully! > 1. Is Tomcat running, i.e., can you see the welcome page > http://localhost:8080 in a web browser? Yes it is! > > 2. Is Fedora running: can you see > http://localhost:8080

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
Matthew Stephens writes: > > We're getting to the point where there are a great many > suggestions/considerations on the table. Perhaps we should eliminate > what we can: Now I'm installing again both fedora and Tomcat! I tried to use the tomcat version included in fedora but i failed point 1

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Matthew Stephens
thought, could this be because the fedora-supplied certificate is not > trusted? > >> -Original Message- >> From: Laura delli Paoli [mailto:laura-...@hotmail.it] >> Sent: 11 March 2011 15:38 >> To: fedora-commons-developers@lists.sourceforge.net >> Subje

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Steve Bayliss
Just a thought, could this be because the fedora-supplied certificate is not trusted? > -Original Message- > From: Laura delli Paoli [mailto:laura-...@hotmail.it] > Sent: 11 March 2011 15:38 > To: fedora-commons-developers@lists.sourceforge.net > Subject: Re: [fcrepo-dev

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > When you say "it doesn't work", what did you try to do and what message did you receive? When you say you > "reboot[ed your] system" do you mean you restarted Tomcat (which you > shouldn't have to do) or that you > rebooted your entire system (which you also shouldn't have to do)

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
When you say "it doesn't work", what did you try to do and what message did you receive? When you say you "reboot[ed your] system" do you mean you restarted Tomcat (which you shouldn't have to do) or that you rebooted your entire system (which you also shouldn't have to do)? --- A. Soroka Onl

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Steve Bayliss
s for stuff. Steve > -Original Message- > From: Scott Prater [mailto:pra...@wisc.edu] > Sent: 11 March 2011 15:12 > To: fedora-commons-developers@lists.sourceforge.net > Subject: Re: [fcrepo-dev] A simple SOAP Client > > > +1. Part of my standard in-house install

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > Also, your CATALINA_HOME needs to point to your actual Tomcat installation, which, based on your earlier > emails, seems to be "C:\Tomcat 7.0", not "C:\Tomcat" as you have it below. I edited these variables and reboot my system bat it doesn't work! bye Laura --

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Scott Prater
+1. Part of my standard in-house install is to edit the FEDORA_HOME/server/bin/env-server.sh and FEDORA_HOME/client/bin/env-client.sh to manually set the location of the webapps directory (I like to keep the webapps separate from the application server install -- makes upgrading application se

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
Also, your CATALINA_HOME needs to point to your actual Tomcat installation, which, based on your earlier emails, seems to be "C:\Tomcat 7.0", not "C:\Tomcat" as you have it below. --- A. Soroka Online Library Environment the University of Virginia Library On Mar 11, 2011, at 9:59 AM, Laura d

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
That WEBAPP_NAME seems to be wrong. The webapp name is the context-name under which the Fedora webapp is running inside your servlet container. So assuming you took the default, and that you expect to find your webapp answering requests at "http://localhost:8080/fedora";, the WEBAPP_NAME will ju

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > It looks fine. Did you set CATALINA_HOME to the base directory of your Tomcat instance before trying to use > the command-line utilities? > CATALINA_HOME is C:\Tomcat! Is it ok? the other env variables are: CLASSPATH ->D:\Università\Tesi\Applicazione\SimpleServer\bin FEDORA_H

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
It looks fine. Did you set CATALINA_HOME to the base directory of your Tomcat instance before trying to use the command-line utilities? --- A. Soroka Online Library Environment the University of Virginia Library On Mar 11, 2011, at 9:51 AM, Laura delli Paoli wrote: > writes: > >> >> This

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > This _may_ be a problem we have often discovered: > > If you look in env-server.sh, you will see the line: > > webinf="$CATALINA_HOME"/webapps/$webapp_name/WEB-INF > > encoding the assumption that the Fedora webapp can be found in "$CATALINA_HOME/webapps". If you have > already

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
This _may_ be a problem we have often discovered: If you look in env-server.sh, you will see the line: webinf="$CATALINA_HOME"/webapps/$webapp_name/WEB-INF encoding the assumption that the Fedora webapp can be found in "$CATALINA_HOME/webapps". If you have already set CATALINA_HOME to the base

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
writes: > > I may have missed this info in a previous email of yours, >but are you using the Tomcat container that is > included with Fedora, or a servlet container that >was already installed on your >system? > Hi! I use a previous installation of Tomcat(7.0) Thanks Laura -

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread ajs6f
I may have missed this info in a previous email of yours, but are you using the Tomcat container that is included with Fedora, or a servlet container that was already installed on your system? --- A. Soroka Online Library Environment the University of Virginia Library On Mar 11, 2011, at 9

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
Matthew Stephens writes: > > Hi Laura, > > The connection might be refused because your client isn't authorized > to do API-M methods to your fedora server. I would do a test ingest > from the command line, once from the client, once from the server, and > see if the client is similarly refuse

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Matthew Stephens
Hi Laura, The connection might be refused because your client isn't authorized to do API-M methods to your fedora server. I would do a test ingest from the command line, once from the client, once from the server, and see if the client is similarly refused access. If so, you could tweak your con

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
Laura delli Paoli writes: > > Steve Bayliss writes: > Thanks a lot! I added a number of libraries to my path andin started working! The next step in my object consists of adding a simple abject to my repository. I took as exmaple the DemoSOAPClient that you ca find in FEDORA_HOME\client\demo

Re: [fcrepo-dev] A simple SOAP Client

2011-03-11 Thread Laura delli Paoli
Steve Bayliss writes: > > Hi Laura > > It looks like the required library isn't on your classpath. > > Regards > Steve > Thanks a lot!! -- Colocation vs. Managed Hosting A question and answer guide to determining

Re: [fcrepo-dev] A simple SOAP Client

2011-03-10 Thread Steve Bayliss
Hi Laura It looks like the required library isn't on your classpath. Regards Steve -Original Message- From: Laura delli Paoli [mailto:laura-...@hotmail.it] Sent: 10 March 2011 13:14 To: fedora-commons-developers@lists.sourceforge.net Subject: [fcrepo-dev] A simple SOAP Client

[fcrepo-dev] A simple SOAP Client

2011-03-10 Thread Laura delli Paoli
Hi! I was trying this simple example: import java.net.MalformedURLException; import org.fcrepo.client.FedoraClient; import org.fcrepo.common.Constants; import org.fcrepo.server.management.FedoraAPIM; import org.fcrepo.server.access.FedoraAPIA; /** * @author Laura * */ public class SOAPClient