Issue Details (XML | Word | Printable)

Key: XDT-1438
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: xdoclet-devel (Use for new issues)
Reporter: Gerhard Otte
Votes: 2
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
XDoclet

Incorrect wdlFilename generated in webservices.xml

Created: 17/Jun/05 10:18 AM   Updated: 13/Dec/05 09:49 AM
Component/s: Web Services Module
Affects Version/s: 1.2.3
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 


 Description  « Hide
"WEB-INF/" is prefixed instead of "META-INF/" for wsdl-file and jaxrpc-mapping-file in a statless session bean. An "ejb.bean" tag is present.

JBoss 4.0.2, XDoclet 1.2.3, wsdl and jaxrpc-mapping is build by jwsdp-1.5 (wscompile)

The xdoclet code of the class:

/**
 * @ejb.bean name="EosOrderStorage"
 * display-name="Name for EosOrderStorage"
 * description="Description for EosOrderStorage"
 * jndi-name="ejb/EosOrderStorage"
 * type="Stateless"
 * view-type="all"
 *
 * @wsee.port-component name = "OrderService"

 * @ejb.interface
 * service-endpoint-class = "de.emediapark.eos.order.interfaces.OrderService"
 *
 * @jboss.port-component name = "OrderService"
 * uri = "/EosOrder/Storage"
 *
 */
public class OrderServiceBean implements SessionBean {
...
 

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
xtremebytes added a comment - 16/Jul/05 08:15 AM
Yes it's a very annoying issue. I have been facing this too. I did something else to get around the problem. In your wseedoclet task, do not ask it to generate a wsdlFile. Instead create a wsdl subtask and use the destinationFile parameter as {0}. Obviously, this will generate more than one WSDL files but at least webservices.xml will get it right.

By the way, I posted an issue on WSDL custom data types. XDoclet doesn't seem to generate <wsdl:types>, or I do not understand their documentation. Have you had any problems with custom data types? Thanks.

philc added a comment - 13/Dec/05 09:49 AM
The simplest solution is to remove the "intelligent" prefix selection code and just let the user choose the location of his wsdl and jaxrpc-mapping files.