Title: RE: wsdl2java mapping primitives to objects
If you’ve got Ant then its very
easy:
package="ws-axis"
dest="."
/>
target="compile"
inher
Title: RE: wsdl2java mapping primitives to objects
Just to follow up on this.
I tried this with 1.1 and it worked fine. For the following type:
1.2 Alpha generated an int and a double, where 1.1 generated a java.lang.double
and a
Title: RE: wsdl2java mapping primitives to objects
Sekhar,
I’m
using 1.2 alpha, so maybe I need to try this with 1.1 as well. I think what I’ll do is to create a
test case using multiple primitives, try it out with 1.1, 1.2 alpha, and the
nightly builds. If it
Title: RE: wsdl2java mapping primitives to objects
Bill,
I am using axis 1.1 and it does work for me but for a
slightly different case. The case I have is
and it maps to a Double. I do not have a specific case for Integer but was
assuming it would work if it came up.
I also had a
Title: RE: wsdl2java mapping primitives to objects
Java2WSDL and WSDL2Java are buggy. I know
that some bugs have been fixed in the nightlies, so I'm actually going to
download that now instead of using 1.2 alpha. A committer would probably
tell you to upgrade to the nightlies, see i
Title: RE: wsdl2java mapping primitives to objects
Sekhar,
Based
on the documentation, it looks like there is a bug in wsdl2java. Have you been able to map a nillable
xsd:int to a Java Integer? Has anyone
else?
Bill
Bill Heitzeg
1-734-995-9131
Title: RE: wsdl2java mapping primitives to objects
Here is the documentation on this from user guide
Standard mappings from WSDL to Java
xsd:base64Binary byte[]
xsd:boolean boolean
xsd:byte byte
xsd:dateTime java.util.Calendar
xsd:decimal
, February 17, 2004 10:42 AM
To: [EMAIL PROTECTED]
Subject:Re: wsdl2java mapping primitives to objects
I believe that if the WSDL specifies that the field is nillable, then
xsd:int is mapped to Integer instead of int. Can you change your WSDL?
Matt
- Original Message -
From
I believe that if the WSDL specifies that the field is nillable, then
xsd:int is mapped to Integer instead of int. Can you change your WSDL?
Matt
- Original Message -
From: "Heitzeg, Bill" <[EMAIL PROTECTED]>
To: "Axis-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 1