You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Russell Butek <bu...@us.ibm.com> on 2002/05/01 14:10:15 UTC
Re: Java2WSDL breaks for me beta1 -> beta2
Show us your Java class. Did you use ?wsdl or Java2WSDL? If Java2WSDL,
show us the command line options you used.
Russell Butek
butek@us.ibm.com
Bob Cotton <bc...@synxis.com>@synxis.com on 04/30/2002 04:35:36 PM
Please respond to axis-user@xml.apache.org
Sent by: bcotton@synxis.com
To: axis-user@xml.apache.org
cc:
Subject: Java2WSDL breaks for me beta1 -> beta2
Just got around to getting beta2. I get the following generating WSDL
from a class that works for beta1.
This takes about 15min at 100% CPU to get this error:
[java] javax.xml.rpc.JAXRPCException: unable to get serializer for
class org.apache.axis.encoding.ser.BeanSerializer
[java] at
org.apache.axis.encoding.ser.BaseSerializerFactory.getSerializerAs(BaseSerializerFactory.java:144)
[java] at
org.apache.axis.encoding.ser.BeanSerializerFactory.getSerializerAs(BeanSerializerFactory.java:90)
[java] at
org.apache.axis.wsdl.fromJava.Types.writeType(Types.java:370)
[java] at
org.apache.axis.wsdl.fromJava.Types.writeTypeAsElement(Types.java:179)
[java] at
org.apache.axis.wsdl.fromJava.Types.writePartType(Types.java:168)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.writePartToMessage(Emitter.java:878)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.writeResponseMessage(Emitter.java:789)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.writeMessages(Emitter.java:606)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.writePortType(Emitter.java:571)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:322)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:228)
[java] at
org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:282)
[java] at
org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:358)
Any ideas?
- Bob
--
SynXis Corporation | bob@synxis.com | Obstacles are those frightful
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take
your
Denver, CO 80202 | Fax:(303)534-4257 | eyes off your goal. -Henry
Ford
Re: Java2WSDL breaks for me beta1 -> beta2
Posted by Bob Cotton <bc...@synxis.com>.
The change in Java2WSDL that is wreaking havoc is that Java2WSDL is
now picking up non-public methods on the target class, by default.
Even if I specify the list of methods to use on the command line, if I
have an overloaded method, one private and one public they BOTH get
picked up. Then we run into the WSDL2Java overloaded method problem.
Is this something we want? Exposing non-public methods as web
services?
- Bob
--
SynXis Corporation | bob@synxis.com | Obstacles are those frightful
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take your
Denver, CO 80202 | Fax:(303)534-4257 | eyes off your goal. -Henry Ford