Hi,
The userguide says , generate stubs using the command
WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -o ..\samples\src -p org.apache.axis2.userguide
However this generates the stub with default databinding ADB.
The subsequent sample code on the same page echoString, echoStringArray etc are written assuming xmlbeans databinding and will not compile.
For echoString to work as is, the stub needs to be generated using
WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -d xmlbeans -o ..\samples\src -p org.apache.axis2.userguide
regards
Mj
