0

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 

しかし、Web ブラウザーでこれを入力すると: 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 サービスを使用していますか?

4

2 に答える 2

3

私のマシンでは、Oracle データベース、P6 バージョン 8.1 Web サービスを備えた Weblogic サーバーを実行しており、この URL は次のとおりです。

http://<hostname>:<port number>/p6ws/services/ActivityCodeAssignmentService?wsdl

最後に付けられた「サービス」という言葉に注意してください。

于 2012-01-02T07:38:33.573 に答える