This is getting really frustrating...  >-(

I downloaded the snapshot distribution from here (by the way it was the
april 10 version):

http://people.apache.org/dist/axis2/nightly/distribution-SNAPSHOT-bin.zip
http://people.apache.org/dist/axis2/nightly/distribution-SNAPSHOT-bin.zip 

I dropped it to a folder on my drive.

I updated my AXIS2_HOME environment variable to point to that folder.

Opened a DOS prompt, went to the folder's bin sub-folder, and typed :

wsdl2java -u -uri http://api.betdaq.com/v2.0/API.wsdl

This created a "src" sub-tree.  In
\src\com\globalbettingexchange\www\externalapi, I found all the generated
classes.  I copied the \com folder to my Eclipse project.

I then copied all the jars from the \lib sub-folder of the distribution to
my project's lib directory, and updated the build path in the project
properties to include those jars.

Tried compiling : came up with a bunch of errors.

The first one says :

    [javac]
...\com\globalbettingexchange\www\externalapi\ReadOnlyServiceStub.java:413:
cannot find symbol
    [javac] symbol  : method
receiveResultGetPrices(com.globalbettingexchange.www.externalapi.GetPricesResponseE)
    [javac] location: class
com.globalbettingexchange.www.externalapi.ReadOnlyServiceCallbackHandler
    [javac] callback.receiveResultGetPrices(

Sure enough, this receiveResultGetPrices method is nowhere to be found in
any of the source files generated by wsdl2java.

Could it be that the snapshot of April 10th has a bug ?



alpatino2 wrote:
> 
> I noticed a different behavior using axis2-SNAPSHOT, let me show you a
> wireshark tcpdump, you can download it here:
> http://www.4shared.com/file/43614007/1e675e4b/soaprequest.html
> 
> As you can see the soap body is empty but the info is inside de SOAP
> Header, could you try to run the program with the SANPSHOT version?
> 
> Also please update your source code with the right class names,
> because you know the newest axis2 version uses a new naming schema.
> 
> Here is the sample code I tried:
> http://www.4shared.com/file/43614271/bbc1b9d7/BetdaqClient.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Just-a-small-client-sample-would-really-be-great-%21-tp16532618p16608590.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to