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 "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2007/12/11 12:12:43 UTC

[jira] Created: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

MTOM Sample failed with Libcurl (HTTP) transport
------------------------------------------------

                 Key: AXIS2C-828
                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
             Project: Axis2-C
          Issue Type: Bug
          Components: core/transport, transport/http
    Affects Versions: 1.1.0, Current (Nightly)
            Reporter: Dinesh Premalal
            Assignee: Dinesh Premalal


MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment: diff.txt

Refer diff.txt for proposed patch.

The Reason for this bug was, that, we did not read the response headers and set the appropriate content type and the content length properties into the message context. I added support for reading headers in curl and appropriately setting required properties into  the message context.

I also added,
(1) Support for identifying the http response's status code and setting it into the message context.
(2) A separate stream for headers so that errors in headers will not affect the data stream.

Regards,
Senaka

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Dinesh Premalal
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment: diff.txt

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Commented: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559350#action_12559350 ] 

Dinesh Premalal commented on AXIS2C-828:
----------------------------------------

Senaka,
    Applied and tested your patch , for me the bug is still there. Could you please check it again.



> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment:     (was: diff.txt)

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Dinesh Premalal
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Commented: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559615#action_12559615 ] 

Senaka Fernando commented on AXIS2C-828:
----------------------------------------

Hi Dinesh,
     Tested this again. Without the patch, mtom fails. I see attachment in both messages. With the patch it succeeded. However, I'm doing further testing on this issue. And, I will comment on this once I'm done.

Regards,
Senaka

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment: diff.txt

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment:     (was: diff.txt)

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment:     (was: diff.txt)

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Assigned: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Sanjaya Ratnaweera reassigned AXIS2C-828:
-----------------------------------------

    Assignee: Sanjaya Ratnaweera  (was: Dinesh Premalal)

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Resolved: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Sanjaya Ratnaweera resolved AXIS2C-828.
---------------------------------------

    Resolution: Fixed

Patch applied. Thanks Senaka for the patch

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Sanjaya Ratnaweera
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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


[jira] Updated: (AXIS2C-828) MTOM Sample failed with Libcurl (HTTP) transport

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

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment: diff.txt

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Dinesh Premalal
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both request and response messages.

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