2 Replies Latest reply on Sep 16, 2004 12:50 PM by vbatista

    wsdl:arrayType=

      Hi!
      I am having problems exporting one session bean as a web service (JBOSS-NET) with jboss 3.2.1. The WSDL contains the block below, which crashes the WSDL2Java. If I deploy my ear with jboss 3.2.3 I don't have the block below on the WSDL and everything works fine. The problem is due to Exceptions in the throws clause of the exported methods. If I remove the throws from my methods, everything works fine on both jboss 3.2.1 and 3.2.3.

      <schema targetNamespace="http://127.0.0.1:8080/jboss-net/services/MyWebService" xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
       <complexType name="ArrayOf_tns4_StackTraceElement">
       <complexContent>
       <restriction base="soapenc:Array">
       <attribute ref="soapenc:arrayType" wsdl:arrayType="null[]" />
       </restriction>
       </complexContent>
       </complexType>
       </schema>




      I really need to deploy my ear on jboss 3.2.1.
      Any help would be appreciated.
      Thanks in advance,
      Victor Batista

      PS: The exception I get when I run WSDL2Java
      [java] java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}null is referenced but not defined.
      [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:484)
      [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:384)
      [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:371)
      [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:358)
      [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:243)
      [java] at java.lang.Thread.run(Thread.java:534)