简体   繁体   English

连接到不同的网络以访问数据库信息

[英]Connecting to different networks to access database information

Any suggestions would help. 任何建议都会有所帮助。 The issue is, I have ETL applications that need to access database information located on a different network. 问题是,我有ETL应用程序,需要访问位于其他网络上的数据库信息。 So one C# application needs to query a database located on a different server. 因此,一个C#应用程序需要查询位于另一台服务器上的数据库。 Now I know the options are to open up a tcp port on the host and open up the firewall but I don't think we will go for that. 现在我知道选项是在主机上打开一个tcp端口并打开防火墙,但我认为我们不会这样做。 Other option I was thinking was to create a web service WCF and pass query string to the service and then connect to the database and return the info. 我当时想到的另一个选择是创建一个Web服务WCF,并将查询字符串传递给该服务,然后连接到数据库并返回信息。

Another application needs to access dynamics AX to a AIF web service. 另一个应用程序需要将动态AX访问AIF Web服务。 Can aif web services be accessed across different networks or would I have to use a web service or something and then connect to the AIF service to retrieve information. 可以通过不同的网络访问aif Web服务吗?或者我必须使用Web服务或其他东西,然后连接到AIF服务以检索信息。

Another application needs to access dynamics AX to a AIF web service. 另一个应用程序需要将动态AX访问AIF Web服务。 Can aif web services be accessed across different networks or would I have to use a web service or something and then connect to the AIF service to retrieve information. 可以通过不同的网络访问aif Web服务吗?或者我必须使用Web服务或其他东西,然后连接到AIF服务以检索信息。

IF you need to access AIF only in Intranet, you can do that with normal AIF services (They use RCP, I think but cannot assure just now). 如果只需要在Intranet中访问AIF,则可以使用常规AIF服务(我认为它们使用RCP,但现在不能保证)来实现。

If you need to access AIF via extranets or Internet, the best option is usually to create and Advanced AIF Port of HTTP type. 如果您需要通过Extranet或Internet访问AIF,最好的选择通常是创建HTTP类型的高级AIF端口。 This will create a standard Web Service, with SOAP protocol and a proper WSDL available for it. 这将创建一个具有SOAP协议的标准Web服务,并为其提供适当的WSDL。 Be careful in securing these webservices properly, specially in production environments. 小心确保正确地保护这些Web服务,尤其是在生产环境中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM