javax.xml.rpc.ServiceException

Failed to parse WSDL http://localhost.on24.com:5001/wstest/HelloWorldService weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Unbalanced ELEMENT got:body expected:h1

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web23

  • Stack trace

    • javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost.on24.com:5001/wstest/HelloWorldService weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Unbalanced ELEMENT got:body expected:h1 at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:163) at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:446) at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:108) at com.on24.webservices.clients.helloworld.HelloWorldService_Impl.<init>(Unknown Source) at com.on24.webservices.clients.helloworld.HelloWorldService_Impl.<init>(Unknown Source) at com.on24.webservices.clients.helloworld.HelloWorldTestClient.main(HelloWorldTestClient.java:11) Caused by: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Unbalanced ELEMENT got:body expected:h1 at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313) at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:361) at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:50) at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:437) ... 4 more Caused by: java.io.IOException: Unbalanced ELEMENT got:body expected:h1 at weblogic.xml.domimpl.Loader.load(Loader.java:38) at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:149) at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:56) at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311) ... 7 more Caused by: javax.xml.stream.XMLStreamException: Unbalanced ELEMENT got:body expected:h1 at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:208) at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:241) at weblogic.xml.domimpl.Loader.load(Loader.java:112) at weblogic.xml.domimpl.Loader.load(Loader.java:73) at weblogic.xml.domimpl.Loader.load(Loader.java:35) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,