Jump to content

Enterprise Edition - Web Client/WebDAV setup


This topic is 4070 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm trying to reconfigure Web Client and WebDAV access for DocuBin Enterprise Edition on my FileMaker Server 11 machine running Mac OS X 10.6.8 with the OS X-native PHP installation and manually added FileMaker API for PHP, in a single machine server deployment, with HTTP on alternate port 800. DocuBin Enterprise Edition has been activated successfully.

 

Via a web browser, I'm able to get to the page locally at http://127.0.0.1:800/DocuBin/ and via the external IP address. But when I click on the manage files link, I get a page with the error message:

 

 

Unable to establish Web Services connection to DocuBin. Check the URL http://localhost/websvcmgr_docubin.php?wsdl from the server computer to see if it responds correctly.
 
Error message: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost/websvcmgr_docubin.php?wsdl. It failed with: Connection refused.

 

When I go to http://127.0.0.1:800/websvcmgr_docubin.php?wsdl, I get:

 

Method that returns the SuperContainer BaseURL,and optionally, the Hosting Subroot , Username, and Password.Returns modification date, name, type (0=Folder; 1=File), file size, SuperContainer relative URL.Returns the same as GetItemShortInfo, but includes a portal with data on child items. Does not include deleted items.Returns 0 (did lock)Returns 0 (did unlock)Returns: 1) a SuperContainer path, and 2) 1 or 0 indicating whether the file will be overwritten.Notifies DocuBin that a file has been uploaded to a SuperContainer path. We pass in several optional parameters so we do not not need to run plugin functions on the server. Required parameters: path, fileSize, superContainerPath, modTimestamp Optional parameters: textContents, pageCount, height, width Returns: 0 for a new DocuBin file, 1 for a new Version of an existing DocuBin file.Return 0 if the upload was cancelled.Returns 1 (marked as deleted)Returns 1 (the folder was created, or already exists)Move a record. Returns 0 if the file was successfully moved. Returns 1 if the file was moved, the script was set to override, and a record had to be deleted.Enter a description of this method and how it functions here.Service for making calls to DocuBin.

 

Here's what's in the websvcmgr.log:

 

 

v1.5 Sat Feb 2 11:13:01 EST 2013    Raw XML request: 
v1.5 Sat Feb 2 11:13:01 EST 2013    <img src="http://www.360works.com/images/logo.gif" alt="360Works Logo" style="float:left; padding-right:30px;" /><span style="font:larger, bold;">Welcome to the 360Works Web Services Manager.</span>
<a href="http://localhost:800/websvcmgr_docubin.php?wsdl">Click here</a> to view a Web Service Description Language (wsdl) file describing enabled operations and services. 
For additional product support, please refer to the documentation located in the Getting Started section of the Web Services Manager.fp7 file, or check out the <a href="http://www.fmforums.com/forum/showforum.php?fid/221/keyword/360works/">360Works Product Forum</a>.
#0 /Library/WebServer/Documents/websvcmgr_docubin.php(1290): Logger->soapTransactionFileHandle('')
#1 /Library/WebServer/Documents/websvcmgr_docubin.php(2437): Logger->requestLog('')
#2 {main}
v1.5 Sat Feb 2 11:13:03 EST 2013    Wrote cache file to /var/tmp/getsysteminfo.cache
v1.5 Sat Feb 2 11:13:04 EST 2013    Wrote cache file to /var/tmp/getitemshortinfo.cache
v1.5 Sat Feb 2 11:13:04 EST 2013    Wrote cache file to /var/tmp/getitemandchildrenshortinfo.cache
v1.5 Sat Feb 2 11:13:04 EST 2013    Wrote cache file to /var/tmp/lockitem.cache
v1.5 Sat Feb 2 11:13:04 EST 2013    Wrote cache file to /var/tmp/unlockitem.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/willupload.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/didupload.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/cancelupload.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/markdeleted.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/makefolder.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/moveitem.cache
v1.5 Sat Feb 2 11:13:05 EST 2013    Wrote cache file to /var/tmp/getitemfullinfo.cache
 

 

 

I'm not sure what else to try. I've restarted the web server and web publishing a few times.
 
I'd appreciate any help you can provide.
 
Thanks,
Ben
Link to comment
Share on other sites

Try this Ben,
 
Open the file:
 
  • /FileMaker Server/Web Publishing/publishing-engine/wpc-tomcat/conf/Catalina/localhost/DocuBin.xml
 
And modify the address 'localhost' to the address of your Web Server. Be careful because there may be a commented line, and modifying localhost on that line won't do anything:
 

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/">
   <!-- <Parameter name="wsmAddress" value="
http://localhost/websvcmgr_docubin.php
"/>-->
    <Parameter name="wsmAddress" value="
http://
localhost
/websvcmgr_docubin.php
"/>
    <Parameter name="filesRoot" value=""/>
    <Parameter name="authenticationRealm" value="DocuBin" />
</Context>

Link to comment
Share on other sites

Thanks, Michael.

 

I did that and I get a slightly different error now (error 500):

 

 

Unable to establish Web Services connection to DocuBin. Check the URL http://localhost:800/websvcmgr_docubin.php?wsdl from the server computer to see if it responds correctly.

 

Error message: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:800/websvcmgr_docubin.php?wsdl. It failed with: Server returned HTTP response code: 500 for URL: http://localhost:800/websvcmgr_docubin.php?wsdl.

 

I should say that after I posted, I redeployed the server installing the PHP installation provided by FileMaker and reinstalled from the most recent version of Enterprise Edition that I had.

 

And now when I go to http://localhost:800/websvcmgr_docubin.php?wsdl, I just get a blank screen. And there's no websvcmgr.log file.

 

Thanks,

Ben

Link to comment
Share on other sites

Well, this is weird now, too. When I try the Custom Web Publishing test page, I get this error:

 

 

The PHP connection to the FMServer_Sample database failed.    


The Web Publishing Engine is refusing connections. Make sure the web server is started and try again.

     (Error 7; Running out of memory)              

 

 

I restarted the entire machine and same thing. 

Link to comment
Share on other sites

I'm not sure I understand the question.

 

I changed the httpd.conf doc to listen on port 800.

 

When I go to localhost:800 in a web browser, I get a web page that says "It works!"

 

When I go to localhost:800/DocuBin, I see "DocuBin" and link to "Manage Files". But now when I click "Manage Files" (to go to http://localhost:800/DocuBin/files/), I just a get a 404 page: 

Not Found

The requested URL /DocuBin/files/ was not found on this server.

Link to comment
Share on other sites

OK, now I'm not getting the web publishing error. But I am still getting a blank page when I go to the websvcmgr_docubin.php page and when I go to http://localhost:800/DocuBin/files/ I get this message:

 

 

Unable to establish Web Services connection to DocuBin. Check the URL http://localhost:800/websvcmgr_docubin.php?wsdl from the server computer to see if it responds correctly.

Error message: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:800/websvcmgr_docubin.php?wsdl. It failed with: Server returned HTTP response code: 500 for URL: http://localhost:800/websvcmgr_docubin.php?wsdl.

 

 

I followed all of the directions here:

http://docs.360works.com/index.php/DocuBin_Enterprise_Edition

 

Except my path to DocuBin.xml is: /Library/FileMaker Server/Web Publishing/publishing-engine/cwpe-tomcat/conf/Catalina/localhost/DocuBin.xml

 

Also, do I just need to change "localhost" in that XML file to localhost:800 or should I use the IP address or should use 127.0.0.1 like it is in the websvcmgr_docubin.php file?

 

Does it make a difference if I use the internal or external IP address when I deploy the web server in the FM Admin Console?

 

Not sure where to go from here.

Link to comment
Share on other sites

Thanks for pointing out the typo in our documentation- it is now pointing to the correct tomcat path on FileMaker Server 11. You should only need to add the port number to the DocuBin.xml file.

 

Single machine deployments of FileMaker Server should use the private ip address of the web server. Two and three machine deployments would also use private ip address unless there was a firewall between the database and web server machine.

 

Is your custom web publishing test page working for php?

Link to comment
Share on other sites

Yes, all my test pages are working.

 

I have DocuBin.xml using the private IP address now. That is what is also being used in the web server deployment in the Admin Console.

 

Do I need to change 127.0.0.1 to the local IP address on the websvcmgr_docubin.php page, too?



Could this have anything to do with Apple Java update that happened on Feb. 1?

Link to comment
Share on other sites

Actually both of those addresses are working.

 

But I just changed DocuBin.xml to 127.0.0.1 (restarted web server and web publishing) and nothing changed. Still getting "Unable to establish Web services connection to DocuBin" and still getting a blank screen when I go to http://127.0.0.1:800/websvcmgr_docubin.php?wsdl .

 

Any other things to try?

 

And there's no way it has anything to do with the Apple Java update messing up Java on the server?

Link to comment
Share on other sites

The DocuBin.xml file and the websvcmgr_docubin.php file should point to the same address (and port number).

 

Is http://127.0.0.1:800...ocubin.php?wsdl returning a completely blank page, or is there an error too?

 

If 127.0.01 is not working, try using the internal ip address (and port number)

Link to comment
Share on other sites

This topic is 4070 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.