History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-936
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Guillaume Nodet
Reporter: Adrian Co
Votes: 0
Watchers: 1
Operations

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

A wsdl service with a "-" in the name is not converted to a valid java identifier using JAXWSProfile

Created: 03/Apr/07 03:45 AM   Updated: 03/Apr/07 04:02 AM
Component/s: JAX-WS
Affects Version/s: 1.2.6
Fix Version/s: 1.2.6

Time Tracking:
Not Specified

File Attachments: 1. Text File jaxwsServiceGenerator.patch (0.9 kb)



 Description  « Hide
The following wsdl definition:

<wsdl:service name="ProductService">
<wsdl:port name="Product-ServicePort"
binding="tns:Product-ServiceBinding">
<soap:address location="http://localhost:8192/product/" />
</wsdl:port>
</wsdl:service>

Generates a method name:

@WebEndpoint(name = "Product-ServicePort")
public weather.ProductServicePortType getProduct_ServicePort() { return ((weather.ProductServicePortType)(this).getPort(new QName("urn:com:logicblaze:product", "Product-ServicePort"), ProductServicePortType)); }

when using JAXWSProfile.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Adrian Co - 03/Apr/07 03:46 AM
Oops, posted the correct output.

The original code should have getProduct-ServicePort


Adrian Co - 03/Apr/07 03:48 AM
I tried this using 1.2-SNAPSHOT btw.