You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Brady Johnson (JIRA)" <tu...@ws.apache.org> on 2007/07/03 01:19:04 UTC

[jira] Created: (TUSCANY-1402) TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information

TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information
------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1402
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1402
             Project: Tuscany
          Issue Type: Bug
          Components: C++ SCA
    Affects Versions: Cpp-M3
         Environment: All platforms
            Reporter: Brady Johnson
            Priority: Minor
             Fix For: Cpp-Next


Currently there is no way to obtain WSDL Operation Message information as defined in a WSDL. The WSDLOperation class does have 2 attributes that seem to help serve this purpose, but they are never populated.
    commonj::sdo::DataObjectPtr inputMessage;
    commonj::sdo::DataObjectPtr outputMessage;

I would like to propose adding several methods related to the input/output messages as follows:

    // Called from WSDLDefinition, populates std::map<std::string, tuscany::sca::model::WSDLMessagePart> partMap
    // which will map part names to message parts
    void WSDLOperation::setInputMessage( commonj::sdo::DataObjectPtr msg );
    void WSDLOperation::setOutputMessage( commonj::sdo::DataObjectPtr msg );

    // Allows you to iterate over the input/output message parts
    // Initially for Document wrapped, there will only be one part
    std::list<std::string> WSDLOperation::getInputMessagePartNames();
    std::list<std::string> WSDLOperation::getOutputMessagePartNames();

    // Allows you to get the actual input/output message part
    // Initially for Document wrapped, there will only be one part
    tuscany::sca::model::WSDLMessagePart WSDLOperation::getInputMessagePart( std::string msgPartName );
    tuscany::sca::model::WSDLMessagePart WSDLOperation::getOutputMessagePart( std::string msgPartName );

    // Currently WSDLOperation specfies encoding for the entire operation, when actually
    // it should be specified seperately for both the input AND the output message
    void WSDLMessagePart::setInputEncoded( bool ); // replaces setEncoded
    void WSDLMessagePart::setOutputEncoded( bool ); // replaces setEncoded
    bool WSDLMessagePart::isInputEncoded(); // replaces isEncoded
    bool WSDLMessagePart::isOutputEncoded(); // replaces isEncoded

The WSDLMessagePart class would have the following API:
    WSDLMessagePart::WSDLMessagePart( std::string partName, std::string partType, std::string partUri );

    std::string WSDLMessagePart::getPartName();
    void WSDLMessagePart::setPartName( std::string uri );

    std::string WSDLMessagePart::getPartType();
    void WSDLMessagePart::setPartType( std::string name );

    std::string WSDLMessagePart::getPartUri();
    void WSDLMessagePart::setPartUri( std::string uri );

This would be a good step towards making Tuscany support Document AND RPC SOAP message binding styles.

If everyone agrees with these changes, I can provide a patch shortly.

--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com


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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1402) TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information

Posted by "Brady Johnson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brady Johnson updated TUSCANY-1402:
-----------------------------------

    Attachment: WSDLMessagePart.cpp
                WSDLMessagePart.h

Attaching new class

> TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1402
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1402
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>         Environment: All platforms
>            Reporter: Brady Johnson
>            Priority: Minor
>             Fix For: Cpp-Next
>
>         Attachments: tuscany_patch_jira_tuscany1402, WSDLMessagePart.cpp, WSDLMessagePart.h
>
>
> Currently there is no way to obtain WSDL Operation Message information as defined in a WSDL. The WSDLOperation class does have 2 attributes that seem to help serve this purpose, but they are never populated.
>     commonj::sdo::DataObjectPtr inputMessage;
>     commonj::sdo::DataObjectPtr outputMessage;
> I would like to propose adding several methods related to the input/output messages as follows:
>     // Called from WSDLDefinition, populates std::map<std::string, tuscany::sca::model::WSDLMessagePart> partMap
>     // which will map part names to message parts
>     void WSDLOperation::setInputMessage( commonj::sdo::DataObjectPtr msg );
>     void WSDLOperation::setOutputMessage( commonj::sdo::DataObjectPtr msg );
>     // Allows you to iterate over the input/output message parts
>     // Initially for Document wrapped, there will only be one part
>     std::list<std::string> WSDLOperation::getInputMessagePartNames();
>     std::list<std::string> WSDLOperation::getOutputMessagePartNames();
>     // Allows you to get the actual input/output message part
>     // Initially for Document wrapped, there will only be one part
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getInputMessagePart( std::string msgPartName );
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getOutputMessagePart( std::string msgPartName );
>     // Currently WSDLOperation specfies encoding for the entire operation, when actually
>     // it should be specified seperately for both the input AND the output message
>     void WSDLMessagePart::setInputEncoded( bool ); // replaces setEncoded
>     void WSDLMessagePart::setOutputEncoded( bool ); // replaces setEncoded
>     bool WSDLMessagePart::isInputEncoded(); // replaces isEncoded
>     bool WSDLMessagePart::isOutputEncoded(); // replaces isEncoded
> The WSDLMessagePart class would have the following API:
>     WSDLMessagePart::WSDLMessagePart( std::string partName, std::string partType, std::string partUri );
>     std::string WSDLMessagePart::getPartName();
>     void WSDLMessagePart::setPartName( std::string uri );
>     std::string WSDLMessagePart::getPartType();
>     void WSDLMessagePart::setPartType( std::string name );
>     std::string WSDLMessagePart::getPartUri();
>     void WSDLMessagePart::setPartUri( std::string uri );
> This would be a good step towards making Tuscany support Document AND RPC SOAP message binding styles.
> If everyone agrees with these changes, I can provide a patch shortly.
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1402) TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information

Posted by "Brady Johnson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brady Johnson updated TUSCANY-1402:
-----------------------------------

    Attachment: tuscany_patch_jira_tuscany1402

Attaching patch file which contains all of the changed files in the source tree.

> TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1402
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1402
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>         Environment: All platforms
>            Reporter: Brady Johnson
>            Priority: Minor
>             Fix For: Cpp-Next
>
>         Attachments: tuscany_patch_jira_tuscany1402
>
>
> Currently there is no way to obtain WSDL Operation Message information as defined in a WSDL. The WSDLOperation class does have 2 attributes that seem to help serve this purpose, but they are never populated.
>     commonj::sdo::DataObjectPtr inputMessage;
>     commonj::sdo::DataObjectPtr outputMessage;
> I would like to propose adding several methods related to the input/output messages as follows:
>     // Called from WSDLDefinition, populates std::map<std::string, tuscany::sca::model::WSDLMessagePart> partMap
>     // which will map part names to message parts
>     void WSDLOperation::setInputMessage( commonj::sdo::DataObjectPtr msg );
>     void WSDLOperation::setOutputMessage( commonj::sdo::DataObjectPtr msg );
>     // Allows you to iterate over the input/output message parts
>     // Initially for Document wrapped, there will only be one part
>     std::list<std::string> WSDLOperation::getInputMessagePartNames();
>     std::list<std::string> WSDLOperation::getOutputMessagePartNames();
>     // Allows you to get the actual input/output message part
>     // Initially for Document wrapped, there will only be one part
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getInputMessagePart( std::string msgPartName );
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getOutputMessagePart( std::string msgPartName );
>     // Currently WSDLOperation specfies encoding for the entire operation, when actually
>     // it should be specified seperately for both the input AND the output message
>     void WSDLMessagePart::setInputEncoded( bool ); // replaces setEncoded
>     void WSDLMessagePart::setOutputEncoded( bool ); // replaces setEncoded
>     bool WSDLMessagePart::isInputEncoded(); // replaces isEncoded
>     bool WSDLMessagePart::isOutputEncoded(); // replaces isEncoded
> The WSDLMessagePart class would have the following API:
>     WSDLMessagePart::WSDLMessagePart( std::string partName, std::string partType, std::string partUri );
>     std::string WSDLMessagePart::getPartName();
>     void WSDLMessagePart::setPartName( std::string uri );
>     std::string WSDLMessagePart::getPartType();
>     void WSDLMessagePart::setPartType( std::string name );
>     std::string WSDLMessagePart::getPartUri();
>     void WSDLMessagePart::setPartUri( std::string uri );
> This would be a good step towards making Tuscany support Document AND RPC SOAP message binding styles.
> If everyone agrees with these changes, I can provide a patch shortly.
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1402) TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information

Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Robbins resolved TUSCANY-1402.
-----------------------------------

    Resolution: Fixed

Patch applied and files added

> TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1402
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1402
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>         Environment: All platforms
>            Reporter: Brady Johnson
>            Priority: Minor
>             Fix For: Cpp-Next
>
>         Attachments: tuscany_patch_jira_tuscany1402, WSDLMessagePart.cpp, WSDLMessagePart.h
>
>
> Currently there is no way to obtain WSDL Operation Message information as defined in a WSDL. The WSDLOperation class does have 2 attributes that seem to help serve this purpose, but they are never populated.
>     commonj::sdo::DataObjectPtr inputMessage;
>     commonj::sdo::DataObjectPtr outputMessage;
> I would like to propose adding several methods related to the input/output messages as follows:
>     // Called from WSDLDefinition, populates std::map<std::string, tuscany::sca::model::WSDLMessagePart> partMap
>     // which will map part names to message parts
>     void WSDLOperation::setInputMessage( commonj::sdo::DataObjectPtr msg );
>     void WSDLOperation::setOutputMessage( commonj::sdo::DataObjectPtr msg );
>     // Allows you to iterate over the input/output message parts
>     // Initially for Document wrapped, there will only be one part
>     std::list<std::string> WSDLOperation::getInputMessagePartNames();
>     std::list<std::string> WSDLOperation::getOutputMessagePartNames();
>     // Allows you to get the actual input/output message part
>     // Initially for Document wrapped, there will only be one part
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getInputMessagePart( std::string msgPartName );
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getOutputMessagePart( std::string msgPartName );
>     // Currently WSDLOperation specfies encoding for the entire operation, when actually
>     // it should be specified seperately for both the input AND the output message
>     void WSDLMessagePart::setInputEncoded( bool ); // replaces setEncoded
>     void WSDLMessagePart::setOutputEncoded( bool ); // replaces setEncoded
>     bool WSDLMessagePart::isInputEncoded(); // replaces isEncoded
>     bool WSDLMessagePart::isOutputEncoded(); // replaces isEncoded
> The WSDLMessagePart class would have the following API:
>     WSDLMessagePart::WSDLMessagePart( std::string partName, std::string partType, std::string partUri );
>     std::string WSDLMessagePart::getPartName();
>     void WSDLMessagePart::setPartName( std::string uri );
>     std::string WSDLMessagePart::getPartType();
>     void WSDLMessagePart::setPartType( std::string name );
>     std::string WSDLMessagePart::getPartUri();
>     void WSDLMessagePart::setPartUri( std::string uri );
> This would be a good step towards making Tuscany support Document AND RPC SOAP message binding styles.
> If everyone agrees with these changes, I can provide a patch shortly.
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1402) TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information

Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510659 ] 

Pete Robbins commented on TUSCANY-1402:
---------------------------------------

The WSDLMessagePart.h and .cpp are missing from the patch.

> TuscanySCA C++: WSDLOperation class provides no access to the input and output Operation Message information
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1402
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1402
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SCA
>    Affects Versions: Cpp-M3
>         Environment: All platforms
>            Reporter: Brady Johnson
>            Priority: Minor
>             Fix For: Cpp-Next
>
>         Attachments: tuscany_patch_jira_tuscany1402
>
>
> Currently there is no way to obtain WSDL Operation Message information as defined in a WSDL. The WSDLOperation class does have 2 attributes that seem to help serve this purpose, but they are never populated.
>     commonj::sdo::DataObjectPtr inputMessage;
>     commonj::sdo::DataObjectPtr outputMessage;
> I would like to propose adding several methods related to the input/output messages as follows:
>     // Called from WSDLDefinition, populates std::map<std::string, tuscany::sca::model::WSDLMessagePart> partMap
>     // which will map part names to message parts
>     void WSDLOperation::setInputMessage( commonj::sdo::DataObjectPtr msg );
>     void WSDLOperation::setOutputMessage( commonj::sdo::DataObjectPtr msg );
>     // Allows you to iterate over the input/output message parts
>     // Initially for Document wrapped, there will only be one part
>     std::list<std::string> WSDLOperation::getInputMessagePartNames();
>     std::list<std::string> WSDLOperation::getOutputMessagePartNames();
>     // Allows you to get the actual input/output message part
>     // Initially for Document wrapped, there will only be one part
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getInputMessagePart( std::string msgPartName );
>     tuscany::sca::model::WSDLMessagePart WSDLOperation::getOutputMessagePart( std::string msgPartName );
>     // Currently WSDLOperation specfies encoding for the entire operation, when actually
>     // it should be specified seperately for both the input AND the output message
>     void WSDLMessagePart::setInputEncoded( bool ); // replaces setEncoded
>     void WSDLMessagePart::setOutputEncoded( bool ); // replaces setEncoded
>     bool WSDLMessagePart::isInputEncoded(); // replaces isEncoded
>     bool WSDLMessagePart::isOutputEncoded(); // replaces isEncoded
> The WSDLMessagePart class would have the following API:
>     WSDLMessagePart::WSDLMessagePart( std::string partName, std::string partType, std::string partUri );
>     std::string WSDLMessagePart::getPartName();
>     void WSDLMessagePart::setPartName( std::string uri );
>     std::string WSDLMessagePart::getPartType();
>     void WSDLMessagePart::setPartType( std::string name );
>     std::string WSDLMessagePart::getPartUri();
>     void WSDLMessagePart::setPartUri( std::string uri );
> This would be a good step towards making Tuscany support Document AND RPC SOAP message binding styles.
> If everyone agrees with these changes, I can provide a patch shortly.
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org