转帖 SAP DotNet Connector
http://shenpng.spaces.live.com/blog/cns!1D0E64711A893004!2613.entry
SAP DotNet Connector
SAP DotNet Connector最新版本2.0只能支持Visual Studio2003,即dotNet framework1.1。但可以将生成的代理类封装好给Visual Studio更高版本使用。使用DotNet调用BAPI就像Web Dynpro那么简单。
Browse BAPI
Proxy Class
SAP Proxy toolbar
---
两个Oracle数据库共存在一个listener。
修改配置文件,重起服务器。
E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
listener.ora
####
ADMIN_RESTRICTIONS_LISTENER = on
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = OSBU-FS)(PORT = 1527) )
)
)
###
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = NW7)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
)
(SID_DESC =
(SID_NAME = NW2)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
)
)
####
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = OSBU-FS)(PORT = 1527) )
)
)
###
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = NW7)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
)
(SID_DESC =
(SID_NAME = NW2)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
)
)
####
and tnsname.ora
###
NW2.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = osbu-fs)(PORT = 1527))
)
(CONNECT_DATA =
(SERVICE_NAME = NW2)
)
)
NW2.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = osbu-fs)(PORT = 1527))
)
(CONNECT_DATA =
(SERVICE_NAME = NW2)
)
)
NW7.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = OSBU-FS)(PORT = 1527))
)
(CONNECT_DATA =
(SID = NW7)
(GLOBAL_NAME = NW7.WORLD)
)
)
###
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = OSBU-FS)(PORT = 1527))
)
(CONNECT_DATA =
(SID = NW7)
(GLOBAL_NAME = NW7.WORLD)
)
)
###