如何在不使用管理面板的情况下连接 Volusion DB [英] How to connect Volusion DB without using admin panel

查看:19
本文介绍了如何在不使用管理面板的情况下连接 Volusion DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在寻找一种将本地计算机上基于 Java 的 SQL 程序连接到 Volusion 的 SQL 的方法 - 这样我就可以运行报告而无需使用 Volusion 管理区域导入/导出网页.

Looking for a way to connect a java based SQL program on my local computer to Volusion's SQL - so I can run reports without needing to use Volusion admin area import/export web page.

有没有办法做到这一点?

Is there a way to accomplish this?

推荐答案

我找到了一个解决方法.您可以使用任何您想要的 SQL 创建您自己的 API 调用.首先,您需要选择一个要使用的文件名....类似于 MyQuery.然后创建一个名为 MyQuery.xsd 的文件,使用任何文本编辑器对其进行编辑,粘贴 Volusion 的示例 XSD 之一(这里是一个 https://support.volusion.com/hc/en-us/articles/209638947 请注意,此文件必须存在才能使所有这些工作 - 实际布局文件的名称现在不是那么重要——你可以稍后调整它),然后将 XSD 文件通过 FTP 传输到 Volusion 服务器上的/vspfiles/schema/generic 文件夹.

I found a workaround to this. You can create your own API calls with whatever SQL you want. First, you need to choose a filename to use....something like MyQuery. Then create a file named MyQuery.xsd, edit it with any text editor, paste in one of Volusion's sample XSDs (here is one https://support.volusion.com/hc/en-us/articles/209638947 note this file just has to exist in order for all this to work -- the actual layout of the file isn't so important for now -- you can tweak it later), and then FTP the XSD file up to your /vspfiles/schema/generic folder on the Volusion server.

然后您还需要创建一个同名的 .SQL 文件,例如 MyQuery.sql.同样的事情,编辑它,输入你的 SQL 查询,然后将它 FTP 到同一个文件夹.

Then you will also want to create a .SQL file with the same name, like MyQuery.sql. Same thing, edit it, enter your SQL query, and then FTP it to the same folder.

一旦完成,您就可以像调用任何 Volusion API 一样调用 MyQuery..像这样......

Once that's done, you can call MyQuery like any Volusion API call..something like this...

https://www.XXXX.com/net/WebService.aspx?Login=YYYYYYYY&EncryptedPassword=ZZZZZZ&EDI_Name=MyQuery

该 API 调用将返回 SQL 结果集的 XML(采用 XSD 文件的格式).让我知道这是否有意义.祝你好运!

And that API call will return XML of the SQL result set (in the format of your XSD file). Let me know if this makes sense. Good luck!

这篇关于如何在不使用管理面板的情况下连接 Volusion DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆