Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XSD: Type reference unresolved
XSD: Type reference unresolved [message #65865] Mon, 30 January 2006 14:52 Go to next message
Eclipse UserFriend
Originally posted by: rpiazza.us.ibm.com

I have generated this wsdl file, and it is giving me an unresolved
reference,
but it seems like the reference is available lower in the file.
Any ideas?

error:

CWSIF0243E: Error: XSD: Type reference
'http://teamq.rational.ibm.com#ArrayOf_tns2_FieldInfo' is unresolved : URI
in:TeamQ:ChangeMgrServiceInboundService Line 1 Column 1

wsdl file:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://teamq.rational.ibm.com"
xmlns:impl="http://teamq.rational.ibm.com"
xmlns:intf="http://teamq.rational.ibm.com"
xmlns:tns2="http://core.teamq.rational.ibm.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://core.teamq.rational.ibm.com"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:impl="http://teamq.rational.ibm.com"
xmlns:intf="http://teamq.rational.ibm.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<complexType name="UpdateRecordMessage">
<sequence>
<element name="fieldInfo" nillable="true"
type="impl:ArrayOf_tns2_FieldInfo"/>
<element name="user" nillable="true" type="xsd:string"/>
<element name="newState" nillable="true" type="xsd:string"/>
<element name="oldState" nillable="true" type="xsd:string"/>
<element name="action" type="xsd:int"/>
<element name="recordType" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="FieldInfo">
<sequence>
<element name="fieldName" nillable="true" type="xsd:string"/>
<element name="oldValue" nillable="true" type="xsd:string"/>
<element name="newValue" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://teamq.rational.ibm.com"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:impl="http://teamq.rational.ibm.com"
xmlns:intf="http://teamq.rational.ibm.com"
xmlns:tns2="http://core.teamq.rational.ibm.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<import namespace="http://core.teamq.rational.ibm.com"/>
<complexType name="ArrayOf_tns2_FieldInfo">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="FieldInfo"
nillable="true" type="tns2:FieldInfo"/>
</sequence>
</complexType>
<element name="sendUpdateMessageResponse">
<complexType>
<sequence/>
</complexType>
</element>
<element name="sendUpdateMessage">
<complexType>
<sequence>
<element name="updateInfo" nillable="true"
type="tns2:UpdateRecordMessage"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>

<wsdl:message name="sendUpdateMessageResponse">

<wsdl:part element="impl:sendUpdateMessageResponse"
name="parameters"/>

</wsdl:message>

<wsdl:message name="sendUpdateMessageRequest">

<wsdl:part element="impl:sendUpdateMessage" name="parameters"/>

</wsdl:message>

<wsdl:portType name="ChangeMgr">

<wsdl:operation name="sendUpdateMessage">

<wsdl:input message="impl:sendUpdateMessageRequest"
name="sendUpdateMessageRequest"/>

<wsdl:output message="impl:sendUpdateMessageResponse"
name="sendUpdateMessageResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="ChangeMgrSoapBinding" type="impl:ChangeMgr">

<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="sendUpdateMessage">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="sendUpdateMessageRequest">

<wsdlsoap:body use="literal"/>

</wsdl:input>

<wsdl:output name="sendUpdateMessageResponse">

<wsdlsoap:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="ChangeMgrService">

<wsdl:port binding="impl:ChangeMgrSoapBinding" name="ChangeMgr">

<wsdlsoap:address
location="http://localhost:9080/ChangeManager/services/ChangeMgr"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>
Re: XSD: Type reference unresolved [message #65898 is a reply to message #65865] Mon, 30 January 2006 15:14 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Rich,

The first schema doesn't import the second one and yet it references
something defined in the second one so this looks like just a case of
missing the import.


Rich Piazza wrote:

> I have generated this wsdl file, and it is giving me an unresolved
> reference,
> but it seems like the reference is available lower in the file. Any
> ideas?
>
> error:
>
> CWSIF0243E: Error: XSD: Type reference
> 'http://teamq.rational.ibm.com#ArrayOf_tns2_FieldInfo' is unresolved :
> URI in:TeamQ:ChangeMgrServiceInboundService Line 1 Column 1
>
> wsdl file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://teamq.rational.ibm.com"
> xmlns:impl="http://teamq.rational.ibm.com"
> xmlns:intf="http://teamq.rational.ibm.com"
> xmlns:tns2="http://core.teamq.rational.ibm.com"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <wsdl:types>
> <schema targetNamespace="http://core.teamq.rational.ibm.com"
> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:impl="http://teamq.rational.ibm.com"
> xmlns:intf="http://teamq.rational.ibm.com"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <complexType name="UpdateRecordMessage">
> <sequence>
> <element name="fieldInfo" nillable="true"
> type="impl:ArrayOf_tns2_FieldInfo"/>
> <element name="user" nillable="true" type="xsd:string"/>
> <element name="newState" nillable="true" type="xsd:string"/>
> <element name="oldState" nillable="true" type="xsd:string"/>
> <element name="action" type="xsd:int"/>
> <element name="recordType" nillable="true" type="xsd:string"/>
> </sequence>
> </complexType>
> <complexType name="FieldInfo">
> <sequence>
> <element name="fieldName" nillable="true" type="xsd:string"/>
> <element name="oldValue" nillable="true" type="xsd:string"/>
> <element name="newValue" nillable="true" type="xsd:string"/>
> </sequence>
> </complexType>
> </schema>
> <schema targetNamespace="http://teamq.rational.ibm.com"
> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:impl="http://teamq.rational.ibm.com"
> xmlns:intf="http://teamq.rational.ibm.com"
> xmlns:tns2="http://core.teamq.rational.ibm.com"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <import namespace="http://core.teamq.rational.ibm.com"/>
> <complexType name="ArrayOf_tns2_FieldInfo">
> <sequence>
> <element maxOccurs="unbounded" minOccurs="0" name="FieldInfo"
> nillable="true" type="tns2:FieldInfo"/>
> </sequence>
> </complexType>
> <element name="sendUpdateMessageResponse">
> <complexType>
> <sequence/>
> </complexType>
> </element>
> <element name="sendUpdateMessage">
> <complexType>
> <sequence>
> <element name="updateInfo" nillable="true"
> type="tns2:UpdateRecordMessage"/>
> </sequence>
> </complexType>
> </element>
> </schema>
> </wsdl:types>
>
> <wsdl:message name="sendUpdateMessageResponse">
>
> <wsdl:part element="impl:sendUpdateMessageResponse"
> name="parameters"/>
>
> </wsdl:message>
>
> <wsdl:message name="sendUpdateMessageRequest">
>
> <wsdl:part element="impl:sendUpdateMessage" name="parameters"/>
>
> </wsdl:message>
>
> <wsdl:portType name="ChangeMgr">
>
> <wsdl:operation name="sendUpdateMessage">
>
> <wsdl:input message="impl:sendUpdateMessageRequest"
> name="sendUpdateMessageRequest"/>
>
> <wsdl:output message="impl:sendUpdateMessageResponse"
> name="sendUpdateMessageResponse"/>
>
> </wsdl:operation>
>
> </wsdl:portType>
>
> <wsdl:binding name="ChangeMgrSoapBinding" type="impl:ChangeMgr">
>
> <wsdlsoap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> <wsdl:operation name="sendUpdateMessage">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="sendUpdateMessageRequest">
>
> <wsdlsoap:body use="literal"/>
>
> </wsdl:input>
>
> <wsdl:output name="sendUpdateMessageResponse">
>
> <wsdlsoap:body use="literal"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> </wsdl:binding>
>
> <wsdl:service name="ChangeMgrService">
>
> <wsdl:port binding="impl:ChangeMgrSoapBinding" name="ChangeMgr">
>
> <wsdlsoap:address
> location="http://localhost:9080/ChangeManager/services/ChangeMgr"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> </wsdl:definitions>
>
Re: XSD: Type reference unresolved [message #597507 is a reply to message #65865] Mon, 30 January 2006 15:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Rich,

The first schema doesn't import the second one and yet it references
something defined in the second one so this looks like just a case of
missing the import.


Rich Piazza wrote:

> I have generated this wsdl file, and it is giving me an unresolved
> reference,
> but it seems like the reference is available lower in the file. Any
> ideas?
>
> error:
>
> CWSIF0243E: Error: XSD: Type reference
> 'http://teamq.rational.ibm.com#ArrayOf_tns2_FieldInfo' is unresolved :
> URI in:TeamQ:ChangeMgrServiceInboundService Line 1 Column 1
>
> wsdl file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://teamq.rational.ibm.com"
> xmlns:impl="http://teamq.rational.ibm.com"
> xmlns:intf="http://teamq.rational.ibm.com"
> xmlns:tns2="http://core.teamq.rational.ibm.com"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <wsdl:types>
> <schema targetNamespace="http://core.teamq.rational.ibm.com"
> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:impl="http://teamq.rational.ibm.com"
> xmlns:intf="http://teamq.rational.ibm.com"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <complexType name="UpdateRecordMessage">
> <sequence>
> <element name="fieldInfo" nillable="true"
> type="impl:ArrayOf_tns2_FieldInfo"/>
> <element name="user" nillable="true" type="xsd:string"/>
> <element name="newState" nillable="true" type="xsd:string"/>
> <element name="oldState" nillable="true" type="xsd:string"/>
> <element name="action" type="xsd:int"/>
> <element name="recordType" nillable="true" type="xsd:string"/>
> </sequence>
> </complexType>
> <complexType name="FieldInfo">
> <sequence>
> <element name="fieldName" nillable="true" type="xsd:string"/>
> <element name="oldValue" nillable="true" type="xsd:string"/>
> <element name="newValue" nillable="true" type="xsd:string"/>
> </sequence>
> </complexType>
> </schema>
> <schema targetNamespace="http://teamq.rational.ibm.com"
> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:impl="http://teamq.rational.ibm.com"
> xmlns:intf="http://teamq.rational.ibm.com"
> xmlns:tns2="http://core.teamq.rational.ibm.com"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <import namespace="http://core.teamq.rational.ibm.com"/>
> <complexType name="ArrayOf_tns2_FieldInfo">
> <sequence>
> <element maxOccurs="unbounded" minOccurs="0" name="FieldInfo"
> nillable="true" type="tns2:FieldInfo"/>
> </sequence>
> </complexType>
> <element name="sendUpdateMessageResponse">
> <complexType>
> <sequence/>
> </complexType>
> </element>
> <element name="sendUpdateMessage">
> <complexType>
> <sequence>
> <element name="updateInfo" nillable="true"
> type="tns2:UpdateRecordMessage"/>
> </sequence>
> </complexType>
> </element>
> </schema>
> </wsdl:types>
>
> <wsdl:message name="sendUpdateMessageResponse">
>
> <wsdl:part element="impl:sendUpdateMessageResponse"
> name="parameters"/>
>
> </wsdl:message>
>
> <wsdl:message name="sendUpdateMessageRequest">
>
> <wsdl:part element="impl:sendUpdateMessage" name="parameters"/>
>
> </wsdl:message>
>
> <wsdl:portType name="ChangeMgr">
>
> <wsdl:operation name="sendUpdateMessage">
>
> <wsdl:input message="impl:sendUpdateMessageRequest"
> name="sendUpdateMessageRequest"/>
>
> <wsdl:output message="impl:sendUpdateMessageResponse"
> name="sendUpdateMessageResponse"/>
>
> </wsdl:operation>
>
> </wsdl:portType>
>
> <wsdl:binding name="ChangeMgrSoapBinding" type="impl:ChangeMgr">
>
> <wsdlsoap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> <wsdl:operation name="sendUpdateMessage">
>
> <wsdlsoap:operation soapAction=""/>
>
> <wsdl:input name="sendUpdateMessageRequest">
>
> <wsdlsoap:body use="literal"/>
>
> </wsdl:input>
>
> <wsdl:output name="sendUpdateMessageResponse">
>
> <wsdlsoap:body use="literal"/>
>
> </wsdl:output>
>
> </wsdl:operation>
>
> </wsdl:binding>
>
> <wsdl:service name="ChangeMgrService">
>
> <wsdl:port binding="impl:ChangeMgrSoapBinding" name="ChangeMgr">
>
> <wsdlsoap:address
> location="http://localhost:9080/ChangeManager/services/ChangeMgr"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> </wsdl:definitions>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XSD: Type reference unresolved
Next Topic:Best way to extend XSD editor
Goto Forum:
  


Current Time: Wed Apr 24 18:57:06 GMT 2024

Powered by FUDForum. Page generated in 0.03447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top