axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: New Wsdl Test
Date Tue, 12 Feb 2002 22:07:52 GMT

OK great.

Since you beat me to the xmlToJavaName patch, I thought I would get this one in.
You're just moving too fast for me! :-)

--
Tom Jordahl


-----Original Message-----
From: Russell Butek [mailto:butek@us.ibm.com]
Sent: Tuesday, February 12, 2002 4:58 PM
To: axis-dev@xml.apache.org
Subject: RE: New Wsdl Test


Tom,

Brent and I have discussed this.  I saw the same problems you did.  We
start with WSDL, generate Java, generate WSDL again, then generate Java
again.  The first java generation created classes that would work for you
and I.  The 2nd did not.   (Try WSDL2Java on the command line on Brent's
roundtrip.wsdl and you should get something that works.)  The problem is
with the constructor.  The parameters are in a different order than what is
expected.  Brent just gave me a version of his test where he calls the
setters rather than setting all the values via the constructor.  That
version seems to work and I'll commit it shortly.

I'm still puzzled as to why we have two versions of the generated code and
I should probably look into it.  It's added to my todo list.

Russell Butek
butek@us.ibm.com


Tom Jordahl <tomj@macromedia.com> on 02/12/2002 03:54:13 PM

Please respond to axis-dev@xml.apache.org

To:   "'axis-dev@xml.apache.org'" <axis-dev@xml.apache.org>, Brent
      Ulbricht/Austin/IBM@IBMUS
cc:
Subject:  RE: New Wsdl Test




Brent,

This looks like a great test case, but when I extracted it and tried to run
it here are the compilation errors I got:

    [javac] D:
\dev\axis\xml-axis\java\build\work\test\wsdl\roundtrip\RoundtripTe
stServiceTestCase.java:208: cannot resolve symbol
    [javac] symbol  : constructor BondInvestment
(test.wsdl.roundtrip.CallOptio
ns[],java.lang.Short[],java.lang.Byte
[],java.lang.Double,java.lang.Float,java.la
ng.Integer,java.lang.Short,java.lang.Byte,java.lang.Boolean,short[],byte
[],java.
util.Date,java.math.BigDecimal,java.math.BigInteger,java.lang.String,double,floa

t,long,int,short,byte)
    [javac] location: class test.wsdl.roundtrip.BondInvestment
    [javac]             BondInvestment sendValue = new
BondInvestment(callOption
s,
    [javac]                                        ^
    [javac] D:
\dev\axis\xml-axis\java\build\work\test\wsdl\roundtrip\RoundtripTe
stServiceTestCase.java:419: cannot resolve symbol
    [javac] symbol  : constructor BondInvestment
(test.wsdl.roundtrip.CallOptio
ns[],java.lang.Short[],java.lang.Byte
[],java.lang.Double,java.lang.Float,java.la
ng.Integer,java.lang.Short,java.lang.Byte,java.lang.Boolean,short[],byte
[],java.
util.Date,java.math.BigDecimal,java.math.BigInteger,java.lang.String,double,floa

t,long,int,short,byte)
    [javac] location: class test.wsdl.roundtrip.BondInvestment
    [javac]             BondInvestment sendValue = new
BondInvestment(callOption
s,
    [javac]                                        ^
    [javac] D:
\dev\axis\xml-axis\java\build\work\test\wsdl\roundtrip\RoundtripTe
stSoapBindingImpl.java:124: cannot resolve symbol
    [javac] symbol  : constructor BondInvestment
(test.wsdl.roundtrip.CallOptio
ns[],java.lang.Short[],java.lang.Byte
[],java.lang.Double,java.lang.Float,java.la
ng.Integer,java.lang.Short,java.lang.Byte,java.lang.Boolean,short[],byte
[],java.
util.Date,java.math.BigDecimal,java.math.BigInteger,java.lang.String,double,floa

t,long,int,short,byte)
    [javac] location: class test.wsdl.roundtrip.BondInvestment
    [javac]         BondInvestment sendValue = new
BondInvestment(callOptions,
    [javac]                                    ^
    [javac] D:
\dev\axis\xml-axis\java\build\work\test\wsdl\roundtrip\RoundtripTe
stSoapBindingImpl.java:187: cannot resolve symbol
    [javac] symbol  : constructor BondInvestment
(test.wsdl.roundtrip.CallOptio
ns[],java.lang.Short[],java.lang.Byte
[],java.lang.Double,java.lang.Float,java.la
ng.Integer,java.lang.Short,java.lang.Byte,java.lang.Boolean,short[],byte
[],java.
util.Date,java.math.BigDecimal,java.math.BigInteger,java.lang.String,double,floa

t,long,int,short,byte)
    [javac] location: class test.wsdl.roundtrip.BondInvestment
    [javac]         BondInvestment sendValue = new
BondInvestment(callOptions,
    [javac]                                    ^
    [javac] 4 errors

--
Tom Jordahl
Macromedia



-----Original Message-----
From: Brent Ulbricht [mailto:ulbricht@us.ibm.com]
Sent: Tuesday, February 12, 2002 9:53 AM
To: axis-dev@xml.apache.org
Subject: New Wsdl Test


Hi,

I have attached a test primarily to verify a roundtrip between Java2WSDL
and WSDL2Java for primitives, standard Java classes, nillables, arrays,
multiple arrays, and JAX-RPC value types.

(See attached file: roundtrip.zip)

 Brent Ulbricht


Mime
View raw message