[
http://jira.codehaus.org/browse/XFIRE-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88096
]
Matthew commented on XFIRE-674:
-------------------------------
I'm seeing the same issue with operation names in the port type:
<portType name="MyServices">
<operation name="My-Call">
Results in a service method named my-Call
I used v1.2.3 wsgen and jaxb
> WSGen (xmlbeans) generates invalid code if illegal chars for variables are in
> the location
> ------------------------------------------------------------------------------------------
>
> Key: XFIRE-674
> URL: http://jira.codehaus.org/browse/XFIRE-674
> Project: XFire
> Issue Type: Bug
> Components: Generator
> Affects Versions: 1.2.1
> Environment: JDK 1.5, Windows
> Reporter: Erich Oliphant
> Assigned To: Dan Diephouse
> Priority: Critical
> Fix For: 1.2.5
>
>
> After generating XMLBeans based stubs for our JIRA installation noticed
> errors in the generated code. Such as:
> --
> public JiraSoapServiceServiceClient() {
> create0();
> Endpoint jirasoapservice-v2EP = service0 .addEndpoint(new
> QName("http://.../jira/rpc/soap/jirasoapservice-v2", "jirasoapservice-v2"),
> new QName("http:/..../jira/rpc/soap/jirasoapservice-v2",
> "jirasoapservice-v2SoapBinding"),
> "http://.../jira/rpc/soap/jirasoapservice-v2");
> endpoints.put(new QName("http:/.../jira/rpc/soap/jirasoapservice-v2",
> "jirasoapservice-v2"), jirasoapservice-v2EP);
> --
> Where the endpoint ends up with an embedded dash.
> I assume the Endpoint var is taking it's name from the location or
> targetNamespace in the WSDL. Presumably the var generation needs to verify
> that it can use WSDL identifier directly as a java var.
> Can be reproduced with the Codehaus jira's wsdl
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email