You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Chohan, DB (Dharmesh)" <D....@dl.ac.uk> on 2002/06/25 17:28:31 UTC

Compile errors on Linux

Hi,

I have got a simple client.java file, which works fine on dos/windows but
fails if I build the file on Linux with the following errors :-

Client.java:40: cannot resolve symbol
symbol  : variable PARAM_MODE_IN  
location: class Client
            call.addParameter( "host", XMLType.XSD_STRING, PARAM_MODE_IN );
                                                           ^
Client.java:43: cannot resolve symbol
symbol  : variable PARAM_MODE_IN  
location: class javax.xml.rpc.ParameterMode
            call.addParameter( "attributeindex", XMLType.XSD_INT,
ParameterMode.PARAM_MODE_IN );
 
^
Client.java:44: cannot resolve symbol
symbol  : variable PARAM_MODE_IN  
location: class javax.xml.rpc.ParameterMode
            call.addParameter( "attributes", XMLType.SOAP_ARRAY,
ParameterMode.PARAM_MODE_IN );


I have got the following jar files in my classpath :-
axis.jar             jaxrpc.jar      tt-bytecode.jar  xerces.jar
xercesSamples.jar
commons-logging.jar  log4j-core.jar  wsdl4j.jar       xercesImpl.jar
xmlParserAPIs.jar

Please can somebody tell me how to resolve this error.  Attached is the
client.java file.

 <<Client.java>> 

Thanks
Dharmesh




RE: Compile errors on Linux

Posted by John Gregg <jo...@techarch.com>.
If I'm reading the docs correctly, the version of
javax.xml.rpc.ParameterMode that comes with axis beta 2 as well as the
latest cvs version has an attribute named simply IN, not PARAM_MODE_IN.

john


-----Original Message-----
From: axis-user-return-4722-john.gregg=techarch.com@xml.apache.org
[mailto:axis-user-return-4722-john.gregg=techarch.com@xml.apache.org]On
Behalf Of Chohan, DB (Dharmesh)
Sent: Tuesday, June 25, 2002 10:29 AM
To: 'axis-user@xml.apache.org'
Subject: Compile errors on Linux


Hi,

I have got a simple client.java file, which works fine on dos/windows but
fails if I build the file on Linux with the following errors :-

Client.java:40: cannot resolve symbol
symbol  : variable PARAM_MODE_IN
location: class Client
            call.addParameter( "host", XMLType.XSD_STRING, PARAM_MODE_IN );
                                                           ^
Client.java:43: cannot resolve symbol
symbol  : variable PARAM_MODE_IN
location: class javax.xml.rpc.ParameterMode
            call.addParameter( "attributeindex", XMLType.XSD_INT,
ParameterMode.PARAM_MODE_IN );

^
Client.java:44: cannot resolve symbol
symbol  : variable PARAM_MODE_IN
location: class javax.xml.rpc.ParameterMode
            call.addParameter( "attributes", XMLType.SOAP_ARRAY,
ParameterMode.PARAM_MODE_IN );


I have got the following jar files in my classpath :-
axis.jar             jaxrpc.jar      tt-bytecode.jar  xerces.jar
xercesSamples.jar
commons-logging.jar  log4j-core.jar  wsdl4j.jar       xercesImpl.jar
xmlParserAPIs.jar

Please can somebody tell me how to resolve this error.  Attached is the
client.java file.

 <<Client.java>>

Thanks
Dharmesh