アーティクル - CS272585

Swagger JSON エラーをフェッチできません: FlexPLM 11.0 FCS で 404

修正日: 26-Dec-2022   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • FlexPLM 11.0 F000

説明

  • FlexPLM で Swagger JSON を取得できない
  • HTTPServer またはメソッド サーバーにエラーはありません。
  • flexplmwebservice.log のエラー
START: 2017-10-19.10:54:19
URL: https://[server]/Windchill/servlet/rest/p76/security/csrf
HTTP CODE: 404
CURL CODE: 0
END:   2017-10-19.10:54:20
:
  • RESTful サービスがプラグインで正しく構成されているかどうかを確認する
    • xconfmanager -d plugin76.rest.resources
E:\ptc\Windchill_11.0\Windchill>xconfmanager -d plugin76.rest.resources
Default product root=E:\ptc\Windchill_11.0\Windchill\bin\..
java -cp "E:\ptc\Windchill_11.0\Windchill\bin\..\codebase;E:\ptc\Windchill_11.0\Windchill\bin\..\codebase\WEB-INF\lib\*;E:\ptc\Windchill_11.0\Windchill\bin\..\lib\*" com.ptc.windchill.structconf.StructConfManager -r "E:\ptc\Windchill_11.0\Windchill\bin\.." -d plugin76.rest.resources
Property information for 'plugin76.rest.resources':
   Multivalued property delimiter: ,
   Values:
   - com.plugin76.rest.security.CSRFService
   -  com.plugin76.rest.security.AuthenticationFilter
   -  com.plugin76.rest.favorites.FavoritesService
   -  com.plugin76.rest.instances.InstancesService
   -  com.plugin76.rest.types.TypesService
   -  com.plugin76.rest.documents.DocumentRestService
   -  com.plugin76.rest.views.ViewRestService
   -  com.plugin76.rest.filters.FilterRestService
   -  com.plugin76.rest.product.ProductRestService
   -  com.plugin76.rest.imagespage.ImagesPageService
   -  com.plugin76.rest.specification.SpecificationRestService
   -  com.plugin76.rest.palette.PaletteRestService
   -  com.plugin76.rest.search.InstanceSearchService
   -  com.plugin76.rest.upload.UploadRestService
   -  com.plugin76.rest.bom.BOMRestService
   -  com.plugin76.rest.materials.MaterialsRestService
   -  com.plugin76.rest.seasons.SeasonsRestService
   Locations:
   - file:/E:/ptc/Windchill_11.0/Windchill/codebase/com/plugin76/rest/plugin76.rest.xconf, line 4
   Target File(s):
   - E:\ptc\Windchill_11.0\Windchill\codebase\com\ptc\windchill\rest\rest.properties

E:\ptc\Windchill_11.0\Windchill>
  • swagger JSON を取得して Plugin76 の接続をテストする
    • エラー: 「Swagger JSON を読み取れません」
  • web.xml ファイルを確認し、残りのサービスを確認します。
    • <サーブレット>
      <description>RESTEasy サーブレット</description>
      <servlet-name>resteasy-servlet</servlet-name>
      <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
      <init-param>
      <param-name>javax.ws.rs.Application</param-name>
      <param-value>com.ptc.windchill.rest.ApplicationConfig</param-value>
      </init-param>
      </サーブレット>
最新バージョンはこちらを参照ください CS272585