在Primavera P6上安装了很多web服务。WSDL: ActivityCodeAssignment.wsdl
主键字段:由以下几个元素组成的多部分键:
ActivityObjectId
ActivityCodeTypeObjectId目标命名空间:http://xmlns.oracle.com/Primavera/P6/WS/ActivityCodeAssignment/V1
默认传输URL:
http://<hostname>:<port number>/p6ws/services/ActivityCodeAssignment?wsdl
https://<hostname>:<port number>/p6ws/services/ActivityCodeAssignment?wsdl 但是如果我在网络浏览器上输入这个:http://my-machine:7005/p6ws/services/ActivityCodeAssignment?wsdl
它显示“未找到任何服务”。
如果我尝试在Visual Studio中添加服务引用,它会显示。
There was an error downloading 'http://my-machine:7005/p6ws/services/ActivityCodeAssignment?wsdl'.
The request failed with HTTP status 404: Not Found.
Metadata contains a reference that cannot be resolved: 'http://my-machine:7005/p6ws/services/ActivityCodeAssignment?wsdl'.
There was no endpoint listening at http://my-machine:7005/p6ws/services/ActivityCodeAssignment?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote server returned an error: (404) Not Found.
If the service is defined in the current solution, try building the solution and adding the service reference again.P6是否在使用一些不同的web服务?
发布于 2012-01-02 15:38:34
在我的机器上,运行Oracle数据库,带有P6版本8.1Web Services的Weblogic服务器,其网址是:
http://<hostname>:<port number>/p6ws/services/ActivityCodeAssignmentService?wsdl请注意“服务”一词的末尾。
发布于 2013-03-31 23:17:55
不确定您使用的是哪个版本的P6。
首先,请检查根web服务URL是否正常工作:
http://hostname:port/p6ws
如果没有,您可能需要检查您的P6网络服务是否正确安装和部署。
这是7.0版的P6网络服务管理员指南:
http://docs.oracle.com/cd/E16281_01/Technical_Documentation/Web_Services/wsadmin.pdf
如果您可以访问根http://host:port/p6ws/services/ActivityService?wsdl和其他端点,如ActivityService web服务而不是ActivityCodeAssignmentService,但您想要使用它,则可能需要通过以下步骤构建您自己的WS存根:
希望它能帮助你,
瑜伽
https://stackoverflow.com/questions/7614384
复制相似问题