如何在不使用管理面板的情况下连接Volusion DB

编程入门 行业动态 更新时间:2024-10-27 08:33:08
本文介绍了如何在不使用管理面板的情况下连接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中(这里有一个 support.volusion/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 support.volusion/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...

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

该API调用将返回SQL结果集的XML(in您的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

本文发布于:2023-11-15 04:25:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1591133.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:面板   情况下   如何在   DB   Volusion

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!