You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2006/12/18 07:44:21 UTC

[jira] Created: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

problem in picking the axis fault element from the binding element (in WSDL 1.1)
--------------------------------------------------------------------------------

                 Key: AXIS2-1882
                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
         Environment: any
            Reporter: Amila Chinthaka Suriarachchi
            Priority: Critical


please see the mailing list thread
http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2


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

        

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


[jira] Updated: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1882?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1882:
------------------------------------------------

    Attachment: kernal.patch

Changed the WSDL11ToAxisServiceBuilder class to pick the fault element using the soap:fault name.

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>            Priority: Critical
>         Attachments: kernal.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Commented: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1882?page=comments#action_12459535 ] 
            
Dennis Sosnoski commented on AXIS2-1882:
----------------------------------------

Actually, I think the original code may have been correct. The BP simply says:

R2721  A wsdl:binding in a DESCRIPTION MUST have the name  attribute specified on all contained soapbind:fault elements.

R2754 In a DESCRIPTION, the value of the name attribute on a soapbind:fault element MUST match the value of the name attribute on its parent wsdl:fault element.

So going back to the original WSDL from the mailing list:

      <wsdl:fault name="SDD2Error">
        <soap:fault use="literal" name="SDD2ErrorFault" namespace="" />
      </wsdl:fault>

As I read the BP this is wrong, in that the two name attributes should match. But that's only the BP, not WSDL, and in any case the name on the soap:fault is redundant - it should always match the parent wsdl:fault name attribute, so that can just be used instead. I suspect the real problem in the original WSDL was that the name used on the <wsdl:fault> element within the <wsdl:binding>/<wsdl:operation> didn't match that used on the corresponding <wsdl:portType>/<wsdl:operation>/<wsdl:fault>:

    <wsdl:operation name="SDD2TransportReplyOp">
      <wsdl:input message="tns:SDD2TransportReplySoapIn" />
      <wsdl:output message="tns:SDD2TransportReplySoapOut" />
      <wsdl:fault name="SDD2ErrorFault" message="tns:SDD2Error" />
    </wsdl:operation>

(note SDD2ErrorFault name vs. SDD2Error name).

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Updated: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1882?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1882:
------------------------------------------------

    Attachment: xmlbeans.patch

change an incorrect test wsdl file.

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Reopened: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1882?page=all ]

Dennis Sosnoski reopened AXIS2-1882:
------------------------------------

             
This fix requires the soap:fault element to have a name attribute matching the containing wsdl:fault element name attribute. This means we'll only accept BP-compliant WSDLs, which AFAIK is not the Axis2 goal.

Note that only the BP requires the soap:fault element to have a name attribute.

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Resolved: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1882?page=all ]

Amila Chinthaka Suriarachchi resolved AXIS2-1882.
-------------------------------------------------

    Resolution: Fixed

revert the change

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Commented: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1882?page=comments#action_12459545 ] 
            
Amila Chinthaka Suriarachchi commented on AXIS2-1882:
-----------------------------------------------------

I have misinterpret the term *parent wsdl:fault element* as the wsdl:fault element in the under the PortType element. yes, I now think it should be the immediate parent and what you argue is correct. Then we have to revert this patch. Sorry for the mistake.

Anyway Don't we have to support the requirements of the BP? Isn't it a requirement to support the BP for any wsdl 1.1 implementaion?

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Assigned: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1882?page=all ]

Amila Chinthaka Suriarachchi reassigned AXIS2-1882:
---------------------------------------------------

    Assignee: Davanum Srinivas

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Resolved: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1882?page=all ]

Davanum Srinivas resolved AXIS2-1882.
-------------------------------------

    Resolution: Fixed

applied.

thanks,
dims

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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


[jira] Commented: (AXIS2-1882) problem in picking the axis fault element from the binding element (in WSDL 1.1)

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1882?page=comments#action_12459551 ] 
            
Dennis Sosnoski commented on AXIS2-1882:
----------------------------------------

My understanding is that we want to support BP (in that Axis2 should allow, and even encourage, the development of BP-compliant web services), but not require it. So we should not reject an otherwise valid WSDL just because it's not BP-compliant.

> problem in picking the axis fault element from the binding element (in WSDL 1.1)
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-1882
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1882
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>         Environment: any
>            Reporter: Amila Chinthaka Suriarachchi
>         Assigned To: Davanum Srinivas
>            Priority: Critical
>         Attachments: kernal.patch, xmlbeans.patch
>
>
> please see the mailing list thread
> http://marc.theaimsgroup.com/?l=axis-dev&m=116623106228381&w=2

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

        

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