[jboss-user] [JBossWS] - Re: wstools error in wsdl that imports schemas
sgtmcg
do-not-reply at jboss.com
Thu Oct 26 16:29:47 EDT 2006
I am getting the same error trying to import a WSDL as follows
| <?xml version="1.0" encoding="UTF-8"?>
| <wsdl:definitions name="escorte4js" targetNamespace="http://www.techniques.org/escorte4js"
| xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:es4js="http://www.techniques.org/escorte4js"
| xmlns:cocd="http://ltsc.ieee.org/xsd/1484_11_3" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
| xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| <wsdl:types>
| <xsd:schema targetNamespace="http://ltsc.ieee.org/xsd/1484_11_3" elementFormDefault="qualified">
| <xsd:include schemaLocation="./draft_ieee_1484_11_3.xsd"/>
| </xsd:schema>
| <xsd:schema targetNamespace="http://www.techniques.org/escorte4js"
| xmlns:es4js="http://www.techniques.org/escorte4js"
| xmlns:cocd="http://ltsc.ieee.org/xsd/1484_11_3" elementFormDefault="qualified">
| <xsd:import namespace="http://ltsc.ieee.org/xsd/1484_11_3"/>
| <xsd:element name="escorte4js" type="es4js:escorte4jsType"/>
| <xsd:element name="Initialize">
| <xsd:annotation>
| <xsd:documentation>Document literal wrapper for the Initialize action.</xsd:documentation>
| </xsd:annotation>
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element minOccurs="0" maxOccurs="1" name="escorte4js" type="es4js:escorte4jsType"/>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:element name="Quit">
| <xsd:annotation>
| <xsd:documentation>Document literal wrapper for the Quit action.</xsd:documentation>
| </xsd:annotation>
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element minOccurs="0" maxOccurs="1" name="escorte4js" type="es4js:escorte4jsType"/>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:element name="Terminate">
| <xsd:annotation>
| <xsd:documentation>Document literal wrapper for the Terminate action.</xsd:documentation>
| </xsd:annotation>
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element minOccurs="1" maxOccurs="1" name="escorte4js" type="es4js:escorte4jsType"/>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:element name="Commit">
| <xsd:annotation>
| <xsd:documentation>Document literal wrapper for the Commit action.</xsd:documentation>
| </xsd:annotation>
| <xsd:complexType>
| <xsd:sequence>
| <xsd:element minOccurs="1" maxOccurs="1" name="escorte4js" type="es4js:escorte4jsType"/>
| </xsd:sequence>
| </xsd:complexType>
| </xsd:element>
| <xsd:complexType name="escorte4jsType">
| <xsd:annotation>
| <xsd:documentation>Encapsulates information needed to uniquely identify a SCO data
| instance in the server runtime environment.</xsd:documentation>
| </xsd:annotation>
| <xsd:sequence>
| <xsd:element minOccurs="0" maxOccurs="1" ref="cocd:cocd"/>
| <!-- <xsd:element minOccurs="0" maxOccurs="1" name="cocd" type="cocd:cocdType"/> -->
| </xsd:sequence>
| <xsd:attribute name="action" use="required">
| <xsd:annotation>
| <xsd:documentation>Identifies the desired action the server should perform for this
| request.</xsd:documentation>
| </xsd:annotation>
| <xsd:simpleType>
| <xsd:restriction base="xsd:token">
| <xsd:enumeration value="Initialize"/>
| <xsd:enumeration value="Terminate"/>
| <xsd:enumeration value="Commit"/>
| <xsd:enumeration value="Quit"/>
| </xsd:restriction>
| </xsd:simpleType>
| </xsd:attribute>
| <xsd:attribute name="sco" use="optional" type="xsd:string">
| <xsd:annotation>
| <xsd:documentation>Identifies the item for this SCO defined in the
| imsmanifest.xml.</xsd:documentation>
| </xsd:annotation>
| </xsd:attribute>
| <xsd:attribute name="org" use="optional" type="xsd:string">
| <xsd:annotation>
| <xsd:documentation>Identifies the appropriate CAM organization.</xsd:documentation>
| </xsd:annotation>
| </xsd:attribute>
| <xsd:attribute name="course" use="optional" type="xsd:string">
| <xsd:annotation>
| <xsd:documentation>Identifies the course, such as content package
| identifier.</xsd:documentation>
| </xsd:annotation>
| </xsd:attribute>
| <xsd:attribute name="learner" use="optional" type="xsd:string">
| <xsd:annotation>
| <xsd:documentation>Identifies the learner.</xsd:documentation>
| </xsd:annotation>
| </xsd:attribute>
| <xsd:attribute name="adlNavRequest" use="optional" type="xsd:string">
| <xsd:annotation>
| <xsd:documentation>Specifies the adl.nav.request element for this
| SCO.</xsd:documentation>
| </xsd:annotation>
| </xsd:attribute>
| </xsd:complexType>
| </xsd:schema>
| </wsdl:types>
| <wsdl:message name="InitializeRequest">
| <wsdl:part name="body" element="es4js:Initialize"/>
| </wsdl:message>
| <wsdl:message name="InitializeResponse">
| <wsdl:part name="body" element="es4js:escorte4js"/>
| </wsdl:message>
| <wsdl:message name="QuitRequest">
| <wsdl:part name="body" element="es4js:Quit"/>
| </wsdl:message>
| <wsdl:message name="TerminateRequest">
| <wsdl:part name="body" element="es4js:Terminate"/>
| </wsdl:message>
| <wsdl:message name="CommitRequest">
| <wsdl:part name="body" element="es4js:Commit"/>
| </wsdl:message>
| <!-- Errors on server sent back as SOAP faults -->
| <wsdl:message name="NoResponse"/>
| <wsdl:portType name="eSCORTE4JSPortType">
| <wsdl:operation name="Initialize">
| <wsdl:documentation>Initializes the SCO-to-LMS communication session.</wsdl:documentation>
| <wsdl:input message="es4js:InitializeRequest"/>
| <wsdl:output message="es4js:InitializeResponse"/>
| </wsdl:operation>
| <wsdl:operation name="Terminate">
| <wsdl:documentation>Terminates the SCO-to-LMS communication session.</wsdl:documentation>
| <wsdl:input message="es4js:TerminateRequest"/>
| <wsdl:output message="es4js:NoResponse"/>
| </wsdl:operation>
| <wsdl:operation name="Commit">
| <wsdl:documentation>Commits any uncommitted tracking data.</wsdl:documentation>
| <wsdl:input message="es4js:CommitRequest"/>
| <wsdl:output message="es4js:NoResponse"/>
| </wsdl:operation>
| <wsdl:operation name="Quit">
| <wsdl:documentation>Notifies the server that the learner wishes to quit the learning session.</wsdl:documentation>
| <wsdl:input message="es4js:QuitRequest"/>
| <wsdl:output message="es4js:NoResponse"/>
| </wsdl:operation>
| </wsdl:portType>
| <wsdl:binding name="eSCORTE4JSSOAPBinding" type="es4js:eSCORTE4JSPortType">
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
| <wsdl:operation name="Initialize">
| <soap:operation soapAction="http://www.techniques.org/escorte4js/Initialize"/>
| <wsdl:input>
| <soap:body use="literal"/>
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal"/>
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="Terminate">
| <soap:operation soapAction="http://www.techniques.org/escorte4js/Terminate"/>
| <wsdl:input>
| <soap:body use="literal"/>
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal"/>
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="Commit">
| <soap:operation soapAction="http://www.techniques.org/escorte4js/Commit"/>
| <wsdl:input>
| <soap:body use="literal"/>
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal"/>
| </wsdl:output>
| </wsdl:operation>
| <wsdl:operation name="Quit">
| <soap:operation soapAction="http://www.techniques.org/escorte4js/Quit"/>
| <wsdl:input>
| <soap:body use="literal"/>
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal"/>
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
| <wsdl:service name="eSCORTE4JS">
| <wsdl:documentation>Defines a service to support the eSCORTE for JavaScript API Adapter for
| SCORM 2004.</wsdl:documentation>
| <wsdl:port binding="es4js:eSCORTE4JSSOAPBinding" name="eSCORTE4JSPort">
| <soap:address location="http://localhost:8080/kworks/escorte4js_soap"/>
| </wsdl:port>
| </wsdl:service>
| </wsdl:definitions>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981128#3981128
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981128
More information about the jboss-user
mailing list