Problem deploying Coffee Break example from tutorial

I am trying to deploy the cb-jaxws project from the coffee break example in the Java EE 5 tutorial. I am able to build the cb-jaxws project using ant and NetBeans 5.5 but I cannot deploy it. I get the following error (from NetBeans and ant)

wsgen successful

Error parsing WSDLC:\Sun\SDK\domains\domain1\generated\xml\j2ee-modules\cb-jaxws\WEB-INF\wsdl\SupplierService.wsdl (The system cannot find the file specified)

There is no wsdl file in that directory but I dont know why it isnt there or what to do to make it appear. Can anyone help me with this? Thank you in advance!

Justin

[613 byte] By [jphilli9a] at [2007-11-27 5:43:59]
# 1

I found the solution to this problem. It turns out I there was actually an error when compiling the example which led to the error that I described above. The following message was logged in the servers log file

The type of the getter is java.util.List<com.sun.cb.ws.server.LineItemBean> but that of the setter is java.util.List. They have to be the same.

There was no problem in the code(see below) and the above message was erroneous:

public List<LineItemBean> getLineItems() {

return lineItems;

}

public void setLineItems(List<LineItemBean> lineItems) {

this.lineItems = lineItems;

}

It looks like the thing that caused this whole problem was that I installed jdk 6 after I installed the application server. This seems to be a bug. If you install the application server and then install a new version of java you have to modify the AS_JAVA variable in <AS_INSTALL>/config/asenv.conf to point to your JDK 6 installation. After doing that everything worked properly.

jphilli9a at 2007-7-12 15:24:13 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...