dev@jax-ws.java.net

Errors while building with netbeans

From: Venu <K.Venugopal_at_Sun.COM>
Date: Wed, 07 Feb 2007 12:40:54 +0530

Hi ,

I am getting errors when I build wsit using netbeans. This is on a
windows machine , could be jars are not checked in properly..

com\sun\xml\ws\tx\coordinator\LocalizationMessages.java
com\sun\xml\ws\tx\common\LocalizationMessages.java
com\sun\xml\ws\tx\client\LocalizationMessages.java
Compiling 638 source files to D:\officework\new\wsit\wsit\rt\build\classes
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\security\impl\policy\SecurityPolicyAssertionCreator.java:347:
warning: [unchecked] unchecked call to
getConstructor(java.lang.Class<?>...) as a member of the raw type
java.lang.Class
       return
cl.getConstructor(com.sun.xml.ws.policy.sourcemodel.AssertionData.class,java.util.Collection.class,com.sun.xml.ws.policy.AssertionSet.class);

D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\policy\jaxws\PolicyWSDLGeneratorExtension.java:315:
warning: [unchecked] unchecked call to
getDeclaredMethod(java.lang.String,java.lang.Class<?>...) as a member of
the raw type java.lang.Class
                               final Method getNameMethod =
clazz.getDeclaredMethod("getName");
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\rm\jaxws\runtime\client\RMSource.java:188:
cannot find symbol
symbol : method
createDispatch(javax.xml.namespace.QName,java.lang.Class<javax.xml.transform.Source>,javax.xml.ws.Service.Mode,javax.xml.ws.RespectBindingFeature)

location: class javax.xml.ws.Service
       Dispatch<Source> disp = service.createDispatch(portName,
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\security\trust\WSTrustFactory.java:103:
warning: [unchecked] unchecked cast
found : java.lang.Object
required:
com.sun.xml.ws.api.security.trust.WSTrustContract<com.sun.xml.ws.security.trust.elements.RequestSecurityToken,com.sun.xml.ws.security.trust.elements.RequestSecurityTokenResponse>

               contract = (WSTrustContract<RequestSecurityToken,
RequestSecurityTokenResponse>) clazz.newInstance();
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\security\trust\impl\DefaultTrustSPMetadata.java:72:
warning: [unchecked] unchecked conversion
found : java.util.Map
required: java.util.Map<java.lang.String,java.lang.Object>
       return this.otherOptions;
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\security\trust\impl\SBIssuedSamlTokenContractImpl.java:402:
warning: [unchecked] unchecked call to add(E) as a member of the raw
type java.util.List
                   x509Data.getContent().add(certElement);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\security\trust\impl\TrustPluginImpl.java:310:
cannot find symbol
symbol : method
createDispatch(javax.xml.namespace.QName,javax.xml.bind.JAXBContext,javax.xml.ws.Service.Mode,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       final Dispatch<Object> dispatch =
service.createDispatch(portName, fact.getContext(),
Service.Mode.PAYLOAD, new WebServiceFeature[]{new
RespectBindingFeature(), new AddressingFeature(false)});
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\transport\tcp\client\WSConnectionManager.java:79:
cannot find symbol
symbol : method getBindingID()
location: interface com.sun.xml.ws.api.WSBinding
       logger.log(Level.FINE,
MessagesMessages.WSTCP_1030_CONNECTION_MANAGER_ENTER(uri,
wsService.getServiceName(), wsBinding.getBindingID(),
defaultCodec.getClass().getName()));
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\transport\tcp\server\TCPServletContext.java:51:
warning: [unchecked] unchecked cast
found : java.util.Set
required: java.util.Set<java.lang.String>
       return (Set<String>) servletContext.getResourcePaths(path);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\transport\tcp\server\glassfish\WSStartupServlet.java:135:
warning: [unchecked] unchecked cast
found : javax.servlet.ServletContext
required: T
               return (T) servletContext;
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\at\WSATCoordinator.java:76:
cannot find symbol
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<com.sun.xml.ws.tx.webservice.member.at.CompletionCoordinatorPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       return (CompletionCoordinatorPortType) super.getPort(new
QName("http://schemas.xmlsoap.org/ws/2004/10/wsat",
"CompletionCoordinator"), CompletionCoordinatorPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\at\WSATCoordinator.java:95:
cannot find symbol
symbol : method
getPort(javax.xml.ws.EndpointReference,java.lang.Class<com.sun.xml.ws.tx.webservice.member.at.CoordinatorPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
               (CoordinatorPortType) super.getPort(epr,
CoordinatorPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\at\WSATCoordinator.java:129:
cannot find symbol
symbol : method
getPort(javax.xml.ws.EndpointReference,java.lang.Class<com.sun.xml.ws.tx.webservice.member.at.ParticipantPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
               (ParticipantPortType) super.getPort(epr,
ParticipantPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\at\WSATCoordinator.java:148:
cannot find symbol
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<com.sun.xml.ws.tx.webservice.member.at.CompletionInitiatorPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       return (CompletionInitiatorPortType) super.getPort(new
QName("http://schemas.xmlsoap.org/ws/2004/10/wsat",
"CompletionInitiator"), CompletionInitiatorPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\coord\Coordinator.java:82:
cannot find symbol
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<com.sun.xml.ws.tx.webservice.member.coord.ActivationCoordinatorPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       return (ActivationCoordinatorPortType) super.getPort(new
QName("http://schemas.xmlsoap.org/ws/2004/10/wscoor",
"ActivationCoordinator"), ActivationCoordinatorPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\coord\Coordinator.java:99:
cannot find symbol
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<com.sun.xml.ws.tx.webservice.member.coord.ActivationRequesterPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       return (ActivationRequesterPortType) super.getPort(new
QName("http://schemas.xmlsoap.org/ws/2004/10/wscoor",
"ActivationRequester"), ActivationRequesterPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\coord\Coordinator.java:118:
cannot find symbol
symbol : method
getPort(javax.xml.ws.EndpointReference,java.lang.Class<com.sun.xml.ws.tx.webservice.member.coord.RegistrationCoordinatorPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
               (RegistrationCoordinatorPortType) super.getPort(epr,
RegistrationCoordinatorPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\coord\Coordinator.java:141:
cannot find symbol
symbol : method
getPort(javax.xml.ws.EndpointReference,java.lang.Class<com.sun.xml.ws.tx.webservice.member.coord.RegistrationRequesterPortType>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
               (RegistrationRequesterPortType) super.getPort(epr,
RegistrationRequesterPortType.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\coord\Coordinator.java:162:
cannot find symbol
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<com.sun.xml.ws.tx.webservice.member.coord.ActivationPortTypeRPC>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       return (ActivationPortTypeRPC) super.getPort(new
QName("http://schemas.xmlsoap.org/ws/2004/10/wscoor", "Activation"),
ActivationPortTypeRPC.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\ws\tx\webservice\member\coord\Coordinator.java:179:
cannot find symbol
symbol : method
getPort(javax.xml.namespace.QName,java.lang.Class<com.sun.xml.ws.tx.webservice.member.coord.RegistrationPortTypeRPC>,javax.xml.ws.WebServiceFeature[])

location: class javax.xml.ws.Service
       return (RegistrationPortTypeRPC) super.getPort(new
QName("http://schemas.xmlsoap.org/ws/2004/10/wscoor", "Registration"),
RegistrationPortTypeRPC.class, features);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\wss\provider\wsit\WSITAuthConfigProvider.java:165:
warning: [unchecked] unchecked call to put(K,V) as a member of the raw
type java.util.WeakHashMap
               this.clientConfigMap.put(appContext, clientConfig);
D:\officework\new\wsit\wsit\rt\src\com\sun\xml\wss\provider\wsit\WSITAuthConfigProvider.java:219:
warning: [unchecked] unchecked call to put(K,V) as a member of the raw
type java.util.WeakHashMap
                this.serverConfigMap.put(appContext,serverConfig);
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
13 errors
9 warnings

Venu