You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Lawrence Mandel (JIRA)" <ji...@apache.org> on 2007/05/03 06:03:15 UTC

[jira] Created: (WODEN-160) Woden doesn't specify the default MEP to use if none is specified

Woden doesn't specify the default MEP to use if none is specified
-----------------------------------------------------------------

                 Key: WODEN-160
                 URL: https://issues.apache.org/jira/browse/WODEN-160
             Project: Woden
          Issue Type: Bug
          Components: Parser
    Affects Versions: M7a
            Reporter: Lawrence Mandel


As reported by Jacek on the Woden mailing list (see http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOFF6E44480.3AF74C7F-ON852572CF.00775206-852572CF.00786037@ca.ibm.com%3e):

In WSDL if an operation doesn't have the pattern attribute, its MEP
seems to default to http://www.w3.org/ns/wsdl/in-out - per section 2.4.3
at
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#InterfaceOperation_Mapping

In woden, the message exchange property is not set (line 770, rev 533754
of /incubator/woden/trunk/java/src/org/apache/woden/internal/BaseWSDLReader.java)
so this seems to be a bug.

Just adding

else {
   oper.setPattern(Constants.MEP_URI_IN_OUT);
}

should suffice.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Commented: (WODEN-160) Woden doesn't specify the default MEP to use if none is specified

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516674 ] 

John Kaputin commented on WODEN-160:
------------------------------------

The parseInterfaceOperation method in BaseWSDLReader should not be changed, as this field should reflect the Element model (i.e. InterfaceOperationElement.getPattern() should return null if no MEP attribute is specified in the WSDL). Instead, the getter method  on the component model should implement the defauting rule. So,  InterfaceOperation.getMessageExchangePattern() should return the default value if no MEP attribute was parsed from the WSDL.   I will apply this fix.

> Woden doesn't specify the default MEP to use if none is specified
> -----------------------------------------------------------------
>
>                 Key: WODEN-160
>                 URL: https://issues.apache.org/jira/browse/WODEN-160
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: M7a
>            Reporter: Lawrence Mandel
>            Assignee: John Kaputin
>             Fix For: M8
>
>
> As reported by Jacek on the Woden mailing list (see http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOFF6E44480.3AF74C7F-ON852572CF.00775206-852572CF.00786037@ca.ibm.com%3e):
> In WSDL if an operation doesn't have the pattern attribute, its MEP
> seems to default to http://www.w3.org/ns/wsdl/in-out - per section 2.4.3
> at
> http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#InterfaceOperation_Mapping
> In woden, the message exchange property is not set (line 770, rev 533754
> of /incubator/woden/trunk/java/src/org/apache/woden/internal/BaseWSDLReader.java)
> so this seems to be a bug.
> Just adding
> else {
>    oper.setPattern(Constants.MEP_URI_IN_OUT);
> }
> should suffice.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Assigned: (WODEN-160) Woden doesn't specify the default MEP to use if none is specified

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

John Kaputin reassigned WODEN-160:
----------------------------------

    Assignee: John Kaputin

> Woden doesn't specify the default MEP to use if none is specified
> -----------------------------------------------------------------
>
>                 Key: WODEN-160
>                 URL: https://issues.apache.org/jira/browse/WODEN-160
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: M7a
>            Reporter: Lawrence Mandel
>            Assignee: John Kaputin
>             Fix For: M8
>
>
> As reported by Jacek on the Woden mailing list (see http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOFF6E44480.3AF74C7F-ON852572CF.00775206-852572CF.00786037@ca.ibm.com%3e):
> In WSDL if an operation doesn't have the pattern attribute, its MEP
> seems to default to http://www.w3.org/ns/wsdl/in-out - per section 2.4.3
> at
> http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#InterfaceOperation_Mapping
> In woden, the message exchange property is not set (line 770, rev 533754
> of /incubator/woden/trunk/java/src/org/apache/woden/internal/BaseWSDLReader.java)
> so this seems to be a bug.
> Just adding
> else {
>    oper.setPattern(Constants.MEP_URI_IN_OUT);
> }
> should suffice.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Updated: (WODEN-160) Woden doesn't specify the default MEP to use if none is specified

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

John Kaputin updated WODEN-160:
-------------------------------

    Fix Version/s: M8

> Woden doesn't specify the default MEP to use if none is specified
> -----------------------------------------------------------------
>
>                 Key: WODEN-160
>                 URL: https://issues.apache.org/jira/browse/WODEN-160
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: M7a
>            Reporter: Lawrence Mandel
>             Fix For: M8
>
>
> As reported by Jacek on the Woden mailing list (see http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOFF6E44480.3AF74C7F-ON852572CF.00775206-852572CF.00786037@ca.ibm.com%3e):
> In WSDL if an operation doesn't have the pattern attribute, its MEP
> seems to default to http://www.w3.org/ns/wsdl/in-out - per section 2.4.3
> at
> http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#InterfaceOperation_Mapping
> In woden, the message exchange property is not set (line 770, rev 533754
> of /incubator/woden/trunk/java/src/org/apache/woden/internal/BaseWSDLReader.java)
> so this seems to be a bug.
> Just adding
> else {
>    oper.setPattern(Constants.MEP_URI_IN_OUT);
> }
> should suffice.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


[jira] Resolved: (WODEN-160) Woden doesn't specify the default MEP to use if none is specified

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

John Kaputin resolved WODEN-160.
--------------------------------

    Resolution: Fixed

r561298

> Woden doesn't specify the default MEP to use if none is specified
> -----------------------------------------------------------------
>
>                 Key: WODEN-160
>                 URL: https://issues.apache.org/jira/browse/WODEN-160
>             Project: Woden
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: M7a
>            Reporter: Lawrence Mandel
>            Assignee: John Kaputin
>             Fix For: M8
>
>
> As reported by Jacek on the Woden mailing list (see http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOFF6E44480.3AF74C7F-ON852572CF.00775206-852572CF.00786037@ca.ibm.com%3e):
> In WSDL if an operation doesn't have the pattern attribute, its MEP
> seems to default to http://www.w3.org/ns/wsdl/in-out - per section 2.4.3
> at
> http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#InterfaceOperation_Mapping
> In woden, the message exchange property is not set (line 770, rev 533754
> of /incubator/woden/trunk/java/src/org/apache/woden/internal/BaseWSDLReader.java)
> so this seems to be a bug.
> Just adding
> else {
>    oper.setPattern(Constants.MEP_URI_IN_OUT);
> }
> should suffice.

-- 
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: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org