> For wsit, use trunk. The build process would produce webservices-
> osgi.jar. The lib/runtime dir also contains the jax-ws 2.2 source
> zips, so you may not need to checkout jax-ws workspace.
Thanks, that will work for me in the short term....
>
> In case you want to checkout jax-ws workspace, use jaxws22 branch
> cvs -d :pserver:xxx_at_cvs.dev.java.net:/cvs co -r jaxws22 jax-ws-
> sources/jaxws-ri
I did that, but the code doesn't build. Any other step I need -- it
looks like it's out of date with the API?
hostname% pwd
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri
hostname% cvs status build.xml
===================================================================
File: build.xml Status: Up-to-date
Working revision: 1.80.2.22
Repository revision: 1.80.2.22 /cvs/jax-ws-sources/jaxws-ri/
build.xml,v
Sticky Tag: jaxws22 (branch: 1.80.2)
Sticky Date: (none)
Sticky Options: (none)
hostname% ant -emacs clean dist
Buildfile: build.xml
The build id is: JAX-WS RI 2.2-10/15/2009 12:38 PM(bobby)-rc1
jax-ws.clean:
clean:
clean:
clean:
clean:
clean:
clean:
clean:
clean:
init:
-------- JAX-WS RI 2.2 --------
prepare:
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/build
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/build/lib
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/build/bin
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/build/samples
runtime-compile:
prepare:
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/build/
classes
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/build/
test-classes
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/build/
test-reports
generate-code:
compile:
Created dir: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/tools/
resourcegen/build/classes
Compiling 1 source file to /Users/bobby/work/ws/jax-ws-sources/jaxws-
ri/tools/resourcegen/build/classes
jar:
Building jar: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/tools/
resourcegen/build/resourcegen.jar
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/addressing.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/client.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/dispatch.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/encoding.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/handler.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/httpserver.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/management.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/modeler.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/policy.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/providerApi.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/sender.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/server.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/soap.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/streaming.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/util.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/wsdlmodel.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/wsservlet.properties
Processing /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/
xml/ws/resources/xmlmessage.properties
com/sun/xml/ws/resources/AddressingMessages.java
com/sun/xml/ws/resources/ClientMessages.java
com/sun/xml/ws/resources/DispatchMessages.java
com/sun/xml/ws/resources/EncodingMessages.java
com/sun/xml/ws/resources/HandlerMessages.java
com/sun/xml/ws/resources/HttpserverMessages.java
com/sun/xml/ws/resources/ManagementMessages.java
com/sun/xml/ws/resources/ModelerMessages.java
com/sun/xml/ws/resources/PolicyMessages.java
com/sun/xml/ws/resources/ProviderApiMessages.java
com/sun/xml/ws/resources/SenderMessages.java
com/sun/xml/ws/resources/ServerMessages.java
com/sun/xml/ws/resources/SoapMessages.java
com/sun/xml/ws/resources/StreamingMessages.java
com/sun/xml/ws/resources/UtilMessages.java
com/sun/xml/ws/resources/WsdlmodelMessages.java
com/sun/xml/ws/resources/WsservletMessages.java
com/sun/xml/ws/resources/XmlmessageMessages.java
compile:
Expanding: /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/lib/jaxws-
asm.jar into /Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/build/
classes
Compiling 619 source files to /Users/bobby/work/ws/jax-ws-sources/
jaxws-ri/rt/build/classes
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
binding/WebServiceFeatureList.java:128: cannot find symbol
symbol : method responses()
location: @interface javax.xml.ws.soap.Addressing
ftr = new AddressingFeature(addAnn.enabled(),
addAnn.required(),addAnn.responses());
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
binding/WebServiceFeatureList.java:128: internal error; cannot
instantiate javax.xml.ws.soap.AddressingFeature.<init> at
javax.xml.ws.soap.AddressingFeature to ()
ftr = new AddressingFeature(addAnn.enabled(),
addAnn.required(),addAnn.responses());
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/W3CWsaServerTube.java:105: cannot find symbol
symbol : method getResponses()
location: class javax.xml.ws.soap.AddressingFeature
if (af.getResponses() ==
AddressingFeature.Responses.ANONYMOUS) {
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/W3CWsaServerTube.java:105: cannot find symbol
symbol : variable Responses
location: class javax.xml.ws.soap.AddressingFeature
if (af.getResponses() ==
AddressingFeature.Responses.ANONYMOUS) {
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/W3CWsaServerTube.java:107: cannot find symbol
symbol : method getResponses()
location: class javax.xml.ws.soap.AddressingFeature
} else if (af.getResponses() ==
AddressingFeature.Responses.NON_ANONYMOUS) {
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/W3CWsaServerTube.java:107: cannot find symbol
symbol : variable Responses
location: class javax.xml.ws.soap.AddressingFeature
} else if (af.getResponses() ==
AddressingFeature.Responses.NON_ANONYMOUS) {
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingFeatureConfigurator.java:126: cannot find
symbol
symbol : variable Responses
location: class javax.xml.ws.soap.AddressingFeature
feature = new
AddressingFeature(true, !assertion.isOptional(),
AddressingFeature.Responses.ANONYMOUS);
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingFeatureConfigurator.java:126: internal
error; cannot instantiate javax.xml.ws.soap.AddressingFeature.<init>
at javax.xml.ws.soap.AddressingFeature to ()
feature = new
AddressingFeature(true, !assertion.isOptional(),
AddressingFeature.Responses.ANONYMOUS);
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingFeatureConfigurator.java:128: cannot find
symbol
symbol : variable Responses
location: class javax.xml.ws.soap.AddressingFeature
feature = new
AddressingFeature(true, !assertion.isOptional(),
AddressingFeature.Responses.NON_ANONYMOUS);
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingFeatureConfigurator.java:128: internal
error; cannot instantiate javax.xml.ws.soap.AddressingFeature.<init>
at javax.xml.ws.soap.AddressingFeature to ()
feature = new
AddressingFeature(true, !assertion.isOptional(),
AddressingFeature.Responses.NON_ANONYMOUS);
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingPolicyMapConfigurator.java:138: cannot
find symbol
symbol : class Responses
location: class javax.xml.ws.soap.AddressingFeature
AddressingFeature.Responses responses = af.getResponses();
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingPolicyMapConfigurator.java:138: cannot
find symbol
symbol : method getResponses()
location: class javax.xml.ws.soap.AddressingFeature
AddressingFeature.Responses responses = af.getResponses();
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingPolicyMapConfigurator.java:139: cannot
find symbol
symbol : variable Responses
location: class javax.xml.ws.soap.AddressingFeature
if (responses == AddressingFeature.Responses.ANONYMOUS) {
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
addressing/policy/AddressingPolicyMapConfigurator.java:143: cannot
find symbol
symbol : variable Responses
location: class javax.xml.ws.soap.AddressingFeature
} else if (responses ==
AddressingFeature.Responses.NON_ANONYMOUS) {
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
model/RuntimeModeler.java:729: cannot find symbol
symbol : method partName()
location: @interface javax.xml.ws.RequestWrapper
if (reqWrapper.partName().length() > 0)
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
model/RuntimeModeler.java:730: cannot find symbol
symbol : method partName()
location: @interface javax.xml.ws.RequestWrapper
reqPartName = reqWrapper.partName();
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
model/RuntimeModeler.java:751: cannot find symbol
symbol : method partName()
location: @interface javax.xml.ws.ResponseWrapper
if (resWrapper.partName().length() > 0)
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
model/RuntimeModeler.java:752: cannot find symbol
symbol : method partName()
location: @interface javax.xml.ws.ResponseWrapper
resPartName = resWrapper.partName();
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
model/RuntimeModeler.java:1162: cannot find symbol
symbol : method messageName()
location: @interface javax.xml.ws.WebFault
if (webFault.messageName().length()>0)
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
model/RuntimeModeler.java:1163: cannot find symbol
symbol : method messageName()
location: @interface javax.xml.ws.WebFault
messageName = webFault.messageName();
^
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/
transport/http/server/EndpointImpl.java:351: method does not override
or implement a method from a supertype
@Override
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
21 errors
BUILD FAILED
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/etc/build-bundle.xml:99:
The following error occurred while executing this line:
/Users/bobby/work/ws/jax-ws-sources/jaxws-ri/rt/build.xml:73: Compile
failed; see the compiler error output for details.
Total time: 9 seconds
hostname%