当前位置:网站首页>IIS上部署webService
IIS上部署webService
2022-07-19 16:48:00 【顾十方】
场景:
编写某接口时,提供了一个webService的服务,需要调用其中的一个dll文件中的方法来实现该接口,由于该dll文件是32位的,而项目的jdk版本是64位,如果要直接引用,需要将项目的jdk版本改为32位才行;所以采取将该webService部署到IIS服务上,java直接调用该服务中的方法即可。
实现:
首先在控制面板->程序->启用或关闭windows功能中开启服务,全部勾选
然后将上面的webservice发布后的包,放在磁盘上某路径下
然后控制面板->系统和安全->管理工具
Internet Information Service(IIS)管理器
左边菜单右键添加网站,输入本机的IP地址和webService的存放路径
点击浏览即可查看接口
若出现报错:
1.出现500.19 0x80070005错误,此错误是需要给webService添加权限
解决:
1.点击编辑权限
2.安全->编辑->添加->输入IIS_IUSRS->检查名称
3.若此时出现401.3错误,需要授予权限
4.编辑权限->安全->编辑->添加->高级->立即查找->ISUR->确定->添加完全控制,修改权限->确定
5.访问成功!
边栏推荐
- 给自己搭建一个极致简陋但足够好用的羞图站
- cobbler離線安裝
- 第八章IO
- 批量下载数据——以TRMM数据为例
- Browser compatibility problems and common solutions
- Is there a shortcut to the success of the test post? I tell you, the only shortcut is not to take detours
- JSR303数据校验
- Fill polygon with MATLAB
- R语言“Error in nls 循环次数超过了50”解决方案
- 【terminal】x86 Native Tools Command Prompt for VS 2017
猜你喜欢
ArcGIS自定义坐标系统(以Albers为例)
The white paper on the development of distributed storage (2022) issued by the ICT Institute: Huayun data participated in the preparation to speed up the development of the industry
TRMM Precipitation Data Download steps
error: redefinition of
Pycharm Debug错误“Process finished with exit code -1073741819 (0xC0000005)”解决方案
ArcGIS导出地图后部分图例不显示
go-fastDFS 分布式文件系统搭建(实现梳理)
Download method of European Meteorological Center data (ERA)
go语言环境搭建和样例
There are 13 steps to install pychart, isn't it? (super detailed tutorial)
随机推荐
Matlab TRMM_ 3b42 data format conversion (NC to TIF, with code)
mysql远程登录
教你使用CANN将照片一键转换成卡通风格
批量下载数据——以TRMM数据为例
Implementation scheme of importing thinkphp6 million xlsx tables into the database
“蔚来杯“2022牛客暑期多校训练营1 补题题解(未完成)
Arcpy batch conversion data projection (taking Albers as an example)
MATLAB realizes the wind speed conversion of tropical cyclone in different wind periods
Matlab数据写入文件常用函数
第十章:线程
MSWEP数据nc格式转tif格式
__str__输出类
Matlab填充影像中的无效值
150. 逆波兰表达式求值
R语言“Error in nls 循环次数超过了50”解决方案
TRMM Precipitation Data Download steps
The power behind | strengthen the construction of digital government, and Huayun data helps the Civil Affairs Department of a province in Central China improve its convenience service capacity
kubernates-1.24.2 (最新版) + containerd + nexus 尝鲜
Matlab计算两点(经纬度坐标)距离(大弧法和Haversine法)
If the total is based on the frame form by field, sort by a field