JMS バインディングまたは MQ JMS バインディングで発生した問題を診断し、修正することができます。
XML スキーマにグローバル・エレメントなしで定義されたタイプがある場合、JMS バインディング (JMSDataBindingImplXML および JMSDataBindingImplJava) はこのタイプをエレメントに解決できません。
スキーマ:
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ibm.com" xmlns:tns="http://www.ibm.com"> <!-- global element required but missing --> <complexType name="Quote"> <sequence> <element name="symbol" type="string"></element> <element name="price" type="float"></element> </sequence> </complexType> </schema>
以下のような例外を受信した場合、
com.ibm.websphere.sca.ServiceRuntimeException: caused by: java.lang.IllegalArgumentException: {Quote}Quote is not corresponding to a global element.
または
[8/25/06 10:20:40:938 PDT] 00000054 FFDC Z com.ibm.ws.sca.databinding.impl.DataBindingImplXML com.ibm.ws.sca.databinding.impl.DataBindingImplXML#002 Exception: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'Quote' not found. (sca:/dataObject.xml, 2, 126)
これは、グローバル・エレメントを以下のように定義する必要があることを示している場合があります。
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ibm.com" xmlns:tns="http://www.ibm.com"> <element name="Quote" type="tns:Quote"></element> <!-- global element required --> <complexType name="Quote"> <sequence> <element name="symbol" type="string"></element> <element name="price" type="float"></element> </sequence> </complexType> </schema>
(c) Copyright IBM Corporation 2005, 2006. All rights reserved.
(c) Copyright IBM Japan 2006
このインフォメーション・センターでは、Eclipse テクノロジー (http://www.eclipse.org) が採用されています。