axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrei <>
Subject Re: Problems generating the client for the ClickandBuy API
Date Mon, 03 Dec 2012 15:04:37 GMT
Hi Christian,

I never tried to generate client classes with axis2 before, because I
successfully used Apache CXF for this purpose. For now I tried the
generation with axis2 and run into the same troubles described by you.

Here you can find a working example using Maven, Apache CXF and Spring WS to
generate and use a SOAP client for ClickandBuy payment API:

Maybe you can use this way until the axis way will be fixed. 
Just checkout the whole project and run "mvn clean test", it will generate
the client stub classes and run the test client against the ClickandBuy
sandbox environment, the generated classes you'll find in
clickandbuy.api.soap.cfx/src/main/generated/ .

In case you want only to generate the client classes, run "mvn clean
install", then go into clickandbuy.api.soap.cfx and run "mvn clean
cxf-codegen:wsdl2java" there. 

The only piece of java coded manualy is the test class where you can see how
to call the generated client classes:
,  in the test class only one API call is implemented(payRequest call), the
rest you have to add yourself in the same way.

The test data you can change in the property file, and of course you need
your own secretKey and further auth data from your ClickandBuy merchant


View this message in context:
Sent from the Axis Java - User mailing list archive at

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

View raw message