4 Replies Latest reply on Apr 13, 2006 12:56 PM by Justin Babuscio

    org.xml.sax.SAXException: Invalid element error at the servi

    tet tet Newbie

      Hi,
      We are trying to use the Docuemnt/literal style in the JBOSS/Axis environment and getting the following errors.
      Could you please guide us if any thing is wrong.
      1. Manually we created our own wsdl
      2. Used WSCompile from sun to create all the server side and client side stubs
      3. During the invocation of the service, it is complainning on the top level element.

      14:12:47,546 ERROR [ServerEngine] Server error: AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
      faultSubcode:
      faultString: Invalid element in com.bluecanopy.concierge.webservices.TravelItineraryRQ - Verification
      faultActor:
      faultNode:
      faultDetail:
      {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: Invalid element in com.bluecanopy.concierge.webservices.TravelItineraryRQ - Verification
      at org.jboss.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:455)
      at org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168)
      at org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)
      at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1394)
      at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:266)
      at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:402)
      at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:235)
      at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
      at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
      at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
      at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
      at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
      at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
      at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215)
      at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:104)
      at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.bluecanopy.commons.web.TransactionFilter.doHttpFilter(TransactionFilter.java:105)
      at com.bluecanopy.commons.web.BaseHttpServletFilter.doFilter(BaseHttpServletFilter.java:62)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)

      {http://xml.apache.org/axis/}isRuntimeException: true


      Here is my soap request and response from the NetTool.

      Request:
      --------
      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>


      <PersonName xsi:type="xsd:string">personName
      <Email xsi:type="xsd:string">email@email.com
      <PhoneNumber xsi:type="xsd:string">1231231234

      <AddressLine xsi:type="xsd:string">12355 Sunrise Valley Dr
      <CityName xsi:type="xsd:string">Reston
      <PostalCode xsi:type="xsd:short">0
      <County xsi:type="xsd:string">Fairfax
      <State xsi:type="xsd:string">VA
      <Country xsi:type="xsd:string">USA


      <Quantity xsi:type="xsd:byte">10
      <Location xsi:type="xsd:string">location


      </soapenv:Body>
      </soapenv:Envelope>

      Response:
      ---------
      HTTP/1.1 500 Internal Server Error
      Server: Apache-Coyote/1.1
      X-Powered-By: Servlet 2.4; JBoss-4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)/Tomcat-5.5
      Content-Type: text/xml;charset=utf-8
      Date: Wed, 29 Mar 2006 18:08:06 GMT
      Connection: close

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
      <soapenv:Fault>
      soapenv:Client
      Invalid element in com.bluecanopy.concierge.webservices.TravelItineraryRQ - Verification

      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>


      WSDLS
      ----

      Concierge4piService.wsdl
      -------------------------

      <?xml version="1.0"?>
      <definitions xmlns:tns="http://bluecanopy.com/concierge/service" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:defs="http://bluecanopy.com/concierge/definitions" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://bluecanopy.com/concierge/service" name="Concierge4pi">


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

      <soap:operation/>

      <soap:body use="literal"/>


      <soap:body use="literal"/>



      <soap:operation/>

      <soap:body use="literal"/>


      <soap:body use="literal"/>



      <soap:operation/>

      <soap:body use="literal"/>


      <soap:body use="literal"/>





      <soap:address location="http://localhost:8080/concierge/Concierge4PiService"/>






      Concierge4pi.wsdl
      -----------------
      <?xml version="1.0"?>
      <definitions xmlns:tns="http://bluecanopy.com/concierge/definitions" xmlns:type="http://bluecanopy.com/concierge/types" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://bluecanopy.com/concierge/definitions" name="Concierge4pi">

      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://bluecanopy.com/concierge/types" xmlns="http://bluecanopy.com/concierge/types" elementFormDefault="qualified">
      <xs:element name="AddressInfo">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="AddressLine"/>
      <xs:element ref="CityName"/>
      <xs:element ref="PostalCode"/>
      <xs:element ref="County"/>
      <xs:element ref="State"/>
      <xs:element ref="Country"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="AddressLine" type="xs:string"/>
      <xs:element name="CityName" type="xs:string"/>
      <xs:element name="Country" type="xs:string"/>
      <xs:element name="County" type="xs:string"/>
      <xs:element name="Email" type="xs:string"/>
      <xs:element name="Location" type="xs:string"/>
      <xs:element name="TravelItineraryRQ">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="Verification"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="PersonName" type="xs:string"/>
      <xs:element name="PhoneNumber" type="xs:string"/>
      <xs:element name="PostalCode" type="xs:short"/>
      <xs:element name="Quantity" type="xs:byte"/>
      <xs:element name="ReservationTimeSpan">
      <xs:complexType>
      <xs:attribute name="End" use="required" type="xs:date"/>
      <xs:attribute name="Start" use="required" type="xs:date"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="State" type="xs:string"/>
      <xs:element name="Verification">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="PersonName"/>
      <xs:element ref="Email"/>
      <xs:element ref="PhoneNumber"/>
      <xs:element ref="AddressInfo"/>
      <xs:element ref="ReservationTimeSpan"/>
      <xs:element ref="Quantity"/>
      <xs:element ref="Location"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="Address">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="AddressLine"/>
      <xs:element ref="CityName"/>
      <xs:element ref="PostalCode"/>
      <xs:element ref="County"/>
      <xs:element ref="StateProv"/>
      <xs:element ref="CountryName"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="CountryName">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="String"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>
      <xs:element name="CustomerInfo">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="CustomerName"/>
      <xs:element ref="Telephone"/>
      <xs:element ref="Email"/>
      <xs:element ref="Address"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="CustomerInfos">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="CustomerInfo"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="CustomerName">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="bob jones"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>
      <xs:element name="Item">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="Quantity"/>
      <xs:element ref="Location"/>
      </xs:sequence>
      <xs:attribute name="Status" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="V"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:attribute>
      </xs:complexType>
      </xs:element>
      <xs:element name="ItemPricing">
      <xs:complexType mixed="true">
      <xs:attribute name="Amount" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:decimal">
      <xs:enumeration value="480.00"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="CurrencyCode" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="USD"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:attribute>
      </xs:complexType>
      </xs:element>
      <xs:element name="ItineraryInfo">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="ReservationItems"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="ReservationItems">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="Item"/>
      <xs:element ref="ItemPricing"/>
      </xs:sequence>
      <xs:attribute name="ChronoOrdered" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:boolean"/>
      </xs:simpleType>
      </xs:attribute>
      </xs:complexType>
      </xs:element>
      <xs:element name="StateProv">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="String"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>
      <xs:element name="Telephone">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="123-123-1234"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>
      <xs:element name="TravelItinerary">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="CustomerInfos"/>
      <xs:element ref="ItineraryInfo"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="TravelItineraryRS">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="TravelItinerary"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="CustomerInf">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="CustomerName"/>
      </xs:sequence>
      <xs:attribute name="id" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:byte">
      <xs:enumeration value="1"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:attribute>
      </xs:complexType>
      </xs:element>
      <xs:element name="ItineraryHistoryRQ">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="CustomerInf"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="Itinerary">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="ItineraryInfo"/>
      </xs:sequence>
      <xs:attribute name="id" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:byte">
      <xs:enumeration value="1"/>
      <xs:enumeration value="2"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="name" use="required">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="test"/>
      <xs:enumeration value="test1"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:attribute>
      </xs:complexType>
      </xs:element>
      <xs:element name="ItineraryHistoryRS">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="CustomerInfo"/>
      <xs:element ref="Itinerary" maxOccurs="unbounded"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="AvailabilityRequestSegment">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="StayDateRange"/>
      <xs:element ref="RoomStayCandidate"/>
      <xs:element ref="HotelSearchCriteria"/>
      </xs:sequence>
      <xs:attribute name="AvailReqType" use="required" type="xs:string"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="AvailabilityRequestSegments">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="AvailabilityRequestSegment"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="HotelAvailRQ">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="AvailabilityRequestSegments"/>
      </xs:sequence>
      <xs:attribute name="Version" use="required" type="xs:decimal"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="HotelSearchCriteria">
      <xs:complexType>
      <xs:attribute name="name" use="required" type="xs:string"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="RoomStayCandidate">
      <xs:complexType>
      <xs:attribute name="Quantity" use="required" type="xs:byte"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="StayDateRange">
      <xs:complexType>
      <xs:attribute name="Start" use="required" type="xs:date"/>
      <xs:attribute name="End" use="required" type="xs:date"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="BasicPropertyInfo">
      <xs:complexType>
      <xs:attribute name="Name" use="required" type="xs:string"/>
      </xs:complexType>
      </xs:element>
      <xs:element name="HotelAvailRS">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="RoomStays"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="RoomStay">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="Total"/>
      <xs:element ref="BasicPropertyInfo"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="RoomStays">
      <xs:complexType>
      <xs:sequence>
      <xs:element ref="RoomStay"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      <xs:element name="Total">
      <xs:complexType mixed="true">
      <xs:attribute name="Amount" use="required" type="xs:decimal"/>
      <xs:attribute name="CurrencyCode" use="required" type="xs:string"/>
      </xs:complexType>
      </xs:element>
      </xs:schema>










































        • 1. Re: org.xml.sax.SAXException: Invalid element error at the s
          Justin Babuscio Newbie

          I'm having this exact same problem. I tried switching to JBoss 4.04CR2 with the new soap stack and that did nothing for my problems.

          At the moment, I have to stick to using JBoss 4.0.3 so does anyone know a solution to this issue.

          • 2. Re: org.xml.sax.SAXException: Invalid element error at the s
            tet tet Newbie

            Modify your wsdl with simple elements and it works. Here is my new WSDL and you can compare accordingly.
            <?xml version="1.0"?>
            <definitions xmlns:tns="http://bluecanopy.com/concierge/service" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://bluecanopy.com/concierge/service" name="Concierge4pi">

            <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://bluecanopy.com/concierge/service" elementFormDefault="qualified">
            <xs:element name="TravelItineraryRQ" type="tns:TravelItineraryRQType"/>
            <xs:element name="TravelItineraryRS" type="tns:TravelItineraryRSType"/>
            <xs:element name="ItineraryHistoryRQ" type="tns:ItineraryHistoryRQType"/>
            <xs:element name="ItineraryHistoryRS" type="tns:ItineraryHistoryRSType"/>
            <xs:element name="HotelAvailRQ" type="tns:HotelAvailRQType"/>
            <xs:element name="HotelAvailRS" type="tns:HotelAvailRSType"/>
            <xs:element name="Authentication" type="tns:AuthenticationType"/>
            <xs:complexType name="AuthenticationType">
            <xs:sequence>
            <xs:element name="username" type="xs:string"/>
            <xs:element name="password" type="xs:string"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="TravelItineraryRQType">
            <xs:sequence>
            <xs:element name="Verification" type="tns:VerificationType"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="VerificationType">
            <xs:sequence>
            <xs:element name="PersonName" type="xs:string"/>
            <xs:element name="Email" type="xs:string"/>
            <xs:element name="Location" type="xs:string"/>
            <xs:element name="PhoneNumber" type="xs:string"/>
            <xs:element name="Address" type="tns:AddressType"/>
            <xs:element name="ReservationTime" type="tns:ReservationTimeSpanType"/>
            <xs:element name="Quantity" type="xs:int"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="AddressType">
            <xs:sequence>
            <xs:element name="Address" type="xs:string"/>
            <xs:element name="City" type="xs:string"/>
            <xs:element name="County" type="xs:string"/>
            <xs:element name="State" type="xs:string"/>
            <xs:element name="Country" type="xs:string"/>
            <xs:element name="PostalCode" type="xs:int"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="ReservationTimeSpanType">
            <xs:attribute name="End" use="required" type="xs:string"/>
            <xs:attribute name="Start" use="required" type="xs:string"/>
            </xs:complexType>
            <xs:complexType name="TravelItineraryRSType">
            <xs:sequence>
            <xs:element name="TravelItinerary" type="tns:TravelItineraryType"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="TravelItineraryType">
            <xs:sequence>
            <xs:element name="Customer" type="tns:CustomerType"/>
            <xs:element name="Itinerary" type="tns:ItineraryType" maxOccurs="unbounded"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="CustomerType">
            <xs:sequence>
            <xs:element name="CustomerName" type="xs:string"/>
            <xs:element name="Telephone" type="xs:string"/>
            <xs:element name="Email" type="xs:string"/>
            <xs:element name="Address" type="tns:AddressType"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="ItineraryType">
            <xs:sequence>
            <xs:element name="ReservationItems" type="tns:ReservationItemsType" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute name="ItineraryName" type="xs:string"/>
            <xs:attribute name="End" use="required" type="xs:string"/>
            <xs:attribute name="Start" use="required" type="xs:string"/>
            </xs:complexType>
            <xs:complexType name="ReservationItemsType">
            <xs:sequence>
            <xs:element name="Item" type="tns:ItemType" maxOccurs="unbounded"/>
            <xs:element name="ItemPricing" type="tns:ItemPricingType" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute name="ChronoOrdered" type="xs:boolean"/>
            </xs:complexType>
            <xs:complexType name="ItemType">
            <xs:sequence>
            <xs:element name="Quantity" type="xs:int"/>
            <xs:element name="Location" type="xs:string"/>
            </xs:sequence>
            <xs:attribute name="Status" type="xs:string"/>
            </xs:complexType>
            <xs:complexType name="ItemPricingType">
            <xs:attribute name="Amount" type="xs:decimal"/>
            <xs:attribute name="CurrencyCode" type="xs:string"/>
            </xs:complexType>
            <xs:complexType name="ItineraryHistoryRQType">
            <xs:sequence>
            <xs:element name="CustomerHistory" type="tns:CustomerHistoryType"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="CustomerHistoryType">
            <xs:sequence>
            <xs:element name="CustomerName" type="xs:string"/>
            </xs:sequence>
            <xs:attribute name="id" use="required" type="xs:int"/>
            </xs:complexType>
            <xs:complexType name="ItineraryHistoryRSType">
            <xs:sequence>
            <xs:element name="Customer" type="tns:CustomerType"/>
            <xs:element name="ItineraryHistory" type="tns:ItineraryHistoryType" maxOccurs="unbounded"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="ItineraryHistoryType">
            <xs:sequence>
            <xs:element name="Itinerary" type="tns:ItineraryType" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute name="id" use="required" type="xs:int"/>
            <xs:attribute name="name" use="required" type="xs:string"/>
            </xs:complexType>
            <xs:complexType name="HotelAvailRQType">
            <xs:sequence>
            <xs:element name="AvailabilityRequest" type="tns:AvailabilityRequestType"/>
            </xs:sequence>
            <xs:attribute name="Version" use="required" type="xs:decimal"/>
            </xs:complexType>
            <xs:complexType name="AvailabilityRequestType">
            <xs:sequence>
            <xs:element name="StayDateRange" type="xs:string"/>
            <xs:element name="RoomStayCandidate" type="xs:string"/>
            <xs:element name="HotelSearchCriteria" type="xs:string"/>
            </xs:sequence>
            <xs:attribute name="AvailReqType" use="required" type="xs:string"/>
            </xs:complexType>
            <xs:complexType name="HotelAvailRSType">
            <xs:sequence>
            <xs:element name="RoomStay" type="tns:RoomStayType"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="RoomStayType">
            <xs:sequence>
            <xs:element name="Amount" type="tns:AmountType"/>
            <xs:element name="Name" type="xs:string"/>
            </xs:sequence>
            </xs:complexType>
            <xs:complexType name="AmountType">
            <xs:attribute name="Amount" use="required" type="xs:decimal"/>
            <xs:attribute name="CurrencyCode" use="required" type="xs:string"/>
            </xs:complexType>
            </xs:schema>





































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

            <soap:operation/>

            <soap:header message="auth" part="Concierge4piPortType" use="literal"/>
            <soap:body use="literal"/>


            <soap:body use="literal"/>



            <soap:operation/>

            <soap:body use="literal"/>


            <soap:body use="literal"/>



            <soap:operation/>

            <soap:body use="literal"/>


            <soap:body use="literal"/>





            <soap:address location="http://localhost:8080/concierge/Concierge4PiService"/>



            • 3. Re: org.xml.sax.SAXException: Invalid element error at the s
              Justin Babuscio Newbie

              I saw that you were referencing the complex types by <xs: element ref =..."> and changed that to the <xs:element name="">


              I actually have that in my WSDLs. Could someone take a look at these WSDLs and tell me if anything is different from the top ones.


              This is top level WSDL NotificationConsumer.wsdl

              <?xml version="1.0"?>
              
              <definitions name="MyDefinition"
               targetNamespace="http://abc.com/my/wsdl/namespace"
               xmlns="http://schemas.xmlsoap.org/wsdl/"
               xmlns:tns="http://abc.com/my/wsdl/namespace"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
               xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
               xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
               xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
               xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
               xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex"
               xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing">
              
               <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
               location="wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
              
               <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
               location="wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
              <!--
               <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex"
               location="wsx/WS-MetadataExchange-2004_09.wsdl"/>
              -->
               <import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
               location="wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
              
               <types>
               <schema elementFormDefault="qualified"
               targetNamespace="http://abc.com/my/wsdl/namespace"
               xmlns="http://www.w3.org/2001/XMLSchema"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
               xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
               xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd">
              
               <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
               schemaLocation="wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>
              
               <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
               schemaLocation="wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"/>
              
               <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
               schemaLocation="wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
              
               <!-- *** Add an element definition here for each of your custom resource properties *** -->
               <!-- *** e.g.: <element name="MyProperty" type="xsd:string" /> *** -->
              
               <!-- Resource Properties Document Schema -->
               <element name="ResourceProperties">
               <complexType>
               <sequence>
              
               <!-- *** If you wish to implement the wsrl:ScheduledResourceTermination portType,
               uncomment the below two lines *** -->
               <!--
               <element ref="wsrl:CurrentTime" />
               <element ref="wsrl:TerminationTime" />
               -->
              
               <!-- *** If you wish to implement the wsnt:NotificationProducer portType,
               uncomment the below three lines *** -->
               <!--
               <element ref="wsnt:Topic" maxOccurs="unbounded" />
               <element ref="wsnt:FixedTopicSet" />
               <element ref="wsnt:TopicExpressionDialects" maxOccurs="unbounded" />
               -->
              
               <!-- *** Add an element ref here for each of the custom resource property elements you defined above *** -->
               <!-- *** e.g.: <element ref="tns:MyProperty" /> (NOTE: default is minOccurs="1" and maxOccurs="1") *** -->
               <!-- *** or: <element ref="tns:MyOtherProperty" minOccurs="0" maxOccurs="unbounded" /> *** -->
              
               <!-- *** Uncomment the below any element if you want to permit resource property elements
               with arbitrary names (not generally recommended) *** -->
               <!--
               <any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
               -->
              
               </sequence>
               </complexType>
               </element>
              
               <!-- *** Add element definitions for custom request/response/fault types here *** -->
              
               </schema>
               </types>
              
               <!-- *** Add message definitions for custom request/response/fault types here *** -->
              
               <portType name="NotificationProducerPortType" wsrp:ResourceProperties="tns:ResourceProperties">
              
               <operation name="GetResourceProperty">
               <input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
               <output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
               <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
               <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
               </operation>
              
               <!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="GetMultipleResourceProperties">
               <input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest"/>
               <output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse"/>
               <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
               <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRP SetResourceProperties portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="SetResourceProperties">
               <input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest"/>
               <output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse"/>
               <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
               <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
               <fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
               <fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
               <fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="QueryResourceProperties">
               <input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest"/>
               <output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse"/>
               <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
               <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
               <fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
               <fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
               <fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="Destroy">
               <input message="wsrlw:DestroyRequest"/>
               <output message="wsrlw:DestroyResponse"/>
               <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
               <fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="SetTerminationTime">
               <input message="wsrlw:SetTerminationTimeRequest"/>
               <output message="wsrlw:SetTerminationTimeResponse"/>
               <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
               <fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
               <fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSNT NotificationProducer portType,
               uncomment the below two operation blocks *** -->
              
               <operation name="Subscribe">
               <input message="wsntw:SubscribeRequest" />
               <output message="wsntw:SubscribeResponse" />
               <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" />
               <fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault" />
               <fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault" />
               </operation>
              
               <operation name="GetCurrentMessage">
               <input message="wsntw:GetCurrentMessageRequest" />
               <output message="wsntw:GetCurrentMessageResponse" />
               <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" />
               <fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault" />
               <fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault" />
               <fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault" />
               </operation>
              
              
               <!-- *** If you wish to implement the WSNT NotificationConsumer portType,
               uncomment the below two operation blocks *** -->
               <!--
               <operation name="Notify">
               <input name="Notify" message="wsntw:Notify"/>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WS-MetadataExchange MetadataExchange portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="GetMetadata" >
               <input message="mex:GetMetadataMsg"
               wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Request" />
               <output message="mex:GetMetadataResponseMsg"
               wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Response" />
               </operation>
               <operation name="Get" >
               <input message="mex:GetMsg"
               wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/Get/Request" />
               <output message="mex:GetResponseMsg"
               wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/Get/Response" />
               </operation>
               -->
              
               <!-- *** Add an operation block here for each of your custom operations *** -->
              
               </portType>
              
               <binding name="NotificationProducerSoapHttpBinding" type="tns:NotificationProducerPortType">
              
               <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              
               <operation name="GetResourceProperty">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="InvalidResourcePropertyQNameFault">
               <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
               </fault>
               </operation>
              
               <!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="GetMultipleResourceProperties">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="InvalidResourcePropertyQNameFault">
               <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
               </fault>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRP SetResourceProperties portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="SetResourceProperties">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="InvalidResourcePropertyQNameFault">
               <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
               </fault>
               <fault name="UnableToModifyResourcePropertyFault">
               <soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
               </fault>
               <fault name="InvalidSetResourcePropertiesRequestContentFault">
               <soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
               </fault>
               <fault name="SetResourcePropertyRequestFailedFault">
               <soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
               </fault>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="QueryResourceProperties">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="InvalidResourcePropertyQNameFault">
               <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
               </fault>
               <fault name="UnknownQueryExpressionDialectFault">
               <soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
               </fault>
               <fault name="InvalidQueryExpressionFault">
               <soap:fault name="InvalidQueryExpressionFault" use="literal"/>
               </fault>
               <fault name="QueryEvaluationErrorFault">
               <soap:fault name="QueryEvaluationErrorFault" use="literal"/>
               </fault>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="Destroy">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="ResourceNotDestroyedFault">
               <soap:fault name="ResourceNotDestroyedFault" use="literal"/>
               </fault>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="SetTerminationTime">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="UnableToSetTerminationTimeFault">
               <soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
               </fault>
               <fault name="TerminationTimeChangeRejectedFault">
               <soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
               </fault>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WSNT NotificationProducer portType,
               uncomment the below two operation blocks *** -->
              
               <operation name="Subscribe">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="SubscribeCreationFailedFault">
               <soap:fault name="SubscribeCreationFailedFault" use="literal"/>
               </fault>
               <fault name="TopicPathDialectUnknownFault">
               <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
               </fault>
               </operation>
               <operation name="GetCurrentMessage">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               <fault name="ResourceUnknownFault">
               <soap:fault name="ResourceUnknownFault" use="literal"/>
               </fault>
               <fault name="InvalidTopicExpressionFault">
               <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
               </fault>
               <fault name="TopicNotSupportedFault">
               <soap:fault name="TopicNotSupportedFault" use="literal"/>
               </fault>
               <fault name="NoCurrentMessageOnTopicFault">
               <soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
               </fault>
               </operation>
              
               <!-- *** If you wish to implement the WSNT NotificationConsumer portType,
               uncomment the below two operation blocks *** -->
               <!--
               <operation name="Notify">
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               </operation>
               -->
              
               <!-- *** If you wish to implement the WS-MetadataExchange MetadataExchange portType,
               uncomment the below operation block *** -->
               <!--
               <operation name="GetMetadata" >
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               </operation>
               <operation name="Get" >
               <soap:operation style="document"/>
               <input>
               <soap:body use="literal"/>
               </input>
               <output>
               <soap:body use="literal"/>
               </output>
               </operation>
               -->
              
               <!-- *** Add an operation block here for each of your custom operations *** -->
              
               </binding>
              
               <service name="NotificationProducerService">
               <!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
               <!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
               <port name="NotificationProducerPort" binding="tns:NotificationProducerSoapHttpBinding">
               <soap:address location="https://localhost/NotificationProducer" />
               </port>
               </service>
              
              </definitions>
              



              These are the imported WSDLs

              <?xml version="1.0"?>
              
              <!--
              
              OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
              
              OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
              
              Copyright (C) OASIS Open (2004). All Rights Reserved.
              
              This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
              
              The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
              
              This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
              
              -->
              
              <wsdl:definitions name="WS-BaseNotification"
               xmlns="http://schemas.xmlsoap.org/wsdl/"
               xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
               xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
               xmlns:wsnt=
               "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
               xmlns:wsntw=
               "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
               xmlns:wsrp=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
               xmlns:wsrpw=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
               xmlns:wsbf=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
               xmlns:wsrl=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
               xmlns:wsrlw=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
               targetNamespace=
               "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl">
              
               <!-- ========================== Imports =========================== -->
               <wsdl:import
               namespace=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
               location=
               "../wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
              
               <wsdl:import
               namespace=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
               location=
               "../wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
              
               <!-- ===================== Types Definitions ====================== -->
               <wsdl:types>
               <xsd:schema
               targetNamespace=
               "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
               elementFormDefault="qualified">
              
               <xsd:import
               namespace=
               "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
               schemaLocation=
               "WS-BaseNotification-1_2-Draft_01.xsd"
               />
              
               <xsd:import
               namespace=
               "http://schemas.xmlsoap.org/ws/2003/03/addressing"
               schemaLocation=
               "../wsa/WS-Addressing-2003_03.xsd"
               />
              
               <xsd:import
               namespace=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
               schemaLocation=
               "../wsrf/WS-BaseFaults-1_2-Draft_01.xsd"
               />
              
               <xsd:import namespace=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
               schemaLocation=
               "../wsrf/WS-ResourceProperties-1_2-Draft_01.xsd"
               />
               <xsd:import
               namespace=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
               schemaLocation=
               "../wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"
               />
              
               <!-- =============== Resource Property Related =================== -->
               <!-- ======== Resource Properties for NotificationProducer ======== -->
               <xsd:element name="NotificationProducerRP">
               <xsd:complexType>
               <xsd:sequence>
               <xsd:element ref="wsnt:Topic"
               minOccurs="1" maxOccurs="unbounded"/>
               <xsd:element ref="wsnt:FixedTopicSet"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element ref="wsnt:TopicExpressionDialects"
               minOccurs="1" maxOccurs="unbounded"/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <!-- ======== Resource Properties for SubscriptionManager ========= -->
               <xsd:element name="SubscriptionManagerRP">
               <xsd:complexType>
               <xsd:sequence>
               <!-- From WS-ResourceLifetime ScheduledResourceTermination -->
               <xsd:element ref="wsrl:CurrentTime"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element ref="wsrl:TerminationTime"
               minOccurs="1" maxOccurs="1"/>
              
               <!-- SubscriptionManager specific -->
               <xsd:element ref="wsnt:ConsumerReference"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element ref="wsnt:TopicExpression"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element ref="wsnt:UseNotify"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element ref="wsnt:Precondition"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element ref="wsnt:Selector"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element ref="wsnt:SubscriptionPolicy"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element ref="wsnt:CreationTime"
               minOccurs="0" maxOccurs="1"/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <!-- ================== Message Helper Types ===================== -->
               <xsd:complexType name="NotificationMessageHolderType">
               <xsd:sequence>
               <xsd:element name="Topic"
               type="wsnt:TopicExpressionType"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element name="ProducerReference"
               type="wsa:EndpointReferenceType"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element name="Message" type="xsd:anyType"
               minOccurs="1" maxOccurs="1"/>
               </xsd:sequence>
               </xsd:complexType>
              
               <!-- ========== Message Types for NotificationConsumer =========== -->
               <xsd:element name="Notify">
               <xsd:complexType>
               <xsd:sequence>
               <xsd:element name="NotificationMessage"
               type="wsnt:NotificationMessageHolderType"
               minOccurs="1" maxOccurs="unbounded"/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <!-- ========== Message Types for NotificationProducer =========== -->
               <xsd:element name="Subscribe">
               <xsd:complexType>
               <xsd:sequence>
               <xsd:element name="ConsumerReference"
               type="wsa:EndpointReferenceType"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element name="TopicExpression"
               type="wsnt:TopicExpressionType"
               minOccurs="1" maxOccurs="1"/>
               <xsd:element name="UseNotify"
               type="xsd:boolean" default="true"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element name="Precondition"
               type="wsrp:QueryExpressionType"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element name="Selector"
               type="wsrp:QueryExpressionType"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element name="SubscriptionPolicy"
               type="xsd:anyType"
               minOccurs="0" maxOccurs="1"/>
               <xsd:element name="InitialTerminationTime"
               type="xsd:dateTime"
               minOccurs="0" maxOccurs="1"/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <xsd:element name="SubscribeResponse">
               <xsd:complexType>
               <xsd:sequence>
               <xsd:element name="SubscriptionReference"
               type="wsa:EndpointReferenceType"
               minOccurs="0" maxOccurs="1"/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <xsd:element name="GetCurrentMessage">
               <xsd:complexType>
               <xsd:sequence>
               <xsd:element name="Topic"
               type="wsnt:TopicExpressionType"/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <xsd:element name="GetCurrentMessageResponse">
               <xsd:complexType>
               <xsd:sequence>
               <xsd:any/>
               </xsd:sequence>
               </xsd:complexType>
               </xsd:element>
              
               <xsd:complexType name="ResourceUnknownFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="ResourceUnknownFault"
               type="wsnt:ResourceUnknownFaultType"/>
              
               <xsd:complexType name="SubscribeCreationFailedFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="SubscribeCreationFailedFault"
               type="wsnt:SubscribeCreationFailedFaultType"/>
              
               <xsd:complexType name="TopicPathDialectUnknownFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="TopicPathDialectUnknownFault"
               type="wsnt:TopicPathDialectUnknownFaultType"/>
              
               <xsd:complexType name="InvalidTopicExpressionFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="InvalidTopicExpressionFault"
               type="wsnt:InvalidTopicExpressionFaultType"/>
              
               <xsd:complexType name="TopicNotSupportedFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="TopicNotSupportedFault"
               type="wsnt:TopicNotSupportedFaultType"/>
              
               <xsd:complexType name="NoCurrentMessageOnTopicFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="NoCurrentMessageOnTopicFault"
               type="wsnt:NoCurrentMessageOnTopicFaultType"/>
              
              
               <!-- ========== Message Types for SubscriptionManager =========== -->
               <!-- Changed from original version to add the complex types to avoid platform issues. -->
               <xsd:element name="PauseSubscription">
               <xsd:complexType/>
               </xsd:element>
               <xsd:element name="PauseSubscriptionResponse">
               <xsd:complexType/>
               </xsd:element>
               <xsd:element name="ResumeSubscription">
               <xsd:complexType/>
               </xsd:element>
               <xsd:element name="ResumeSubscriptionResponse">
               <xsd:complexType/>
               </xsd:element>
              
               <xsd:complexType name="PauseFailedFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="PauseFailedFault"
               type="wsnt:PauseFailedFaultType"/>
              
               <xsd:complexType name="ResumeFailedFaultType">
               <xsd:complexContent>
               <xsd:extension base="wsbf:BaseFaultType"/>
               </xsd:complexContent>
               </xsd:complexType>
               <xsd:element name="ResumeFailedFault"
               type="wsnt:ResumeFailedFaultType"/>
              
               </xsd:schema>
               </wsdl:types>
              
               <!-- ================ NotificationConsumer::Notify ================
               Notify(
               NotificationMessage
               (TopicExpression, ProducerReference, Message)*
               returns: n/a (one way)
               -->
               <wsdl:message name="Notify">
               <wsdl:part name="Notify" element="wsnt:Notify"/>
               </wsdl:message>
              
               <!-- ============== NotificationProducer::Subscribe ===============
               Subscribe(
               (ConsumerEndpointReference, TopicExpression, [UseNotify],
               [Precondition], [Selector], [SubscriptionPolicy],
               [InitialTerminationTime])
               returns: WS-Resource qualified EPR to a Subscription
               -->
               <wsdl:message name="SubscribeRequest">
               <wsdl:part name="SubscribeRequest"
               element="wsnt:Subscribe"/>
               </wsdl:message>
              
               <wsdl:message name="SubscribeResponse">
               <wsdl:part name="SubscribeResponse"
               element="wsnt:SubscribeResponse"/>
               </wsdl:message>
              
               <wsdl:message name="ResourceUnknownFault">
               <part name="ResourceUnknownFault"
               element="wsnt:ResourceUnknownFault"/>
               </wsdl:message>
              
               <wsdl:message name="SubscribeCreationFailedFault">
               <part name="SubscribeCreationFailedFault"
               element="wsnt:SubscribeCreationFailedFault"/>
               </wsdl:message>
              
               <wsdl:message name="TopicPathDialectUnknownFault">
               <part name="TopicPathDialectUnknownFault"
               element="wsnt:TopicPathDialectUnknownFault"/>
               </wsdl:message>
              
               <!-- ========== NotificationProducer::GetCurrentMessage ===========
               GetCurrentMessage(topicExpression)
               returns: a NotificationMessage (xsd:any)
               -->
               <wsdl:message name="GetCurrentMessageRequest">
               <wsdl:part name="GetCurrentMessageRequest"
               element="wsnt:GetCurrentMessage"/>
               </wsdl:message>
              
               <wsdl:message name="GetCurrentMessageResponse">
               <wsdl:part name="GetCurrentMessageResponse"
               element="wsnt:GetCurrentMessageResponse"/>
               </wsdl:message>
              
               <wsdl:message name="InvalidTopicExpressionFault">
               <part name="InvalidTopicExpressionFault"
               element="wsnt:InvalidTopicExpressionFault"/>
               </wsdl:message>
              
               <wsdl:message name="TopicNotSupportedFault">
               <part name="TopicNotSupportedFault"
               element="wsnt:TopicNotSupportedFault"/>
               </wsdl:message>
              
               <wsdl:message name="NoCurrentMessageOnTopicFault">
               <part name="NoCurrentMessageOnTopicFault"
               element="wsnt:NoCurrentMessageOnTopicFault"/>
               </wsdl:message>
              
               <!-- ========== SubscriptionManager::PauseSubscription ============
               PauseSubscription()
               returns: empty
               -->
               <wsdl:message name="PauseSubscriptionRequest">
               <wsdl:part name="PauseSubscriptionRequest"
               element="wsnt:PauseSubscription"/>
               </wsdl:message>
              
               <wsdl:message name="PauseSubscriptionResponse">
               <wsdl:part name="PauseSubscriptionResponse"
               element="wsnt:PauseSubscriptionResponse"/>
               </wsdl:message>
              
               <wsdl:message name="PauseFailedFault">
               <part name="PauseFailedFault"
               element="wsnt:PauseFailedFault"/>
               </wsdl:message>
              
               <!-- ========= SubscriptionManager::ResumeSubscription ============
               ResumeSubscription()
               returns: empty
               -->
               <wsdl:message name="ResumeSubscriptionRequest">
               <wsdl:part name="ResumeSubscriptionRequest"
               element="wsnt:ResumeSubscription"/>
               </wsdl:message>
              
               <wsdl:message name="ResumeSubscriptionResponse">
               <wsdl:part name="ResumeSubscriptionResponse"
               element="wsnt:ResumeSubscriptionResponse"/>
               </wsdl:message>
              
               <wsdl:message name="ResumeFailedFault">
               <part name="ResumeFailedFault"
               element="wsnt:ResumeFailedFault"/>
               </wsdl:message>
              
               <!-- =================== PortType Definitions ===================== -->
               <!-- ========= NotificationConsumer PortType Definition =========== -->
               <wsdl:portType name="NotificationConsumer">
              
               <wsdl:operation name="Notify">
               <wsdl:input message="wsntw:Notify"/>
               </wsdl:operation>
              
               </wsdl:portType>
              
               <!-- ========= NotificationProducer PortType Definition =========== -->
               <wsdl:portType name="NotificationProducer"
               wsrp:ResourceProperties="wsnt:NotificationProducerRP">
              
               <!-- ========== extends wsrpw:ResourceProperties ============= -->
               <wsdl:operation name="GetResourceProperty">
               <wsdl:input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
               <wsdl:output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
               <wsdl:fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
               <wsdl:fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
               </wsdl:operation>
              
               <!-- =========== NotificationProducer Specific ============== -->
               <wsdl:operation name="Subscribe">
               <wsdl:input message="wsntw:SubscribeRequest"/>
               <wsdl:output message="wsntw:SubscribeResponse"/>
               <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
               <wsdl:fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault"/>
               <wsdl:fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault"/>
               </wsdl:operation>
              
               <wsdl:operation name="GetCurrentMessage">
               <wsdl:input message="wsntw:GetCurrentMessageRequest"/>
               <wsdl:output message="wsntw:GetCurrentMessageResponse"/>
               <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
               <wsdl:fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault"/>
               <wsdl:fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault"/>
               <wsdl:fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault"/>
               </wsdl:operation>
              
               </wsdl:portType>
              
               <!-- ========== SubscriptionManager PortType Definition =========== -->
               <wsdl:portType name="SubscriptionManager"
               wsrp:ResourceProperties="wsnt:SubscriptionManagerRP">
              
               <!-- ========== extends wsrpw:ResourceProperties ============= -->
               <wsdl:operation name="GetResourceProperty">
               <wsdl:input name="GetResourcePropertyRequest"
               message="wsrpw:GetResourcePropertyRequest"/>
               <wsdl:output name="GetResourcePropertyResponse"
               message="wsrpw:GetResourcePropertyResponse"/>
               <wsdl:fault name="ResourceUnknownFault"
               message="wsrpw:ResourceUnknownFault"/>
               <wsdl:fault name="InvalidResourcePropertyQNameFault"
               message="wsrpw:InvalidResourcePropertyQNameFault"/>
               </wsdl:operation>
              
               <!-- === extends wsrlw:ImmediateResourceTermination ========== -->
               <wsdl:operation name="Destroy">
               <wsdl:input message="wsrlw:DestroyRequest"/>
               <wsdl:output message="wsrlw:DestroyResponse"/>
               <wsdl:fault name="ResourceUnknownFault"
               message="wsrlw:ResourceUnknownFault"/>
               <wsdl:fault name="ResourceNotDestroyedFault"
               message="wsrlw:ResourceNotDestroyedFault"/>
               </wsdl:operation>
              
               <!-- === extends wsrl:ScheduledResourceTermination ========== -->
               <wsdl:operation name="SetTerminationTime">
               <wsdl:input message="wsrlw:SetTerminationTimeRequest"/>
               <wsdl:output message="wsrlw:SetTerminationTimeResponse"/>
               <wsdl:fault name="ResourceUnknownFault"
               message="wsrlw:ResourceUnknownFault"/>
               <wsdl:fault name="UnableToSetTerminationTimeFault"
               message="wsrlw:UnableToSetTerminationTimeFault"/>
               <wsdl:fault name="TerminationTimeChangeRejectedFault"
               message="wsrlw:TerminationTimeChangeRejectedFault"/>
               </wsdl:operation>
              
               <!-- ========= SubscriptionManager specific operations ====== -->
               <wsdl:operation name="PauseSubscription">
               <wsdl:input message="wsntw:PauseSubscriptionRequest"/>
               <wsdl:output message="wsntw:PauseSubscriptionResponse"/>
               <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
               <wsdl:fault name="PauseFailedFault" message="wsntw:PauseFailedFault"/>
               </wsdl:operation>
              
               <wsdl:operation name="ResumeSubscription">
               <wsdl:input message="wsntw:ResumeSubscriptionRequest"/>
               <wsdl:output message="wsntw:ResumeSubscriptionResponse"/>
               <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
               <wsdl:fault name="ResumeFailedFault" message="wsntw:ResumeFailedFault"/>
               </wsdl:operation>
              
               </wsdl:portType>
              
              </wsdl:definitions>
              


              That WSDLs matching schema
              <?xml version="1.0"?>
              
              <!--
              
              OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
              
              OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
              
              Copyright (C) OASIS Open (2004). All Rights Reserved.
              
              This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.
              
              The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
              
              This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
              
              -->
              
              <xsd:schema
               xmlns="http://www.w3.org/2001/XMLSchema"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
               xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
               xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
               targetNamespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
               elementFormDefault="qualified">
              
               <!-- ======================== Imports ============================ -->
              
               <xsd:import namespace=
               "http://schemas.xmlsoap.org/ws/2003/03/addressing"
               schemaLocation=
               "../wsa/WS-Addressing-2003_03.xsd"
               />
              
               <xsd:import namespace=
               "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
               schemaLocation=
               "../wsrf/WS-ResourceProperties-1_2-Draft_01.xsd"
               />
              
               <!-- ================= Topic Expression Container ================= -->
               <xsd:complexType name="TopicExpressionType" mixed="true">
               <xsd:sequence>
               <xsd:any minOccurs="0" maxOccurs="1" processContents="lax"/>
               </xsd:sequence>
               <xsd:attribute name="Dialect" type="xsd:anyURI"/>
               </xsd:complexType>
              
               <xsd:element name="TopicExpression"
               type="wsnt:TopicExpressionType"/>
              
               <!-- =============== Resource Property Related =================== -->
               <!-- ======== Resource Properties for NotificationProducer ======== -->
               <xsd:element name="Topic" type="wsnt:TopicExpressionType"/>
              
               <xsd:element name="FixedTopicSet" type="xsd:boolean"/>
              
               <xsd:element name="TopicExpressionDialects" type="xsd:anyURI"/>
              
               <!-- ======== Resource Properties for SubscriptionManager ========= -->
               <xsd:element name="ConsumerReference"
               type="wsa:EndpointReferenceType"/>
               <xsd:element name="UseNotify"
               type="xsd:boolean"/>
               <xsd:element name="Precondition"
               type="wsrp:QueryExpressionType"/>
               <xsd:element name="Selector"
               type="wsrp:QueryExpressionType"/>
               <xsd:element name="SubscriptionPolicy"
               type="xsd:anyType"/>
               <xsd:element name="CreationTime"
               type="xsd:dateTime"/>
              
              </xsd:schema>
              


              Another WSDL
              <?xml version="1.0"?>
              
              <!--
              
              Legal Disclaimer
              
              The presentation, distribution or other dissemination of the information
              contained in this document is not a license, either expressly or impliedly,
              to any intellectual property owned or controlled by BEA or IBM or Microsoft
              and\or any other third party. BEA and IBM and Microsoft and\or any other
              third party may have patents, patent applications, trademarks, copyrights,
              or other intellectual property rights covering subject matter in this
              document. The furnishing of this document does not give you any license
              to BEA's and IBM's and Microsoft's or any other third party's patents,
              trademarks, copyrights, or other intellectual property.
              
              This document and the information contained herein is provided on an "AS IS"
              basis and to the maximum extent permitted by applicable law, BEA and IBM
              and Microsoft provide the document AS IS AND WITH ALL FAULTS, and hereby
              disclaims all other warranties and conditions, either express, implied or
              statutory, including, but not limited to, any (if any) implied warranties,
              duties or conditions of merchantability, of fitness for a particular
              purpose, of accuracy or completeness of responses, of results, of
              workmanlike effort, of lack of viruses, and of lack of negligence, all with
              regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF
              TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR
              NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE
              DOCUMENT.
              
              IN NO EVENT WILL BEA or IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE
              COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE,
              LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL
              DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY
              WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR
              NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
              
              Copyright Notice
              
              Copyright 2003 BEA Systems Inc. and IBM Corporation and Microsoft Corporation. All rights reserved.
              
              -->
              
              <xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">
              
               <!-- //////////////////// WS-Addressing //////////////////// -->
               <!-- Endpoint reference -->
               <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
               <xs:complexType name="EndpointReferenceType">
               <xs:sequence>
               <xs:element name="Address" type="wsa:AttributedURI"/>
               <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
               <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
               <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
               <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
               <xs:annotation>
               <xs:documentation>
               If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
               </xs:documentation>
               </xs:annotation>
               </xs:any>
               </xs:sequence>
               <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
               </xs:complexType>
               <xs:complexType name="ReferencePropertiesType">
               <xs:sequence>
               <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
               </xs:sequence>
               </xs:complexType>
               <xs:complexType name="ServiceNameType">
               <xs:simpleContent>
               <xs:extension base="xs:QName">
               <xs:attribute name="PortName" type="xs:NCName"/>
               <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
               </xs:extension>
               </xs:simpleContent>
               </xs:complexType>
               <!-- Message information header blocks -->
               <xs:element name="MessageID" type="wsa:AttributedURI"/>
               <xs:element name="RelatesTo" type="wsa:Relationship"/>
               <xs:element name="To" type="wsa:AttributedURI"/>
               <xs:element name="Action" type="wsa:AttributedURI"/>
               <xs:element name="From" type="wsa:EndpointReferenceType"/>
               <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
               <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
               <xs:element name="Recipient" type="wsa:EndpointReferenceType"/>
               <xs:complexType name="Relationship">
               <xs:simpleContent>
               <xs:extension base="xs:anyURI">
               <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
               <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
               </xs:extension>
               </xs:simpleContent>
               </xs:complexType>
               <xs:simpleType name="RelationshipTypeValues">
               <xs:restriction base="xs:QName">
               <xs:enumeration value="wsa:Response"/>
               </xs:restriction>
               </xs:simpleType>
               <!-- Common declarations and definitions -->
               <xs:complexType name="AttributedQName">
               <xs:simpleContent>
               <xs:extension base="xs:QName">
               <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
               </xs:extension>
               </xs:simpleContent>
               </xs:complexType>
               <xs:complexType name="AttributedURI">
               <xs:simpleContent>
               <xs:extension base="xs:anyURI">
               <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
               </xs:extension>
               </xs:simpleContent>
               </xs:complexType>
              </xs:schema>
              



              I'd rather not rip out my WSDLs and start over. I am using the published WSDLs from the Apache Pubscribe project. These follow the base notification standard and are exactly what my application needs for functionality. If anyone could help, that'd be great.

              • 4. Re: org.xml.sax.SAXException: Invalid element error at the s
                Justin Babuscio Newbie

                ramachennupati,


                I'm having some trouble seeing the differences between your files. It would be helpful if you could email me your WSDL as well as the one one you posted before that didn't work. I could do some type of diff on the files and try to find my errors. Could you email them to btrain35@gmail.com

                Thank you so much.