You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Mike Ramnarine (JIRA)" <ji...@apache.org> on 2008/07/01 21:32:45 UTC
[jira] Created: (CXF-1678) wsdl2java does not generate impl stubs
when only logical wsdl is present
wsdl2java does not generate impl stubs when only logical wsdl is present
------------------------------------------------------------------------
Key: CXF-1678
URL: https://issues.apache.org/jira/browse/CXF-1678
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 2.0.7
Environment: Solaris 10, Windows
Reporter: Mike Ramnarine
Fix For: 2.0.8
We have a customer that has a programming model that focuses on logical wsdl first. So in addition to the interface, they need stub implementation classes to be generated from logical portType elements, even when no binding or service element is present. Passing -impl or -all to wsdl2java does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1678) wsdl2java does not generate impl stubs
when only logical wsdl is present
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609749#action_12609749 ]
Daniel Kulp commented on CXF-1678:
----------------------------------
wsimport with -verbose just says:
parsing WSDL...
Failed to parse the WSDL.
Not too useful.
That said, that doesn't apply here. The RI doesn't have tools to generate sample server skeletons and sample clients and such which is what this bug is about. This DOES affect the generated "Service" object as there wouldn't be any "getXXXPort(..)" calls generated, but that is minor and not really required anyway.
> wsdl2java does not generate impl stubs when only logical wsdl is present
> ------------------------------------------------------------------------
>
> Key: CXF-1678
> URL: https://issues.apache.org/jira/browse/CXF-1678
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0.7
> Environment: Solaris 10, Windows
> Reporter: Mike Ramnarine
> Fix For: 2.0.8
>
>
> We have a customer that has a programming model that focuses on logical wsdl first. So in addition to the interface, they need stub implementation classes to be generated from logical portType elements, even when no binding or service element is present. Passing -impl or -all to wsdl2java does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1678) wsdl2java does not generate impl stubs
when only logical wsdl is present
Posted by "Mike Ramnarine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Ramnarine updated CXF-1678:
--------------------------------
Attachment: CXF-1678.patch
The attached patch allows impl's to be generated even when there is only logical wsdl.
This fix assumes spring config can be used to fill in for the missing service name, port, and namespace, once they are known.
> wsdl2java does not generate impl stubs when only logical wsdl is present
> ------------------------------------------------------------------------
>
> Key: CXF-1678
> URL: https://issues.apache.org/jira/browse/CXF-1678
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0.7
> Environment: Solaris 10, Windows
> Reporter: Mike Ramnarine
> Fix For: 2.0.8
>
> Attachments: CXF-1678.patch
>
>
> We have a customer that has a programming model that focuses on logical wsdl first. So in addition to the interface, they need stub implementation classes to be generated from logical portType elements, even when no binding or service element is present. Passing -impl or -all to wsdl2java does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1678) wsdl2java does not generate impl stubs
when only logical wsdl is present
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609750#action_12609750 ]
Daniel Kulp commented on CXF-1678:
----------------------------------
The other "issue" is what to do about the serviceName and name attributes in the WebService annotation for the Impl. They should match the service/port names in the wsdl. Probably not major as you can override them in your spring config.
> wsdl2java does not generate impl stubs when only logical wsdl is present
> ------------------------------------------------------------------------
>
> Key: CXF-1678
> URL: https://issues.apache.org/jira/browse/CXF-1678
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0.7
> Environment: Solaris 10, Windows
> Reporter: Mike Ramnarine
> Fix For: 2.0.8
>
>
> We have a customer that has a programming model that focuses on logical wsdl first. So in addition to the interface, they need stub implementation classes to be generated from logical portType elements, even when no binding or service element is present. Passing -impl or -all to wsdl2java does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1678) wsdl2java does not generate impl stubs
when only logical wsdl is present
Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609746#action_12609746 ]
Glen Mazza commented on CXF-1678:
---------------------------------
I believe the JAX-WS spec defines what wsdl2java is supposed to do, so we may not be able to fix this. I wonder what the JAX-WS reference implementation (Metro) would do here.
Glen
> wsdl2java does not generate impl stubs when only logical wsdl is present
> ------------------------------------------------------------------------
>
> Key: CXF-1678
> URL: https://issues.apache.org/jira/browse/CXF-1678
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0.7
> Environment: Solaris 10, Windows
> Reporter: Mike Ramnarine
> Fix For: 2.0.8
>
>
> We have a customer that has a programming model that focuses on logical wsdl first. So in addition to the interface, they need stub implementation classes to be generated from logical portType elements, even when no binding or service element is present. Passing -impl or -all to wsdl2java does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1678) wsdl2java does not generate impl stubs
when only logical wsdl is present
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1678.
------------------------------
Resolution: Fixed
Fix Version/s: 2.1.2
Assignee: Daniel Kulp
Patch applied! Thanks!
> wsdl2java does not generate impl stubs when only logical wsdl is present
> ------------------------------------------------------------------------
>
> Key: CXF-1678
> URL: https://issues.apache.org/jira/browse/CXF-1678
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0.7
> Environment: Solaris 10, Windows
> Reporter: Mike Ramnarine
> Assignee: Daniel Kulp
> Fix For: 2.1.2, 2.0.8
>
> Attachments: CXF-1678.patch
>
>
> We have a customer that has a programming model that focuses on logical wsdl first. So in addition to the interface, they need stub implementation classes to be generated from logical portType elements, even when no binding or service element is present. Passing -impl or -all to wsdl2java does not help.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.