Thanks a lot! this helped a little.
- I removed Tamino, installed Apache as standalone app, reinstalled Tamino it did not work. I removed Tamino again, installed Apache as a service, reinstalled Tamino and it added an ino handler to the htaccess.conf file.
Now, indeed, I can open a Windows Web Folder at http://localhost:8080/tamino/welcome_4_4_1/ino:dav/ino:dav/ and put there arbitrary files. However, I could not see these files via X-Plorer. The documentation suggests that they should go into ino:dav collection but clicking on it shows a popup with “Unexpected Error” message (I attached the screenshot of the popup below). Nevertheless, once I managed to get access to Tamino through WebDAV, the next step is obviously to define a custom collection and to be able to put instances through WebDAV into this collection. The documentation page “Access from WebDAV to Tamino” suggests that I can change the default WebDAV collection for a folder with a PROPPATCH request. I decided to try this with a sample XML document in HR-XML format. I created a folder called Candidate through Windows Web Folders. I then created a collection Candidate in Tamino, set its XML Schema usage to optional so that XML Schema erros would not get in the way. Afterwards, I did that PROPPATCH request on the Candidate folder at /tamino/welcome_4_4_1/ino:dav/ino:dav/Candidate and put an instance of an HR-XML document to the Candidate folder through Windows Web Folders just to find out that it did not appear in the Candidate collection either. Did I do the right steps? Did I use the right namespace for the PROPPATCH? P.S. See below my PROPPATCH request executed with gawk
sagbmik@pcsagbmik02 ~/Internal/hr-xml/conf $ cat in.xml <?xml version="1.0" encoding="UTF-8" ?> <propertyupdate xmlns="DAV:" xmlns:ino="http://namespaces.softwareag.com/tamino/response2" > <set> <prop> <ino:Candidate/> </prop> </set> </propertyupdate> sagbmik@pcsagbmik02 ~/Internal/hr-xml/conf $ cat setdav.awk BEGIN { Service = "/inet/tcp/0/localhost/8080" RS = ORS = "\r?\n\r?\n+" getline msg < "in.xml" RS = ORS = "\r\n" print "PROPPATCH /tamino/welcome_4_4_1/ino:dav/ino:dav/Candidate HTTP/1.1" |& Service print "Host:localhost" |& Service print "Content-Type: text/xml" |& Service print "Content-Length:" length(msg) |& Service print "" |& Service print msg |& Service while ((Service |& getline) > 0) print $0 close(Service) } sagbmik@pcsagbmik02 ~/Internal/hr-xml/conf $ gawk -f setdav.awk HTTP/1.1 207 Multi-Status Date: Wed, 12 Oct 2005 15:30:30 GMT Server: Apache/2.0.54 (Win32) X-INO-responseWrapper: none Cache-Control: no-cache MS-Author-Via: DAV DAV: 1, 2, access-control, version-control, version-history, checkout-in-place, workspace, working-resource, update, label X-INO-Version: 4.4.1.1 Content-Length: 330 Content-Type: text/xml; charset=UTF-8 <?xml version="1.0" encoding="UTF-8" ?><D:multistatus xmlns:D="DAV:"><D:response><D:href>/tamino/welcome_4_4_1/ino:dav/ino:dav/Candidate</D:href> <D:propstat><D:prop><ino:Candidate xmlns:ino="http://namespaces.softwareag.com/tamino/response2"/></D:prop><D:status>HTTP/1.1 200 OK</D:status></ D:propstat></D:response></D:multistatus> sagbmik@pcsagbmik02 ~/Internal/hr-xml/conf $
a subsequent PROPFIND on the Candidate folder gives the following:
<?xml version="1.0" encoding="UTF-8" ?> <D:multistatus xmlns:D="DAV:"> <D:response> <D:href>/tamino/welcome_4_4_1/ino:dav/ino:dav</D:href> <D:propstat> <D:prop> <D:creationdate>2005-09-09T13:12:38Z</D:creationdate> <D:getlastmodified>Wed, 12 Oct 2005 15:20:48 GMT</D:getlastmodified> <D:modificationdate>2005-10-12T15:20:48Z</D:modificationdate> <D:resourcetype> <D:collection/> </D:resourcetype> <D:getcontentlength>0</D:getcontentlength> <D:getcontenttype>httpd/unix-directory</D:getcontenttype> <D:displayname> </D:displayname> <D:getetag>"00000000000000000"</D:getetag> <D:source> </D:source> <D:owner> <D:unauthenticated/> </D:owner> <ino:collectionproperties xmlns:ino="http://namespaces.softwareag.com/tamino/response2"> <D:auto-version> <D:checkout-checkin/> </D:auto-version> <D:checkin-fork> <D:forbidden/> </D:checkin-fork> <D:checkout-fork> <D:forbidden/> </D:checkout-fork> </ino:collectionproperties> <dp1:Candidate xmlns:dp1="http://namespaces.softwareag.com/tamino/response2"/> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus>
#webMethods#API-Management#Tamino