[ http://issues.apache.org/jira/browse/AXIS2-1577?page=comments#action_12447330 ] Manoj Khangaonkar commented on AXIS2-1577: ------------------------------------------
This is a 1.0 issue only. It appears fixed in the 1.1 documentation and can be closed. > User guide Page 3 : Writing Web service clients using code generation > --------------------------------------------------------------------- > > Key: AXIS2-1577 > URL: http://issues.apache.org/jira/browse/AXIS2-1577 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: documentation > Affects Versions: 1.0, 1.1 > Environment: windows > Reporter: Manoj Khangaonkar > Priority: Minor > > 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 the -d > xmlbeans option as below > WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -d xmlbeans -o > ..\samples\src -p org.apache.axis2.userguide -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
