[jbossws-issues] [JBoss JIRA] (JBWS-3508) Default URL of web service in generated WSDL is wrong

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Thu Jun 7 08:50:18 EDT 2012


    [ https://issues.jboss.org/browse/JBWS-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699762#comment-12699762 ] 

Alessio Soldano commented on JBWS-3508:
---------------------------------------

Let me clarify a bit (Jim feel free to correct me if I'm wrong wrt CXF internals): the JBossWS tooling is a facade over the CXF tool impl and the JBWS-Native tool impl. The choice of the default address to generate in the soap:address location attribute is delegated to the underlying impl. Now, Apache CXF Java2WS tool has an option for letting the user set that, -a / -address, which is not exposed by the JBossWS tooling facade ATM. We can probably do that after having created a jira for it. Basically, an improvement.
This said, from a pure WSProvide (Java service endpoint interface --> wsdl) point of view, there's no way to automatically figuring out the "correct" soap:address location, as that will always depend on how the endpoint is packaged and deployed to the server container. So it's not that jbws native generated this correctly and cxf does it almost always wrong, it's always going to be "wrong". Users are expected to... replace that attribute with the actual url.
                
> Default URL of web service in generated WSDL is wrong
> -----------------------------------------------------
>
>                 Key: JBWS-3508
>                 URL: https://issues.jboss.org/browse/JBWS-3508
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: tools-jaxws, ws-addressing
>         Environment: Linux x86-64b, JBoss Developer Studio 5 CR1
>            Reporter: Jaroslav Jankovič
>            Assignee: Jim Ma
>             Fix For: jbossws-cxf-4.1
>
>
> I don't know exact version of JBossWS. I reproduced issue with JBoss Developer Studio 5 Beta2/Beta3/CR1 and with targeted runtimes: JBoss AS 6, JBoss AS 7.0.1, JBoss AS 7.1.0, JBoss AS 7.1.1, JBoss EAP 5.1.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbossws-issues mailing list