Translated message

A translation of this page exists in English.

EAP 6 における CXF エラー: unexpected element (uri:"uri:someNamespace", local:"operationName"). Expected elements are <{}operationName>

Solution Verified - Updated -

Issue

  • EAP 6.2.x にアップグレードすると、エンドポイントが以下のエラーを出力しはじめます。
unexpected element (uri:"http://webservice/service/MyWebService/data/schema", local:"operationName1"). 
Expected elements are <{}operationName1>,<{}operationName2>,<{}operationName3>
  • 以下のようなデフォルトの名前空間を再定義し、JAX-WS ハンドラーが設定されると Parse エラーが始まります。
<a xmlns="someNamespace">
  <b xmlns=""/>
</a>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.2 - 6.2.4
    • 6.3.0 - 6.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content