XFire

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.6
  • Fix Version/s: 1.2.6
  • Component/s: JAX-WS
  • Labels:
    None
  • Number of attachments :
    1

Description

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.

Activity

Hide
Adrian Co added a comment -

Oops, posted the correct output.

The original code should have getProduct-ServicePort

Show
Adrian Co added a comment - Oops, posted the correct output. The original code should have getProduct-ServicePort
Hide
Adrian Co added a comment -

I tried this using 1.2-SNAPSHOT btw.

Show
Adrian Co added a comment - I tried this using 1.2-SNAPSHOT btw.
Hide
Guillaume Nodet added a comment -
Show
Guillaume Nodet added a comment - Fixed at rev 2129 http://fisheye.codehaus.org/changelog/xfire/?cs=2129

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: