[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [JBoss-user] [JBoss.NET] - wsdl:arrayType=
From: vbatista <nukes () jboss ! org>
Date: 2004-08-31 16:09:02
Message-ID: 24683107.1093968542660.JavaMail.root () ads ! jboss ! org
[Download RAW message or body]
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)
View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846773#3846773
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846773
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic