Re: How to connect from client to Server???
Hi, I don´t know exactly where your error is but here is a code snippet that works for me : Bye, Mark String ServerPath = "http://localhost:8080/slide/files/abc.txt";; org.apache.webdav.lib.WebdavResource resource = null; org.apache.commons.httpclient.HttpURL url1 = new org.apache.commons.httpclient.HttpURL("admin", "admin", "localhost", 8080, "/slide/files"); resource = new org.apache.webdav.lib.WebdavResource(url1); resource.putMethod(ServerPath, "abc"); resource.close(); > Hi Friends, > > I am new this group...i don't the exact work flowi would like to > connect to server from client...but i am getting this error... > > May 9, 2005 5:34:13 PM org.apache.commons.httpclient.HttpMethodDirector > isRedire > ctNeeded > INFO: Redirect requested but followRedirects is disabled > org.apache.commons.httpclient.HttpException > at > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja > va:3467) > at > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja > va:3423) > at > org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java > :967) > at > org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResourc > e.java:912) > at > org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.jav > a:1894) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > 301) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > 320) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > 408) > at > org.apache.webdav.lib.WebdavResource.(WebdavResource.java:290) > at SlideTest.main(SlideTest.java:19) > > > what is the problemhow can i solve this problemwhat is the error i > wrote in this code... > > WebdavResource container = null; > HttpURL hrl = new HttpURL("http://localhost:99/slide/files";); > hrl.setUserinfo("tomcat","tomcat"); > WebdavResource wdr = new WebdavResource(hrl); > container = new WebdavResource(hrl); > if (container == null) > { > throw new Exception("Container WebdavResource is > null!"); > } > container.putMethod("/slide/files/hello.txt", "Hello > world\n"); > > container.close(); > > > Plz help me > > thanks for ur helping.. > Srinivas > > > - > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. -- +++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++ Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
telling the binded resource from the original
Hi all. I wonder if there's a way, using slide client API, to tell a "link" ( a binded resource ) from the one the resource points to . TIA Marco -- Darth Vader! Only you would be so bold! -- Princess Leia Organa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: telling the binded resource from the original
Marco Ferretti wrote: Hi all. I wonder if there's a way, using slide client API, to tell a "link" ( a binded resource ) from the one the resource points to . There is no difference. That's the whole point of having that feature. Best regards, Julian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: telling the binded resource from the original
On Tuesday 10 May 2005 13:04, Julian Reschke wrote: > Marco Ferretti wrote: > > Hi all. > > > > I wonder if there's a way, using slide client API, to tell a "link" ( a > > binded resource ) from the one the resource points to . > > There is no difference. That's the whole point of having that feature. > > Best regards, > > Julian > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Julian thanks for ypur quick reply. I wouldn't be so sure : in fact If I set a notification listener on the "link" and then I modify the source I don't get a notification trigger... but that's might be a feature o something server side I don't understand... -- Don't sweat it -- it's only ones and zeros. -- P. Skelly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NEWBIE: Full Custom Store
It seems that Slide development stalled since Oliver don't actively participate anymore :( What is in the future for Slide? Oliver Zeigermann wrote: Not impolite at all, I understand your reservation. While I am the original author of WCK, I am currently not actively involved in neither developing Slide further nor in any release roadmaps. Sorry... Still when developing your own store you can still have a look at WCK for inspiration as it is a "normal" store implementation as well. E.g. have a look at org.apache.slide.simple.store.WebdavStoreAdapter which extends AbstractXAServiceBase and implements Service, ContentStore, NodeStore, LockStore, RevisionDescriptorStore and RevisionDescriptorsStore Oliver On 5/4/05, Derek Richardson <[EMAIL PROTECTED]> wrote: Yes, I think I would prefer to use WCK, since it's targeted for this purpose (I haven't looked at it yet). However, I am concerned about using it in production without a "final" release. Is there a timeframe for a release that would include WCK? Please excuse the impolite question, but it's critical to my ability to use. ;) Thanks. -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:21 PM To: Slide Users Mailing List Subject: Re: NEWBIE: Full Custom Store Have you considered using WCK instead? Oliver On 5/4/05, Derek Richardson <[EMAIL PROTECTED]> wrote: Hi. I'm new to Slide and am interested in using it to provide webDAV implemented on top of another CMS. I found the IntroFullCustomStore page on the wiki (http://wiki.apache.org/jakarta-slide/IntroFullCustomStore), which details what I need to do. I am confused by the following paragraph: "Anyway, looking at your store this way you have to specify six interfaces - and an optional one - for a complete store definition. Additionally, you will need to implement an XAResource to let your store participate in a distributed transaction. This interface is specified by the JTA and is needed by Slide's internal transaction manager which also is more or less compliant to the JTA. Slide also requires the implementation of org.apache.slide.common.Service. I'd recommend to start from AbstractServiceBase as it sensibly implements many of the methods in Service interface." The six interfaces are later listed as: 1: RevisionDescriptorStore 2: ContentStore 3: RevisionDescriptorsStore 4: NodeStore 5: SecurityStore 6: LockStore According to the above paragraph, I also need to implement Service and XAResource, which makes for eight types to implement and I'm unsure about what is supposed to the the "optional" one that I apparently *must* implement, as well. Will someone clarify this for me? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: telling the binded resource from the original
On Tuesday 10 May 2005 13:04, Julian Reschke wrote: > Marco Ferretti wrote: > > Hi all. > > > > I wonder if there's a way, using slide client API, to tell a "link" ( a > > binded resource ) from the one the resource points to . > > There is no difference. That's the whole point of having that feature. > > Best regards, > > Julian > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Julian thanks for ypur quick reply. I wouldn't be so sure : in fact If I set a notification listener on the "link" and then I modify the source I don't get a notification trigger... but that's might be a feature o something server side I don't understand... -- Don't sweat it -- it's only ones and zeros. -- P. Skelly ___ Hello Skelly, Perhaps the notification trigger knows only about URIs: if the notification is listening to changes on a given resource, identified by an URI, it shouldn't actuate on other resources with different URIs. Anyway, one thing is certain: if you change the link's properties or content, the original resource will change accordingly. Hope this helps, Miguel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: telling the binded resource from the original
On Tuesday 10 May 2005 13:48, Miguel Figueiredo wrote: > Hello Skelly, > > Perhaps the notification trigger knows only about URIs: if the > notification is listening to changes on a given resource, identified by an > URI, it shouldn't actuate on other resources with different URIs. > Anyway, one thing is certain: if you change the link's properties or > content, the original resource will change accordingly. > > Hope this helps, > Miguel Hi Miguel, you might be right about the uri stuff, at least this explains the behaviour I described before . Thanks to all for the help, I really appreciated it Marco -- Often statistics are used as a drunken man uses lampposts -- for support rather than illumination. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help please
Hello, Is there any way implementing this in Java using Slide Webdav? Sub getMessages_OnClick() strUsername = document.all.mailbox.value If strUsername <> "" Then strInboxURL = strProtocol & "://" & strServername & "/Exchange/" strInboxURL = strInboxURL & strUsername & "/" & strInbox Set objXMLHTTP = CreateObject("Microsoft.XMLHTTP") objXMLHTTP.Open "SEARCH", strInboxURL, True objXMLHTTP.setRequestHeader "Content-type:", "text/xml" objXMLHTTP.setRequestHeader "Depth", "1" objXMLHTTP.onReadyStateChange = getRef("checkXMLHTTPState") strXML = "" & _ "" & _ "SELECT" & _ " ""DAV:href""" & _ ",""urn:schemas:httpmail:subject""" & _ " FROM scope('shallow traversal of """ & strInboxURL & """')" & _ " WHERE ""DAV:ishidden""=False" & _ " AND ""DAV:isfolder""=False" & _ "" objXMLHTTP.SetRequestHeader "Range", "rows=0-9" objXMLHTTP.Send(strXML) End If End Sub I'm specially interested in this section: objXMLHTTP.SetRequestHeader "Range", "rows=0-9" What i try to do is to get only the messages in a specified range from an exchange server. Thank you in advance, Attila - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Slide 2.1 and IBM DB2
All, A while back I had some issues getting Slide 2.1 to work with IBM DB2. A problem was occurring when auto-version was turned on. When a new file was PUT it would fail with an unreadable InputStream error. I deduced that this was the same error as described in bug 30317 (http://issues.apache.org/bugzilla/show_bug.cgi?id=30317). Although the issue has been fixed and the code patched in CVS, the bug is still present in the current CVS Head which leads me to think that someone has committed slightly stale code over the patched code. In order to make 2.1 work you must replace: org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.java revision 1.4.2.3 with revision 1.7 (http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-slide/src/stores/org/apache/slide/store/impl/rdbms/CommonRDBMSAdapter.java?rev=1.7) and org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.java revision 1.32.2.4 with revision 1.36 (http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-slide/src/stores/org/apache/slide/store/impl/rdbms/StandardRDBMSAdapter.java?rev=1.36) Then you will need to rebuild the jar files: slide-kernel-2.1.jar and slide-stores-2.1.jar using the supplied ant build file. Hope this helps, Regards -- Ben Sales Open Logic Solutions Limited Woodside, Perry Wood Walk, Worcester, WR5 1ES Tel: ++44 (0) 1905 760950 Fax: ++44 (0) 01905 760951 Email: [EMAIL PROTECTED] URL: http:// www.openlogic.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: telling the binded resource from the original
Hi, the notification extension to Slide was introduced to be kind of MS exchange-compatible. It is not based on an "official" mature webdav-protocol, so there might be some inconsinstencies will notifications and binding. Anybody knows if Exchange supports bindings? Cheers, Daniel "Slide Users Mailing List" schrieb am 10.05.05 13:56:35: > > On Tuesday 10 May 2005 13:48, Miguel Figueiredo wrote: > > Hello Skelly, > > > > Perhaps the notification trigger knows only about URIs: if the > > notification is listening to changes on a given resource, identified by an > > URI, it shouldn't actuate on other resources with different URIs. > > Anyway, one thing is certain: if you change the link's properties or > > content, the original resource will change accordingly. > > > > Hope this helps, > > Miguel > > > Hi Miguel, > > you might be right about the uri stuff, at least this explains the behaviour > I > described before . > > > Thanks to all for the help, I really appreciated it > > > Marco > > > -- > Often statistics are used as a drunken man uses lampposts -- for support > rather than illumination. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]