You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Manoj Khangaonkar (JIRA)" <ji...@apache.org> on 2006/11/06 00:30:17 UTC

[jira] Commented: (AXIS2-1577) User guide Page 3 : Writing Web service clients using code generation

    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org