You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Robert Liguori (JIRA)" <ji...@apache.org> on 2010/11/15 22:44:13 UTC

[jira] Created: (CXF-3125) Add -validate option to the following utilties: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

Add -validate option to the following utilties:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
--------------------------------------------------------------------------------------------------

                 Key: CXF-3125
                 URL: https://issues.apache.org/jira/browse/CXF-3125
             Project: CXF
          Issue Type: New Feature
          Components: Tooling
    Affects Versions: 2.3.0
            Reporter: Robert Liguori
            Priority: Minor



The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:

  -- wsdl2js 
  -- wsdl2java

This -validate option would be useful with other WSDL transformation utilities, such as the following:

  -- wsdl2xml
  -- wsdl2service
  -- wsdl2soap
  -- wsdl2corba


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


[jira] [Assigned] (CXF-3125) Add -validate option to the following utilities: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

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

Freeman Fang reassigned CXF-3125:
---------------------------------

    Assignee: Freeman Fang

> Add -validate option to the following utilities:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3125
>                 URL: https://issues.apache.org/jira/browse/CXF-3125
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.3
>            Reporter: Robert Liguori
>            Assignee: Freeman Fang
>            Priority: Minor
>
> The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:
>   -- wsdl2js 
>   -- wsdl2java
> This -validate option would be useful with other WSDL transformation utilities, such as the following:
>   -- wsdl2xml
>   -- wsdl2service
>   -- wsdl2soap
>   -- wsdl2corba

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (CXF-3125) Add -validate option to the following utilities: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

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

Robert Liguori closed CXF-3125.
-------------------------------


Verified via code inspection. Thanks.

> Add -validate option to the following utilities:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3125
>                 URL: https://issues.apache.org/jira/browse/CXF-3125
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.3
>            Reporter: Robert Liguori
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 2.3.7, 2.4.3, 2.5
>
>
> The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:
>   -- wsdl2js 
>   -- wsdl2java
> This -validate option would be useful with other WSDL transformation utilities, such as the following:
>   -- wsdl2xml
>   -- wsdl2service
>   -- wsdl2soap
>   -- wsdl2corba

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3125) Add -validate option to the following utilities: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

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

Freeman Fang resolved CXF-3125.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
                   2.4.3
                   2.3.7

commit fix
http://svn.apache.org/viewvc?rev=1171492&view=rev to trunk
http://svn.apache.org/viewvc?rev=1171498&view=rev to 2.4.x branch
http://svn.apache.org/viewvc?rev=1171503&view=rev to 2.3.x branch

> Add -validate option to the following utilities:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3125
>                 URL: https://issues.apache.org/jira/browse/CXF-3125
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.3
>            Reporter: Robert Liguori
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 2.3.7, 2.4.3, 2.5
>
>
> The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:
>   -- wsdl2js 
>   -- wsdl2java
> This -validate option would be useful with other WSDL transformation utilities, such as the following:
>   -- wsdl2xml
>   -- wsdl2service
>   -- wsdl2soap
>   -- wsdl2corba

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3125) Add -validate option to the following utilities: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

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

Robert Liguori updated CXF-3125:
--------------------------------

    Description: 
The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:

  -- wsdl2js 
  -- wsdl2java

This -validate option would be useful with other WSDL transformation utilities, such as the following:

  -- wsdl2xml
  -- wsdl2service
  -- wsdl2soap
  -- wsdl2corba


  was:

The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:

  -- wsdl2js 
  -- wsdl2java

This -validate option would be useful with other WSDL transformation utilities, such as the following:

  -- wsdl2xml
  -- wsdl2service
  -- wsdl2soap
  -- wsdl2corba


        Summary: Add -validate option to the following utilities:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.  (was: Add -validate option to the following utilties:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.)

> Add -validate option to the following utilities:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3125
>                 URL: https://issues.apache.org/jira/browse/CXF-3125
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.3
>            Reporter: Robert Liguori
>            Priority: Minor
>
> The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:
>   -- wsdl2js 
>   -- wsdl2java
> This -validate option would be useful with other WSDL transformation utilities, such as the following:
>   -- wsdl2xml
>   -- wsdl2service
>   -- wsdl2soap
>   -- wsdl2corba

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3125) Add -validate option to the following utilities: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

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

Freeman Fang commented on CXF-3125:
-----------------------------------

The "-validate" flag of wsdl2java and wsdl2js  basically do same functionality as wsdlvalidator CLI tool, and if the binding part of the wsdl is missing, "validate" fail as this wsdl is incomplete and so invalid.

So add "-validate" flag to wsdl2xml, wsdl2soap and wsdl2corba isn't applicable, as those three CLI tool just add xml binding/soap binding/corba binding to the wsdl so the input wsdl typically have no binding part and hence they are intended to be invalid at the first place.

But we can add "-validate" option to wsdl2service, though we are expected to see a warning like
WARNING: WSDL document file:/Users/ffang/apache-cxf-2.5.0-SNAPSHOT/bin/hello_world_mixed_style.wsdl does not define any services
if the input wsdl have no service part, the other validator part still works.


> Add -validate option to the following utilities:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3125
>                 URL: https://issues.apache.org/jira/browse/CXF-3125
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.3
>            Reporter: Robert Liguori
>            Assignee: Freeman Fang
>            Priority: Minor
>
> The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:
>   -- wsdl2js 
>   -- wsdl2java
> This -validate option would be useful with other WSDL transformation utilities, such as the following:
>   -- wsdl2xml
>   -- wsdl2service
>   -- wsdl2soap
>   -- wsdl2corba

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3125) Add -validate option to the following utilties: wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.

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

Robert Liguori commented on CXF-3125:
-------------------------------------

See the attachment in CXF-3245 for more information about CXF command line tool switches.

> Add -validate option to the following utilties:  wsdl2xml, wsdl2soap, wsdl2service and wsdl2corba.
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3125
>                 URL: https://issues.apache.org/jira/browse/CXF-3125
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.3
>            Reporter: Robert Liguori
>            Priority: Minor
>
> The following utitlies have the "-validate" option which instructs the tool to validate the WSDL document before attempting to generate any code:
>   -- wsdl2js 
>   -- wsdl2java
> This -validate option would be useful with other WSDL transformation utilities, such as the following:
>   -- wsdl2xml
>   -- wsdl2service
>   -- wsdl2soap
>   -- wsdl2corba

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira