You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "liangkun (JIRA)" <ji...@apache.org> on 2009/09/11 10:35:57 UTC

[jira] Issue Comment Edited: (GERONIMO-4866) G22 documentation's bugs

    [ https://issues.apache.org/jira/browse/GERONIMO-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754046#action_12754046 ] 

liangkun edited comment on GERONIMO-4866 at 9/11/09 1:35 AM:
-------------------------------------------------------------

Hi all,
 Bug 1:  http://cwiki.apache.org/GMOxDOC22/developing-clients-for-a-jax-ws-web-service.html

(1) Because G22 has integrated Axis ,we should not set Axis2 Web Services.
(2)  {noformat}  Client Stubs Generation
<%SERVEER_INSTALLATION_BIN_DIR%>:\ jaxws-tools.bat wsimport -s C:\WSDL http://localhost:8080/jaxws-conveter/converter?wsdl
{noformat} 
should be changed into 
{panel}
<%SERVEER_INSTALLATION_BIN_DIR%>:\ 
jaxws-tools.bat wsimport -s C:\WSDL http://localhost:8080jaxws-{color:red}converter{color}/converter?wsdl
{panel}
(3){noformat} Copy the files Converter.java and ConverterPortType.java and place them in the appropriate folder according to their package declaration{noformat} 
should be changed into:
{panel}Copy the files Converter.java and ConverterPortType.java and {color:red}ObjectFactory.java{color} and place them in the appropriate folder according to their package declaration{panel}
 
(4)In the result.jsp:
{noformat}  
.....
Converter conv = new Converter();
ConverterPortType port = conv.getConverterPort();
BigDecimal rupees = conv.dollarToRupees(dollars);
BigDecimal euros = conv.rupeesToEuro(rupees);
......
{noformat} 
should be changed into:
{panel}
.....
Converter conv = new Converter();
ConverterPortType port = conv.getConverterPort();
BigDecimal rupees = {color:red}port{color}.dollarToRupees(dollars);
BigDecimal euros = {color:red}port{color}.rupeesToEuro(rupees);
......
{panel}




      was (Author: ben.liang):
    Hi all,
 Bug 1:  http://cwiki.apache.org/GMOxDOC22/developing-clients-for-a-jax-ws-web-service.html

(1) Because G22 has integrated Axis ,we should not set Axis2 Web Services.
(2)  {noformat}  Client Stubs Generation
<%SERVEER_INSTALLATION_BIN_DIR%>:\ jaxws-tools.bat wsimport -s C:\WSDL http://localhost:8080/jaxws-conveter/converter?wsdl
{noformat} 
should be changed into 
{panel}
<%SERVEER_INSTALLATION_BIN_DIR%>:\ 
jaxws-tools.bat wsimport -s C:\WSDL http://localhost:8080jaxws-{color:red}converter{color}/converter?wsdl
{panel}
(3){noformat} Copy the files Converter.java and ConverterPortType.java and place them in the appropriate folder according to their package declaration{noformat} 
should be changed into:
{panel}Copy the files Converter.java and ConverterPortType.java and {color:red}ObjectFactory.java{color} and place them in the appropriate folder according to their package declaration{panel}
 
(4)In the result.jsp:
{noformat}  
.....
Converter conv = new Converter();
ConverterPortType port = conv.getConverterPort();
BigDecimal rupees = conv.dollarToRupees(dollars);
BigDecimal euros = conv.rupeesToEuro(rupees);
......
{noformat} 
should be changed into:
{panel}
.....
Converter conv = new Converter();
ConverterPortType port = conv.getConverterPort();
BigDecimal rupees = port.dollarToRupees(dollars);
BigDecimal euros = port.rupeesToEuro(rupees);
......
{panel}



  
> G22 documentation's bugs
> ------------------------
>
>                 Key: GERONIMO-4866
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4866
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: documentation
>    Affects Versions: 2.2
>         Environment: sp2
> jdk 1.6
>            Reporter: liangkun
>            Priority: Minor
>
>       This JIRA is mainly about the bugs in the G22 documentation and as the bugs of G22 documentation found may take a long time, this JIRA will be open for a  long time and some bugs will be created as a type of comment.
>      I hope this will be useful to the documentation maintainers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.