Yep Russel, Thanks a lot.  I indeed had different versions of axis .jar and
jaxrpc.jar.

Changing it resolved my compilation problem.
Thanks again

Vaishakhi
----- Original Message -----
From: "Russell Butek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 12:35 PM
Subject: Re: Cannot compile classes generated by WSDL2Java too


> It appears that you have an inconsistent set of AXIS jar files.  There is
> jaxrpc.jar which contains the JAX-RPC apis.  Then there's axis.jar which
is
> everything else.
>
> javax.xml.rpc.ParameterMode is defined in jaxrpc.jar.  Sometime after beta
> 1 ParameterMode.PARAM_MODE_IN became ParameterMode.IN because we've
updated
> our JAX-RPC interfaces to version 0.8 of the spec.  It appears that you
> have a new axis.jar and an old jaxrpc.jar.
>
> (another possibility:  Sun's reference implementation for JAX-RPC has a
> jaxrpc-apis.jar which I believe is still at the 0.7 version of the JAX-RPC
> apis.  Do you have that jar around?)
>
> Russell Butek
> [EMAIL PROTECTED]
>
>
> "Vaishakhi Ajmera" <[EMAIL PROTECTED]> on 04/25/2002 11:05:47 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:    <[EMAIL PROTECTED]>
> cc:
> Subject:    Cannot compile classes generated by WSDL2Java too
>
>
>
> hello,
> We have a webservice written in C#, .NET and have a WSDL generated from it
> using .NET tools
> I have been given the wsdl to make calls to that webservice using AXIS.
> I run the WSDL2Java tool and get a bunch of files generated.
> Now I try to compile my project and it gives me a lot of compilation
errors
> in these generated classes. I have all the required jars in my classpath.
>
> Below are a few compilation errors  that I get. let me know if you would
> need to take a look at the WSDL file.
>
> Thanks
> Vaishakhi
>
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:225: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "ArrayOfGuid"),
> org.tempuri.ArrayOfGuid.class, javax.xml.rpc.ParameterMode.IN);
>
>
> ^
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:248: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "Role"),
> org.tempuri.Role.class, javax.xml.rpc.ParameterMode.IN);
>
>
> ^
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:306: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "MapRole"),
> org.tempuri.MapRole.class, javax.xml.rpc.ParameterMode.IN);
>
>
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:336: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "ArrayOfGuid"),
> org.tempuri.ArrayOfGuid.class, javax.xml.rpc.ParameterMode.IN);
>
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:359: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "MapRole"),
> org.tempuri.MapRole.class, javax.xml.rpc.ParameterMode.IN);
>
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:389: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "RoleDomain"),
> org.tempuri.RoleDomain.class, javax.xml.rpc.ParameterMode.IN);
>
>
> ^
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:419: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "ArrayOfGuid"),
> org.tempuri.ArrayOfGuid.class, javax.xml.rpc.ParameterMode.IN);
>
> C:
> \Project\0349_ardec_ebf2\j2ee\src\main\java\org\tempuri\RoleMapperSoapStub
> .java:442: cannot resolve symbol
> symbol  : variable IN
> location: class javax.xml.rpc.ParameterMode
>
>         call.addParameter(p0QName, new
> javax.xml.rpc.namespace.QName("http://tempuri.org/";, "RoleDomain"),
> org.tempuri.RoleDomain.class, javax.xml.rpc.ParameterMode.IN);
>
>
> ^
>
> ----- Original Message -----
> From: "Tim Joyce" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 25, 2002 8:26 AM
> Subject: RE: using axis in applet
>
>
> > Jaba,
> >
> > Thanks, but for now, we are going to develop our client as an
application
> > instead of an applet.  I am sick and tired of interoperability issues,
> and
> > can't cope with another SOAP service / client to integrate.  I am hoping
> > that by the time we ship, axis will be applet compatible.
> >
> > cheers
> >
> > timj
> >
> >  I have also tried to use Axis in an applet, but without much success. I
> > found another tool: WASP from systinet.com, which allows you to build
> small
> > applet clients to SOAP services. The "lite" version of it is free, even
> for
> > commercial use. I had a few interoperability problems with the server in
> > AXIS, but I resolved them. If you are interested, I can share my
> experience
> > with you.
> >
> > -Jaba
>
>

Reply via email to