[英]src-resolve: Cannot resolve the name 'tns:callResult' to a(n) 'type definition'
[英]src-resolve: Cannot resolve the name 'tns1:UmciAttributeType' to a(n) 'type definition' component
“ src-resolve:無法將名稱'tns1:UmciAttributeType'解析為一個(n)'類型定義'組件。” 此錯誤顯示在wsdl文件中
<complexType name="UmciAttribute">
<complexContent>
<extension base="tns1:UmciRoot">
<sequence>
<element name="domain" nillable="true" type="xsd:string"/>
<element name="inherited" type="xsd:boolean"/>
<element name="keyName" nillable="true" type="xsd:string"/>
<element name="newName" nillable="true" type="xsd:string"/>
<element name="parent" nillable="true" type="tns1:UmciElementID"/>
<element name="type" nillable="true" type="tns1:UmciAttributeType"/>
<element name="value" nillable="true" type="xsd:string"/>
</sequence>
</extension>
</complexContent>
錯誤在此行中: <element name="type" nillable="true" type="tns1:UmciAttributeType"/>
從Java文件創建Web服務時,顯示以下錯誤:“ IWAB0399E從WSDL: java.io.IOException: Type UmciAttributeType
生成Java時出錯WSDL: java.io.IOException: Type UmciAttributeType
引用了WSDL: java.io.IOException: Type UmciAttributeType
但未定義。” 我認為此錯誤是由於WSDL文件中的上述錯誤。
錯誤非常明顯。 據說沒有定義類型UmciAttributeType
。 它應該在該文件中的某個位置定義。
您還具有UmciElementID
類型,並且沒有給出錯誤,因此必須在某個位置定義,就像UmciAttributeType
應該那樣。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.