axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walker, Jeff" <>
Subject RE: int values lost
Date Tue, 03 Jul 2007 13:19:00 GMT
I noticed your using soap encoding in your wsdl. Can you switch to
(I'm guessing there will be precious few bug fixes in the soap encoding
parts of Axis 1.2/1.4 if this turns out to be an Axis error, which I
doubt). It just isn't popular anymore.

I can't help much. I don't know 4D and I also don't know how to force
the stub to use strings all the time. (I actually don't think you can).
The only suggestion I can make is to switch from soap encoding to
literal, and also adopt document vs. rpc, then try again.

Perhaps one of the Axis developers can help you better than I?


-----Original Message-----
From: Roland Carlsson [] 
Sent: Tuesday, July 03, 2007 5:57 AM
Subject: Re: int values lost


I have checked the version and it's 1.4. I have removed some redundat 
libraries. But it wasn't the way to success.

When I change the files generated by WSDL2Java I can get values to the 
server by changing the datatype from int to String but that seems like a

bad solution since I regenerate the stubs on regular basis.

Is there a way to generate the stubs that perhaps could be more 
forgiving? All values as String, untyped etc etc?

I append the wsdl that I use to generate the stubs from if there could 
be anything strange in that? It's from a 4D Server. (

Thanks in advance

Walker, Jeff skrev:
> Not sure if this helps,
> but you can call org.apache.axis.Version.getVersionText() to get the
> version of Axis you're running.
> I'm running Axis1.3 and they are the versions of the jars I have.
> I suggest you undeploy everything, copy 1.4 again, and start again
> a clean deployment.
> -jeff
> -----Original Message-----
> From: Roland Carlsson [] 
> Sent: Monday, July 02, 2007 4:56 PM
> To:
> Subject: int values lost
> Hi!
> I updated Axis from 1.2 to 1.4 and now I can't use a couple of 
> web-service that have a int as first argument. The webservice-call 
> doesn't fail but the int-value is always one. I have debugged my code 
> and as far as I can follow it do what it should but the reciving
> only recives a 0 (zero).
> java -cp 
> scovery-0.2.jar:wsdl4j-1.5.1.jar:jaxrpc.jar:saaj.jar 
> org.apache.axis.wsdl.WSDL2Java
> and those libraries are available at the client that uses the stubs.
> I'm guessing that I have some kind of versioning-problem in the
> (.jar) but I have no idea of how to figure out wich one it could be.
> How to find out what's wrong.
> Thanks in advance
> Roland
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message