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/17 00:00:15 UTC

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

    [ 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.