axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zoetebier (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5134) userguide-codelisting7.html has compile errors due to methods starting with uppercase
Date Thu, 25 Aug 2011 21:50:34 GMT
userguide-codelisting7.html has compile errors due to methods starting with uppercase
-------------------------------------------------------------------------------------

                 Key: AXIS2-5134
                 URL: https://issues.apache.org/jira/browse/AXIS2-5134
             Project: Axis2
          Issue Type: Improvement
          Components: samples
    Affects Versions: 1.5.5
            Reporter: John Zoetebier
            Priority: Minor


Code list userguide-codelisting7.html will not compile to to method names of stub starting
with uppercase characters, while the actual method names in stub start with lower case.

Compile output:
=>
C:\code\learning\axis2\wsld>ant jar.client
Buildfile: build.xml

init:

pre.compile.test:
     [echo] Stax Availability= true
     [echo] Axis2 Availability= true

compile.src:
    [javac] Compiling 1 source file to C:\code\learning\axis2\wsld\build\classes
    [javac] C:\code\learning\axis2\wsld\src\org\apache\axis2\axis2userguide\Client.java:39:
cannot find symbol
    [javac] symbol  : method DoInOnly(org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.DoInOnlyRequest)
    [javac] location: class org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub
    [javac]             stub.DoInOnly(req);
    [javac]                 ^
    [javac] C:\code\learning\axis2\wsld\src\org\apache\axis2\axis2userguide\Client.java:55:
cannot find symbol
    [javac] symbol  : method TwoWayOneParameterEcho(org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.TwoWayOneParameterEchoRequest)

    [javac] location: class org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub
    [javac]                 stub.TwoWayOneParameterEcho(req);
    [javac]                     ^
    [javac] C:\code\learning\axis2\wsld\src\org\apache\axis2\axis2userguide\Client.java:69:
cannot find symbol
    [javac] symbol  : method NoParameters(org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.NoParametersRequest)
    [javac] location: class org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub
    [javac]             System.out.println(stub.NoParameters(req));
    [javac]                                    ^
    [javac] C:\code\learning\axis2\wsld\src\org\apache\axis2\axis2userguide\Client.java:88:
cannot find symbol
    [javac] symbol  : method MultipleParametersAddItem(org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.MultipleParametersAddItemRe
quest)
    [javac] location: class org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub
    [javac]                 stub.MultipleParametersAddItem(req);
    [javac]                     ^
    [javac] 4 errors

BUILD FAILED
==>

Changing uppercase to lowercase fixes issue.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message