1 Reply Latest reply: May 29, 2013 9:29 PM by Pierluigi Vernetto RSS

    Weblogic - Web Service client generation using clientgen failing

    1011715
      Hi,

      I am trying to generate webservice client by providing wsdl url to the clientgen task, but I am getting the following error:

      java.lang.StackOverflowError
      at java.io.PushbackInputStream.read([BII)I(PushbackInputStream.java:140)

      at weblogic.xml.babel.reader.XmlReader$Utf8Reader.read([CII)I(Optimized
      Method)
      at weblogic.xml.babel.reader.XmlReader.read([CII)I(Optimized Method)
              at weblogic.xml.babel.scanner.AttributeValue.readDoubleQuote()V(Optimize
      d Method)
              at weblogic.xml.babel.scanner.OpenTag.read()V(Optimized Method)
              at weblogic.xml.babel.scanner.Scanner.startState()V(Optimized Method)
              at weblogic.xml.babel.scanner.Scanner.scan()Lweblogic/xml/babel/scanner/
      Token;(Optimized Method)
              at weblogic.xml.babel.baseparser.BaseParser.accept(I)V(Optimized Method)

              at weblogic.xml.babel.baseparser.EndElement.parse(Lweblogic/xml/babel/ba
      separser/BaseParser;)V(EndElement.java:34)
              at weblogic.xml.babel.baseparser.BaseParser.parseElement()Lweblogic/xml/
      babel/baseparser/Element;(Optimized Method)
              at weblogic.xml.babel.baseparser.BaseParser.parseSome()Lweblogic/xml/bab
      el/baseparser/Element;(Optimized Method)
              at weblogic.xml.babel.parsers.XMLInputStreamParser.streamParseSome()Z(Op
      timized Method)
              at weblogic.xml.babel.stream.XMLInputStreamBase.peek()Lweblogic/xml/stre
      am/XMLEvent;(Optimized Method)
              at weblogic.xml.stream.util.XMLInputStreamFilterBase.hasNext()Z(Optimize
      d Method)
              at weblogic.xml.xmlnode.XMLNode.readChildren(Lweblogic/xml/stream/XMLEve
      nt;Lweblogic/xml/stream/XMLInputStream;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.read(Lweblogic/xml/stream/XMLInputStream
      ;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.readChildren(Lweblogic/xml/stream/XMLEve
      nt;Lweblogic/xml/stream/XMLInputStream;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.read(Lweblogic/xml/stream/XMLInputStream
      ;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.readChildren(Lweblogic/xml/stream/XMLEve
      nt;Lweblogic/xml/stream/XMLInputStream;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.read(Lweblogic/xml/stream/XMLInputStream
      ;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.readChildren(Lweblogic/xml/stream/XMLEve
      nt;Lweblogic/xml/stream/XMLInputStream;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.read(Lweblogic/xml/stream/XMLInputStream
      ;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.readChildren(Lweblogic/xml/stream/XMLEve
      nt;Lweblogic/xml/stream/XMLInputStream;)V(Optimized Method)
              at weblogic.xml.xmlnode.XMLNode.read(Lweblogic/xml/stream/XMLInputStream
      ;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)
              at weblogic.webservice.tools.wsdlp.DefinitionFactory.resolveImports(Ljav
      a/lang/String;Lweblogic/xml/xmlnode/XMLNode;)V(Optimized Method)


      Tried to increase the JVM size to 256 M but no help. Does it have something to do with the wsdl ?

      Thank you