You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2004/11/08 15:01:33 UTC

[jira] Created: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

WSDL2WS creates header files that are empty or never used
---------------------------------------------------------

         Key: AXISCPP-248
         URL: http://nagoya.apache.org/jira/browse/AXISCPP-248
     Project: Axis-C++
        Type: Bug
  Components: Basic Architecture  
 Environment: n/a
    Reporter: Fred Preston


When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-248?page=history ]

Fred Preston updated AXISCPP-248:
---------------------------------

        Version: 1.5 Alpha
      Component: WSDL processing
                     (was: Basic Architecture)
    Fix Version: 1.5 Alpha

This issue haas been moved out to 1.5

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.5 Alpha
>  Environment: n/a
>     Reporter: Fred Preston
>      Fix For: 1.5 Alpha

>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=all ]

John Hawkins updated AXISCPP-248:
---------------------------------

    Component: WSDL processing - Doc

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>      Fix For: 1.6 Alpha

>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=history ]

Samisa Abeysinghe updated AXISCPP-248:
--------------------------------------

        Version: current (nightly)
                     (was: 1.5 Alpha)
    Fix Version: 1.6 Alpha
                     (was: 1.5 Alpha)

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>      Fix For: 1.6 Alpha

>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=all ]
     
Fred Preston closed AXISCPP-248:
--------------------------------


> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug

>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: John Hawkins
>      Fix For: 1.6 Alpha
>  Attachments: EmptyHeader.wsdl, myBAT.xsd
>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=comments#action_61172 ]
     
Samisa Abeysinghe commented on AXISCPP-248:
-------------------------------------------

This means we have to change the way that we generate the code at the moment.
This could be part of fixing the "Server" sntry issue.

I do not think we will be able to do this for 1.5

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.5 Alpha
>  Environment: n/a
>     Reporter: Fred Preston
>      Fix For: 1.5 Alpha

>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=all ]

John Hawkins reassigned AXISCPP-248:
------------------------------------

    Assign To: John Hawkins

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: John Hawkins
>      Fix For: 1.6 Alpha
>  Attachments: EmptyHeader.wsdl, myBAT.xsd
>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=all ]

Fred Preston updated AXISCPP-248:
---------------------------------

    Attachment: EmptyHeader.wsdl
                myBAT.xsd

Hi Chinthana,
I've included a simple WSDL and XSD that demonstrate the 'empty header file' problem.  The reason it was first introduced was because the classes will include all sub classes regardless of use and so what is happening is that some unused or empty classes where not being created but still being included and so the compile would fail because of missing include files.  The simple way to 'fix' this was to ensure that all classes produced header files.  The real solution is to make the logic that decides what files to include better so it knows not to include emply classes and so these files do not need to be generated.

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>      Fix For: 1.6 Alpha
>  Attachments: EmptyHeader.wsdl, myBAT.xsd
>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-248) WSDL2WS creates header files that are empty or never used

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-248?page=all ]
     
John Hawkins resolved AXISCPP-248:
----------------------------------

    Resolution: Fixed

Fixed by checking up-front whether a file is to be created or not. Then check that flag just before adding it as an #include.

> WSDL2WS creates header files that are empty or never used
> ---------------------------------------------------------
>
>          Key: AXISCPP-248
>          URL: http://issues.apache.org/jira/browse/AXISCPP-248
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - RPC, WSDL processing - Doc
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: John Hawkins
>      Fix For: 1.6 Alpha
>  Attachments: EmptyHeader.wsdl, myBAT.xsd
>
> When the WSDL imports an XSD, C++ code gets generated for all the types in the XSD, not just the types which are actually used in the WSDL 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira