アーティクル - CS343365
ThingWorx で GetEndpointList サービスを実行すると、「ODataConnector で GetEndpointList サービスを呼び出すことができません: ルート交換に失敗しました」というエラーが発生する
修正日: 06-Dec-2024
適用対象
- Windchill PDMLink 11.0 M030-CPS06 to 13.0
- ThingWorx Platform 8.3 to 9.3
- Windchill Navigate (formerly ThingWorx Navigate) 8.5.0 to 9.3
説明
- GetEndpointListサービスを実行すると、UI に以下のエラーが表示されます。
[context: com.thingworx.webservices.context.HttpExecutionContext@xxxxxx][message: Unable to Invoke Service GetEndpointList on <ODataConnector thing> : Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 3 were expected, but only 0 received]]
- 間違ったエンドポイント URL またはタイプミスのあるエンドポイントを呼び出すと、次のエラーが表示されます。
Unable to Invoke Service delete on ptc-windchill-OData-connector : Your route exchange has failed. Service operation failed with status [ - The URI is malformed.]
- ValidateConnectionサービスは200 Okを返します
- 統合ランタイムログには次のエラーが表示されます。
WARN c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://<hostname>/Windchill/servlet/odata/DocMgmt/$metadata with statusCode: 401 WARN c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://<hostname>/Windchill/servlet/odata/IE/$metadata with statusCode: 401 WARN c.t.i.r.o.MetadataAggregator - Failure processing metadata: HTTP operation failed invoking https://<hostname>/Windchill/servlet/odata/ProdMgmt/$metadata with statusCode: 401 ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 3 were expected, but only 0 received] java.lang.RuntimeException: Your route exchange has failed. Resource Error [Failed to aggregate all metadatas, 3 were expected, but only 0 received] at com.twx.integration.route.exceptions.ExceptionHelper.convertToRuntimeException(ExceptionHelper.java:77) at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:159) at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261) at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1120) at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1028) at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:315) at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
最新バージョンはこちらを参照ください CS343365