You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ted Leung (JIRA)" <ji...@apache.org> on 2009/04/16 23:48:14 UTC

[jira] Created: (CXF-2174) WSDLToJava to support generating a list of wsdls all at once

WSDLToJava to support generating a list of wsdls all at once
------------------------------------------------------------

                 Key: CXF-2174
                 URL: https://issues.apache.org/jira/browse/CXF-2174
             Project: CXF
          Issue Type: New Feature
          Components: Tooling, Transports
    Affects Versions: 2.2
            Reporter: Ted Leung


Provide the ability for WSDLToJava to take as input a list of wsdl's instead of just 1 wsdl.

The intent for this was to allow WSDLToJava to generate client stubs for all the wsdl's / services on a given CXF server all at once instead of having to run it each time for each service / wsdl.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2174) WSDLToJava to support generating a list of wsdls all at once

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2174.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
                   2.1.5
         Assignee: Daniel Kulp

> WSDLToJava to support generating a list of wsdls all at once
> ------------------------------------------------------------
>
>                 Key: CXF-2174
>                 URL: https://issues.apache.org/jira/browse/CXF-2174
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling, Transports
>    Affects Versions: 2.2
>            Reporter: Ted Leung
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.1.5, 2.2.1
>
>         Attachments: cxf_patch.txt
>
>
> Provide the ability for WSDLToJava to take as input a list of wsdl's instead of just 1 wsdl.
> The intent for this was to allow WSDLToJava to generate client stubs for all the wsdl's / services on a given CXF server all at once instead of having to run it each time for each service / wsdl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2174) WSDLToJava to support generating a list of wsdls all at once

Posted by "Ted Leung (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699896#action_12699896 ] 

Ted Leung commented on CXF-2174:
--------------------------------

If this is accepted, the wiki page or WSDLToJava should include a brief description : 
------------------------------------------
The -wsdlList option indicates that the wsdlurl provided signifies a file containing a list of wsdlurls and not the wsdl itself. 

CXF provides services list on a running server where you have mapped the CXFServlet, i.e. in your web.xml if you specify 
	<servlet>
		<servlet-name>CXFServlet</servlet-name>
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
	</servlet>

	<servlet-mapping>
		<servlet-name>CXFServlet</servlet-name>
		<url-pattern>/ws/*</url-pattern>
	</servlet-mapping>

http://127.0.0.1:8080/context_path/ws will provides a services list.

To get a plain text services list you can add the parameter formatted=false, i.e. 
http://127.0.0.1:8080/context_path/ws?formatted=false

To get a plain text wsdl list you can add the additional parameter wsdlList=true, i.e.
http://127.0.0.1:8080/context_path/ws?formatted=false&wsdlList=true



> WSDLToJava to support generating a list of wsdls all at once
> ------------------------------------------------------------
>
>                 Key: CXF-2174
>                 URL: https://issues.apache.org/jira/browse/CXF-2174
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling, Transports
>    Affects Versions: 2.2
>            Reporter: Ted Leung
>            Priority: Minor
>         Attachments: cxf_patch.txt
>
>
> Provide the ability for WSDLToJava to take as input a list of wsdl's instead of just 1 wsdl.
> The intent for this was to allow WSDLToJava to generate client stubs for all the wsdl's / services on a given CXF server all at once instead of having to run it each time for each service / wsdl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2174) WSDLToJava to support generating a list of wsdls all at once

Posted by "Ted Leung (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Leung updated CXF-2174:
---------------------------

    Attachment: cxf_patch.txt

The following is an alteration to both the ServletController and the WSDLToJava related classes to support the change.

An extra parameter was added to the ServletController because the existing formatted=false parameter returned service endpoints and not their wsdl's. I didn't want to just append "?wsdl" to items on the list because then it would mess up and local file references. This way in theory it should support both the list provided by CXF's ServletController as well as a flat file as input.

> WSDLToJava to support generating a list of wsdls all at once
> ------------------------------------------------------------
>
>                 Key: CXF-2174
>                 URL: https://issues.apache.org/jira/browse/CXF-2174
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling, Transports
>    Affects Versions: 2.2
>            Reporter: Ted Leung
>         Attachments: cxf_patch.txt
>
>
> Provide the ability for WSDLToJava to take as input a list of wsdl's instead of just 1 wsdl.
> The intent for this was to allow WSDLToJava to generate client stubs for all the wsdl's / services on a given CXF server all at once instead of having to run it each time for each service / wsdl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2174) WSDLToJava to support generating a list of wsdls all at once

Posted by "Ted Leung (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Leung updated CXF-2174:
---------------------------

    Priority: Minor  (was: Major)

> WSDLToJava to support generating a list of wsdls all at once
> ------------------------------------------------------------
>
>                 Key: CXF-2174
>                 URL: https://issues.apache.org/jira/browse/CXF-2174
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling, Transports
>    Affects Versions: 2.2
>            Reporter: Ted Leung
>            Priority: Minor
>         Attachments: cxf_patch.txt
>
>
> Provide the ability for WSDLToJava to take as input a list of wsdl's instead of just 1 wsdl.
> The intent for this was to allow WSDLToJava to generate client stubs for all the wsdl's / services on a given CXF server all at once instead of having to run it each time for each service / wsdl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.