0 Replies Latest reply on Sep 26, 2005 5:58 PM by ninusl

    org.xml.sax.SAXException in the web service hello example

    ninusl

      I am trying to run the hello web services example in chapter 12, however I am getting the following error message:

      MyExceptionError processing WSDL document:
      org.xml.sax.SAXException: Fatal Error: URI=http://MMATTHEWS:8080/hello-servlet/H
      ello Line=2: Element type "meta" must be followed by either attribute specificat
      ions, ">" or "/>".

      Here is the WSDL file as described in the tutorial

      <?xml version="1.0" encoding="UTF-8"?>
      <definitions name="HelloService"
      targetNamespace="http://hello.chap12.jboss.org/"
      xmlns:tns="http://hello.chap12.jboss.org/"
      xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">














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

      <soap:operation soapAction=""/>

      <soap:body use="literal" namespace="http://hello.chap12.jboss.org/"/>


      <soap:body use="literal" namespace="http://hello.chap12.jboss.org/"/>





      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>




      What is wrong here?