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 "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2011/08/02 17:05:27 UTC

[jira] [Commented] (AXIS2-5106) jaxws-calculator sample does not compile on JDK 1.6

    [ https://issues.apache.org/jira/browse/AXIS2-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076253#comment-13076253 ] 

Sagara Gunathunga  commented on AXIS2-5106:
-------------------------------------------

This should be something related to your environment. We have integrated some samples into build script so that those samples are tested during the build and jaxws-calculator  is one of them. We have tested this sample before 1.6.0 release and again I just tested it on my machine without any issue.

FYI my environment ;

java version "1.6.0_22"/64-Bit , Maven 2.2.1, Ubuntu 11.04.  

Take a look [1] [2] with your error trace.

[1] - http://download.oracle.com/javase/6/docs/api/javax/xml/ws/handler/MessageContext.html#REFERENCE_PARAMETERS
[2] - http://download.oracle.com/javase/6/docs/api/javax/xml/ws/WebServiceContext.html#getEndpointReference%28org.w3c.dom.Element...%29 

> jaxws-calculator sample does not compile on JDK 1.6
> ---------------------------------------------------
>
>                 Key: AXIS2-5106
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5106
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.6.0
>         Environment: Windows XP SP3, Sun JDK 1.6.0_26, Apache Maven 2.1.0
>            Reporter: Ognjen Blagojevic
>            Priority: Minor
>
> When I run mvn clean install at jaxws-calculator sample I get:
> [INFO] [compiler:compile]
> [WARNING] File encoding has not been set, using platform encoding
> Cp1252, i.e. build is platform dependent!
> [INFO] Compiling 22 source files to
> C:\apps\axis2-1.6.0\samples\jaxws-calculator\target\classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] \apps\axis2-1.6.0\samples\jaxws-calculator\src\org\apache\axis2\jaxws\calculator\CalculatorService.java:[69,50]
> cannot find symbol
> symbol  : method getEndpointReference(org.w3c.dom.Element)
> location: interface javax.xml.ws.WebServiceContext
> [ERROR] \apps\axis2-1.6.0\samples\jaxws-calculator\src\org\apache\axis2\jaxws\calculator\CalculatorService.java:[77,78]
> cannot find symbol
> symbol  : variable REFERENCE_PARAMETERS
> location: interface javax.xml.ws.handler.MessageContext
> [ERROR] \apps\axis2-1.6.0\samples\jaxws-calculator\src\org\apache\axis2\jaxws\calculator\client\CalculatorService.java:[70,20]
> cannot find symbol
> symbol  : method
> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.axis2.jaxws.calculator.client.Calculator>,javax.xml.ws.WebServiceFeature[])
> location: class javax.xml.ws.Service
> Other jaxws-* examples seems to be working.
> I tested with 1.6.0 release, and trunk.

--
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