在Primavera P6上安裝了許多Web服務。 WSDL:ActivityCodeAssignment.wsdl在.net中使用p6 web服務
主鍵:由以下元素組成的多部分密鑰:
ActivityObjectId
ActivityCodeTypeObjectId
目標命名:http://xmlns.oracle.com/Primavera/P6/WS/ActivityCodeAssignment/V1
默認傳輸網址:
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服務?