RE: Latest Registry XML Schema and WSDL files

From
Munter, Joel D <>
Date
2001-08-09T21:00:12+00:00
ID
F1A481B0EEAFD411801800508B66D324017BD967@FMSMSX99
Thread
RE: Latest Registry XML Schema and WSDL files
Farrukh,

Why have you referenced the old XML Schema?  I think that you should update
to:
	<schema xmlns="http://www.w3.org/2001/XMLSchema">

As we have discussed since your original posting, when loading this file
into XMLSpy, I am still seeing an error with respect to the "xml:lang"
attribute within the <RequestAcceptedResponse/> element. As we discussed,
the real error may be elsewhere.

After clicking through the first error, within XMLSpy, I also see another
error.  I get an unexpected xsd:sequence error within the "RegistryObject"
xsd:extension within the "RegistryEntry" xsd:complexType.  Can a sequence by
defined within an extension?  The section of the schema where this error was
noted is:

<xsd:complexType name = "RegistryEntry">
  <xsd:complexContent>
    <xsd:extension base = "RegistryObject">			
	<xsd:attribute name = "majorVersion" use = "default" value = "1"
type = "xsd:string"/>
	<xsd:attribute name = "minorVersion" use = "default" value = "0"
type = "xsd:string"/>
	<xsd:attribute name = "status" type = "xsd:string"/>
	<xsd:attribute name = "userVersion" type = "xsd:string"/>
	<xsd:attribute name = "stability" use = "default" value = "Dynamic"
type = "xsd:string"/>
	<xsd:attribute name = "expirationDate" type = "xsd:string"/>
	<xsd:attribute name = "objectType" use = "required" type =
"xsd:string"/>
	<xsd:sequence>
	  <xsd:element ref = "SlotList" minOccurs = "0"/>		   
	</xsd:sequence>
    </xsd:extension>
  </xsd:complexContent>
</xsd:complexType>

XML Designer also reports (within VS.Net Beta2 SP2) reports an error: 
"C:\Off Line Work\Oasis\RegistryTC\Registry.xsd(3): Expected XML Schema
root. Make sure that the root element is <schema> and the namespace is
'http://www.w3.org/2001/XMLSchema'. An error occurred at (3, 2)."  The line
referenced is:
<xsd:schema xmlns:xsd = "http://www.w3.org/2000/10/XMLSchema">

Joel
 
 

-----Original Message-----
From: Farrukh Najmi [mailto:]
Sent: Thursday, August 09, 2001 11:55 AM
To: 
Subject: Latest Registry XML Schema and WSDL files


Team,

Attached are the latest version of our files:

Registry.xsd    #XML Schema file for ebXML Registry
Registry.wsdl    #Abstract service definition for ebXML Registry
RegistrySOAPBinding.wsdl    #Concrete SOAP/HTTP binding for abstract
ebXML Registry defined in Registry.wsdl

I think that the WSDL files are getting pretty close to done. The one
thing I am working on is to add MIME attachment support in submitObjects
and getContents.

Lastly, I would like to publicly recognize a silent member of our team.
Waqar Sadiq from EDS had originally suggested to me the idea of ebXML
Registry as a Web Service. He also bootstrapped me on WSDL and he has
helped me write the WSDL files that I am including. I have asked he
could start formally participating in the team meetings.

--
Regards,
Farrukh