<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>axis-c-dev@ws.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/</id>
<updated>2009-12-10T18:30:14Z</updated>
<entry>
<title>[jira] Updated: (AXIS2C-1418) HTTP_METHOD DELETE and REST does not work (server returns error 500)</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1178057142.1260333918081.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1178057142-1260333918081-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:45:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1418:
-------------------------------------

    Component/s: REST

&gt; HTTP_METHOD DELETE and REST does not work (server returns error 500)
&gt; --------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1418
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1418
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: REST
&gt;    Affects Versions: 1.6.0
&gt;         Environment: CentOS 5.1 64 bit
&gt;            Reporter: Ilia Gilderman
&gt;
&gt; When http_method set to DELETE and REST is used request fails with error 500 returned
from server.
&gt; The error happens either on echo_rest sample or simple curl request.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1414) Error in length computing in util/url.c</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1660061628.1260333798095.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1660061628-1260333798095-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:43:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1414:
-------------------------------------

    Component/s: util

&gt; Error in length computing in util/url.c
&gt; ---------------------------------------
&gt;
&gt;                 Key: AXIS2C-1414
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1414
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: util
&gt;            Reporter: Francois Mireaux
&gt;
&gt; A C string ends with 0 so length computing are erroneous in util/url.c for  functions
axutil_url_set_host and axutil_url_get_server : we need to allocate 1 more byte.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Resolved: (AXIS2C-1409) The AXIS2_PARAM_CHECK macro reset the env status when the param is OK</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c90005943.1260333678349.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c90005943-1260333678349-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:41:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar resolved AXIS2C-1409.
--------------------------------------

    Resolution: Duplicate

Same issue as AXIS2C-1402

&gt; The AXIS2_PARAM_CHECK macro reset the env status when the param is OK
&gt; ---------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1409
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1409
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/engine
&gt;            Reporter: Francois Mireaux
&gt;            Assignee: S.Uthaiyashankar
&gt;
&gt; In AXIS2_PARAM_CHECK macro, reseting the env status to OK when the tested parameter is
OK seems not a good thing. Some days ago, the macro was modified to not reset the env status
which leads me to track down some errors (see JIRA AXIS2C-1407 and AXIS2C-1408).
&gt; This day (10/21/2009) the macro resets again the env status but this could conceal real
errors.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Assigned: (AXIS2C-1409) The AXIS2_PARAM_CHECK macro reset the env status when the param is OK</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1784110391.1260333678308.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1784110391-1260333678308-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:41:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar reassigned AXIS2C-1409:
----------------------------------------

    Assignee: S.Uthaiyashankar

&gt; The AXIS2_PARAM_CHECK macro reset the env status when the param is OK
&gt; ---------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1409
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1409
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/engine
&gt;            Reporter: Francois Mireaux
&gt;            Assignee: S.Uthaiyashankar
&gt;
&gt; In AXIS2_PARAM_CHECK macro, reseting the env status to OK when the tested parameter is
OK seems not a good thing. Some days ago, the macro was modified to not reset the env status
which leads me to track down some errors (see JIRA AXIS2C-1407 and AXIS2C-1408).
&gt; This day (10/21/2009) the macro resets again the env status but this could conceal real
errors.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1412) Very simple unit test framework and tests corrections</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1006822754.1260333678195.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1006822754-1260333678195-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:41:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1412:
-------------------------------------

    Component/s: tests

&gt; Very simple unit test framework and tests corrections
&gt; -----------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1412
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1412
&gt;             Project: Axis2-C
&gt;          Issue Type: Test
&gt;          Components: tests
&gt;            Reporter: Francois Mireaux
&gt;         Attachments: tests.patch, tests.patch
&gt;
&gt;
&gt; Here is a proposition for a very simple unit test framework, used for rewrite some of
tests (numerous errors found).
&gt; Tests are also modified to be used under Windows (tested with the C compiler of Visual
Studio 2008 Express Edition) with the help of a JScript program which computes a Makefile
extension for tests (file makeTests) analysing files Makefile.am. After executing buid\win32\build.bat,
one can use build\win32\buildtests.bat to build and execute all defined tests. An optionnal
parameter ciould be used to build and execute one specific test defined by test_&lt;nn&gt;
(see makeTests file).

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1409) The AXIS2_PARAM_CHECK macro reset the env status when the param is OK</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c2030726096.1260333678295.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2030726096-1260333678295-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:41:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1409:
-------------------------------------

    Component/s: core/engine

&gt; The AXIS2_PARAM_CHECK macro reset the env status when the param is OK
&gt; ---------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1409
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1409
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/engine
&gt;            Reporter: Francois Mireaux
&gt;
&gt; In AXIS2_PARAM_CHECK macro, reseting the env status to OK when the tested parameter is
OK seems not a good thing. Some days ago, the macro was modified to not reset the env status
which leads me to track down some errors (see JIRA AXIS2C-1407 and AXIS2C-1408).
&gt; This day (10/21/2009) the macro resets again the env status but this could conceal real
errors.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1404) MTOM does not work with CGI installation of Axis</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c608561152.1260333558284.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c608561152-1260333558284-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:39:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1404:
-------------------------------------

    Component/s: mtom

&gt; MTOM does not work with CGI installation of Axis
&gt; ------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1404
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1404
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: mtom
&gt;         Environment: $ uname -a
&gt; Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux
&gt; $ gcc --version
&gt; gcc (GCC) 4.2.2
&gt; Copyright (C) 2007 Free Software Foundation, Inc.
&gt; This is free software; see the source for copying conditions.  There is NO
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&gt; $ ld --version
&gt; GNU ld version 2.17.50.0.6-2.el5 20061020
&gt; Copyright 2005 Free Software Foundation, Inc.
&gt; This program is free software; you may redistribute it under the terms of
&gt; the GNU General Public License.  This program has absolutely no warranty.
&gt;            Reporter: Russell Tempero
&gt;         Attachments: axis2_cgi_main.c.diff
&gt;
&gt;   Original Estimate: 48h
&gt;  Remaining Estimate: 48h
&gt;
&gt; When using the the CGI version of Axis, a web service is able to neither receive requests
with MTOM attachments nor send responses with said attachments. The process crashes in either
case.
&gt; I have attached a fix that allows messages with MTOM attachments to be both sent and
received from an Axis2 CGI process. Note that the attached fix works for our current setup
and may not take other configurations into account. It is recommended that further investigation
be made to ensure that the fix works for all cases.
&gt; The first part of the attached patch allows for the receipt of chunked transfer-encoding
HTTP messages. This is not a necessity for MTOM, but is very helpful. The rest of the patch
allows MTOM messages to be sent back out.
&gt; Let me know if there are any questions or concerns or I if I can further assist in any
way.
&gt; Thanks,
&gt; Russell

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1398) Add a method to the axis2_options to set mustunderstand attribute to WS-Addressing</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c219559236.1260333438275.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c219559236-1260333438275-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:37:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1398:
-------------------------------------

    Component/s: core/clientapi
     Issue Type: New Feature  (was: Bug)

&gt; Add a method to the axis2_options to set mustunderstand attribute to WS-Addressing
&gt; ----------------------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1398
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1398
&gt;             Project: Axis2-C
&gt;          Issue Type: New Feature
&gt;          Components: core/clientapi
&gt;         Environment: Any
&gt;            Reporter: Nandika Jayawardana
&gt;
&gt; Currently there isnt a convenient way to set mustunderstand attribute for WS-Addressing
headers from the client api

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1397) HTTPS through proxy does not work for WS client</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1025814557.1260333438103.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1025814557-1260333438103-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:37:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1397:
-------------------------------------

    Component/s: transport/http

&gt; HTTPS through proxy does not work for WS client
&gt; -----------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1397
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1397
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: transport/http
&gt;    Affects Versions: 1.6.0
&gt;         Environment: I have WS client in windows XP machine
&gt;            Reporter: Frank Zhou
&gt;
&gt; I have a web service client using axis2/c installed in a windows XP machine. The client
machine is behind a proxy server. The web service provides services that requires use HTTPS/SSL.
&gt; I have set the proxy host and port properly in the configuration file axis2.xml, and
in my case no proxy authentication is needed. The HTTPS/SSL setting is also configured in
axis2.xml. My web service client is still unable to establish connection with the web server.
&gt; I tested that HTTPS/SSL without proxy server is working fine, I also tested that HTTP
(NOT HTTPS) works with proxy server settings.
&gt; Not sure if this is related to the issue JIRA-1312.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1396) When outputting faults, sometimes, it is necessary to namespace qualify text values. Currently this is not suported in Axis2/C</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c461261490.1260333320997.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c461261490-1260333320997-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:35:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1396:
-------------------------------------

          Component/s: xml/om
    Affects Version/s: 1.6.0
           Issue Type: Improvement  (was: Bug)

&gt; When outputting faults, sometimes, it is necessary to namespace qualify text values.
Currently this is not suported in Axis2/C
&gt; ------------------------------------------------------------------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1396
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1396
&gt;             Project: Axis2-C
&gt;          Issue Type: Improvement
&gt;          Components: xml/om
&gt;    Affects Versions: 1.6.0
&gt;         Environment: Any
&gt;            Reporter: Nandika Jayawardana
&gt;
&gt; When handling Soap faults, it is necessary to qualify the text data with a namespace
prefix. 
&gt; Eg.
&gt; &lt;env:Code&gt;
&gt;      &lt;env:Value&gt;env:Sender&lt;/env:Value&gt;
&gt;      &lt;env:Subcode&gt;
&gt;       &lt;env:Value&gt;m:MessageTimeout&lt;/env:Value&gt;
&gt;      &lt;/env:Subcode&gt;
&gt;    &lt;/env:Code&gt;
&gt; For this, it is necessary to have a method to axiom_text_t to set the namespce and that
correct namespace prefix must be appended to the text value serialized

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1402) AXIS2_PARAM_CHECK overwrite previously set error status</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1457088337.1260333320770.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1457088337-1260333320770-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:35:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1402:
-------------------------------------

    Component/s: core/engine

&gt; AXIS2_PARAM_CHECK overwrite previously set error status
&gt; -------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1402
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1402
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/engine
&gt;    Affects Versions: 1.6.0
&gt;            Reporter: S.Uthaiyashankar
&gt;            Assignee: S.Uthaiyashankar
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: axis2_param_check.patch
&gt;
&gt;
&gt; When checking AXIS2_PARAM_CHECK, if it is success, it overwrites STATUS_CODE by setting
AXIS2_ERROR_SET_STATUS_CODE(error, AXIS2_SUCCESS); 
&gt; check the macro definition:
&gt; #define AXIS2_PARAM_CHECK(error, object, error_return)                  \
&gt;     if (!object)                                                        \
&gt;     {                                                                   \
&gt;         AXIS2_ERROR_SET_ERROR_NUMBER(error, AXIS2_ERROR_INVALID_NULL_PARAM); \
&gt;         AXIS2_ERROR_SET_STATUS_CODE(error, AXIS2_FAILURE);              \
&gt;         return error_return;                                            \
&gt;     }                                                                   \
&gt;     else                                                                \
&gt;     {                                                                   \
&gt;         AXIS2_ERROR_SET_STATUS_CODE(error, AXIS2_SUCCESS);              \
&gt;     }
&gt; Ideally, if PARAM_CHECK is success, it should not touch error status code. 
&gt; This macro is a problem when sending soap faults from generated code. To send faults
from generated code, we have to set the error status inside service logic and it will be checked
by the engine to create soap fault. However, after setting error status, there are several
generated codes doing AXIS2_PARAM_CHECK and hence overwriting the status code. 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1400) crash with arbitrary rest post data</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1607475517.1260333319590.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1607475517-1260333319590-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:35:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1400:
-------------------------------------

      Component/s: transport/http
    Fix Version/s: Next Version

&gt; crash with arbitrary rest post data
&gt; -----------------------------------
&gt;
&gt;                 Key: AXIS2C-1400
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1400
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: transport/http
&gt;    Affects Versions: 1.6.0
&gt;         Environment: Windows XP, Fedora release 11 (Leonidas)
&gt;            Reporter: Tamas Martinec
&gt;            Priority: Critical
&gt;             Fix For: Next Version
&gt;
&gt;
&gt; The echo sample crashes if the post data is empty, or content is not according to the
&gt; text=sometext
&gt; pattern.
&gt; Here are the messages:
&gt; SENDING DATA..
&gt; /* sending time = 23:57:14*/
&gt; /* message uuid = eb01af8d-4d6b-45a3-8bbf-2f80f43acbd2*/
&gt; ---------------------
&gt; POST /axis2/services/echo/echoString HTTP/1.0
&gt; Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel,
application/msword, application/vnd.ms-powerpoint, */*
&gt; Accept-Language: en-us
&gt; Accept-Encoding: gzip, deflate
&gt; User-Agent: Mozilla/4.0
&gt; Content-Length: 6
&gt; Host: LOCALHOST
&gt; Content-Type: application/x-www-form-urlencoded
&gt; text
&gt; RETRIEVING DATA..
&gt; /* retrieving time = 23:57:14*/
&gt; /* time throughput = 0 sec(s)*/
&gt; ---------------------
&gt; HTTP/1.0 500 Internal Server Error
&gt; Date: Thu Sep 24 23:57:14 2009 GMT
&gt; Server: Axis2C/1.6.0 (Simple Axis2 HTTP Server)
&gt; Content-Type: text/html
&gt; Content-Length: 210
&gt; &lt;html&gt;&lt;head&gt;&lt;title&gt;500 Internal Server Error&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h2&gt;Internal
Server Error&lt;/h2&gt;&lt;p&gt;The server encountered an unexpected condition which prevented
it from fulfilling the request.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
&gt; And the call stack for the crash:
&gt;     axis2_engine.dll!axis2_http_status_line_free(axis2_http_status_line * status_line=0xdddddddd,
const axutil_env * env=0x006dd498)  Line 143 + 0x3 bytes    C
&gt;      axis2_engine.dll!axis2_http_simple_response_free(axis2_http_simple_response * simple_response=0x006df500,
const axutil_env * env=0x006dd498)  Line 117    C
&gt;      axis2_engine.dll!axis2_http_out_transport_info_impl_free(axis2_http_out_transport_info
* http_out_transport_info=0x006de700, const axutil_env * env=0x006dd498)  Line 158    C
&gt;      axis2_engine.dll!axis2_http_out_transport_info_free(axis2_http_out_transport_info
* http_out_transport_info=0x006de700, const axutil_env * env=0x006dd498)  Line 206 + 0x12
bytes    C
&gt;      axis2_engine.dll!axis2_out_transport_info_impl_free(axis2_out_transport_info * out_transport_info=0x006de700,
const axutil_env * env=0x006dd498)  Line 61    C
&gt;      axis2_engine.dll!axis2_msg_ctx_free(axis2_msg_ctx * msg_ctx=0x006dfa38, const axutil_env
* env=0x006dd498)  Line 444 + 0x20 bytes    C
&gt;      axis2_engine.dll!axis2_http_worker_process_request(axis2_http_worker * http_worker=0x006dc350,
const axutil_env * env=0x006dd498, axis2_simple_http_svr_conn * svr_conn=0x006dd4e0, axis2_http_simple_request
* simple_request=0x006e0b18)  Line 2009    C
&gt;      axis2_http_receiver.dll!axis2_svr_thread_worker_func(axutil_thread_t * thd=0x006df870,
void * data=0x006dc608)  Line 260 + 0x18 bytes    C
&gt;      axutil.dll!dummy_worker(void * opaque=0x006df870)  Line 88 + 0x15 bytes    C
&gt;      kernel32.dll!7c80b729()    
&gt;      [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
  
&gt; Seems like axis2_http_status_line_free wants to free something already freed..
&gt; And this is the end of the log:
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\transport\http\common\http_worker.c(200)
Client HTTP version HTTP/1.0
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\rest_disp.c(114) Checking
for service using target endpoint address : http://127.0.0.1:9090/axis2/services/echo/echoString
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\rest_disp.c(135) Service
found using target endpoint address
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\util\core_utils.c(772) Checking
for operation using REST HTTP Location fragment : /echoString
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\util\core_utils.c(834) Operation
found using target endpoint uri fragment
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler request_uri_based_dispatcher within the phase Transport
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler AddressingInHandler within the phase Transport
&gt; [Thu Sep 24 23:57:14 2009] [info]  Starting addressing in handler
&gt; [Thu Sep 24 23:57:14 2009] [info]  c:\axis2c-repo\src\modules\mod_addr\addr_in_handler.c
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler addressing_based_dispatcher within the phase Transport
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler rest_dispatcher within the phase Dispatch
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler soap_message_body_based_dispatcher within the phase Dispatch
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler soap_action_based_dispatcher within the phase Dispatch
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler dispatch_post_conditions_evaluator within the phase PostDispatch
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\engine\phase.c(210) Invoke
the handler context_handler within the phase PostDispatch
&gt; [Thu Sep 24 23:57:14 2009] [debug] c:\axis2c-repo\src\core\receivers\raw_xml_in_out_msg_recv.c(382)
fault_detail:&lt;Detail&gt;&lt;/Detail&gt;
&gt; This post describes the same issue under linux:
&gt; http://www.mail-archive.com/axis-c-dev@ws.apache.org/msg16788.html

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1371) Axis should log libcurl debug information</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1576971512.1260332598220.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1576971512-1260332598220-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:23:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1371:
-------------------------------------

    Fix Version/s: Next Version
         Assignee: S.Uthaiyashankar

&gt; Axis should log libcurl debug information
&gt; -----------------------------------------
&gt;
&gt;                 Key: AXIS2C-1371
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1371
&gt;             Project: Axis2-C
&gt;          Issue Type: Improvement
&gt;          Components: transport/http
&gt;    Affects Versions: 1.6.0
&gt;            Reporter: Incarnadine
&gt;            Assignee: S.Uthaiyashankar
&gt;            Priority: Minor
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: EnableLibcurlLogging.diff
&gt;
&gt;   Original Estimate: 2h
&gt;  Remaining Estimate: 2h
&gt;
&gt; It is difficult to debug the libcurl transport today because Axis2/C doesn't enable libcurl
debug logging. I'll attach a patch which does this.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1372) Setting the content-length header for libcurl causes auth to fail</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c799735172.1260332478403.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c799735172-1260332478403-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:21:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1372:
-------------------------------------

    Fix Version/s: Next Version
         Assignee: S.Uthaiyashankar

&gt; Setting the content-length header for libcurl causes auth to fail
&gt; -----------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1372
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1372
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: transport/http
&gt;    Affects Versions: 1.6.0
&gt;            Reporter: Incarnadine
&gt;            Assignee: S.Uthaiyashankar
&gt;            Priority: Blocker
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: RemoveContentLengthHeader.diff
&gt;
&gt;   Original Estimate: 0.08h
&gt;  Remaining Estimate: 0.08h
&gt;
&gt; Certain auth schemes, like NTLM, may result in an empty request (no body, content-length:0)
being sent to the server first to trigger a 401 auth challenge so as not to waste bandwidth
by posting the real message body twice when it knows the first request will result in an auth
challenge.
&gt; Libcurl currently has a bug where it will use the specified content-length on this first
request instead of sending 0, which will cause subsequent requests to fail because the message
body was never sent. 
&gt; Since libcurl automatically calculates the content-length based on the POST size, it's
not necessary to specify it from Axis2/C. Removing this header allows libcurl to calculate
the length and send the correct values during both requests.
&gt; I recommend the content-length setting code be removed because:
&gt; 1. It doesn't appear to be needed
&gt; 2. Curl docs do not recommend specifying a content-length header
&gt; 3. It's currently the only way to get NTLM authentication working (see AXIS2C-1370)

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1370) Axis should support libcurl's other auth types (not just basic)</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c2031729007.1260331758246.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2031729007-1260331758246-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:09:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1370:
-------------------------------------

    Fix Version/s: Next Version
         Assignee: S.Uthaiyashankar

&gt; Axis should support libcurl's other auth types (not just basic)
&gt; ---------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1370
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1370
&gt;             Project: Axis2-C
&gt;          Issue Type: Improvement
&gt;          Components: transport/http
&gt;    Affects Versions: 1.6.0
&gt;            Reporter: Incarnadine
&gt;            Assignee: S.Uthaiyashankar
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: axis2_libcurl.c.diff, axis2c-1370.diff, options.c.diff
&gt;
&gt;   Original Estimate: 2h
&gt;  Remaining Estimate: 2h
&gt;
&gt; Looking over axis2_libcurl_set_auth_options() I see it only allows basic auth.
&gt; if (auth_type &amp;&amp; 
&gt;         0 == axutil_strcmp(auth_type, AXIS2_HTTP_AUTH_TYPE_BASIC))
&gt;     {
&gt;         curl_easy_setopt(handler, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
&gt;     }
&gt; else
&gt;     {
&gt;         /* Uses anonymous connection.*/
&gt;     }
&gt; If new schemes can be enabled as easily as mapping Axis options to Libcurl, this would
appear to be an easy fix. Other supported values to be mapped include:
&gt; CURLAUTH_BASIC 
&gt; HTTP Basic authentication. This is the default choice, and the only method that is in
wide-spread use and supported virtually everywhere. This is sending the user name and password
over the network in plain text, easily captured by others. 
&gt; CURLAUTH_DIGEST 
&gt; HTTP Digest authentication. Digest authentication is defined in RFC2617 and is a more
secure way to do authentication over public networks than the regular old-fashioned Basic
method. 
&gt; CURLAUTH_GSSNEGOTIATE 
&gt; HTTP GSS-Negotiate authentication. The GSS-Negotiate (also known as plain "Negotiate")
method was designed by Microsoft and is used in their web applications. It is primarily meant
as a support for Kerberos5 authentication but may be also used along with another authentication
methods. For more information see IETF draft draft-brezak-spnego-http-04.txt. 
&gt; You need to build libcurl with a suitable GSS-API library for this to work. 
&gt; CURLAUTH_NTLM 
&gt; HTTP NTLM authentication. A proprietary protocol invented and used by Microsoft. It uses
a challenge-response and hash concept similar to Digest, to prevent the password from being
eavesdropped. 
&gt; You need to build libcurl with OpenSSL support for this option to work, or build libcurl
on Windows. 
&gt; CURLAUTH_ANY 
&gt; This is a convenience macro that sets all bits and thus makes libcurl pick any it finds
suitable. libcurl will automatically select the one it finds most secure. 
&gt; CURLAUTH_ANYSAFE 
&gt; This is a convenience macro that sets all bits except Basic and thus makes libcurl pick
any it finds suitable. libcurl will automatically select the one it finds most secure. 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Resolved: (AXIS2C-1235) Need a way to specify libcurl options</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1591448026.1260331518219.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1591448026-1260331518219-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T04:05:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar resolved AXIS2C-1235.
--------------------------------------

    Resolution: Fixed

Fixed in revision 888696. 

Thank you very much for the patch

&gt; Need a way to specify libcurl options
&gt; -------------------------------------
&gt;
&gt;                 Key: AXIS2C-1235
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1235
&gt;             Project: Axis2-C
&gt;          Issue Type: New Feature
&gt;          Components: transport/http
&gt;    Affects Versions: Current (Nightly)
&gt;            Reporter: ttg
&gt;            Assignee: S.Uthaiyashankar
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: axis2c-1235.txt
&gt;
&gt;
&gt; I need some way to specify additional options for libcurl, but at the moment there is
no way to access the CURL* handler.
&gt; For example I want the client to connect via SOCKS5 proxy with authorization, increase
connection timeouts and make it not complain about self-signed SSL certificates. Here is the
list of libcurl options I would use:
&gt; curl_easy_setopt(handler, CURLOPT_PROXY, proxy);
&gt; curl_easy_setopt(handler, CURLOPT_PROXYPORT, port);
&gt; curl_easy_setopt(handler, CURLOPT_PROXYTYPE, type);
&gt; curl_easy_setopt(handler, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
&gt; curl_easy_setopt(handler, CURLOPT_PROXYUSERPWD, userpwd);
&gt; curl_easy_setopt(handler, CURLOPT_TIMEOUT, timeout);
&gt; curl_easy_setopt(handler, CURLOPT_CONNECTTIMEOUT, 10);
&gt; curl_easy_setopt(handler, CURLOPT_SSL_VERIFYHOST, 0);
&gt; curl_easy_setopt(handler, CURLOPT_SSL_VERIFYPEER, 0);

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Resolved: (AXIS2C-1416) type in svc_builder.c</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c2055169211.1260330138194.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c2055169211-1260330138194-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T03:42:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar resolved AXIS2C-1416.
--------------------------------------

    Resolution: Fixed

Fixed in revision 888691. 

Thank you Russell Tempero for the patch. 

&gt; type in svc_builder.c
&gt; ---------------------
&gt;
&gt;                 Key: AXIS2C-1416
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1416
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/deployment
&gt;    Affects Versions: 1.6.0
&gt;         Environment: $ gcc --version
&gt; gcc (GCC) 4.2.2
&gt; Copyright (C) 2007 Free Software Foundation, Inc.
&gt; This is free software; see the source for copying conditions.  There is NO
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&gt; $ ld --version
&gt; GNU ld version 2.17.50.0.6-2.el5 20061020
&gt; Copyright 2005 Free Software Foundation, Inc.
&gt; This program is free software; you may redistribute it under the terms of
&gt; the GNU General Public License.  This program has absolutely no warranty.
&gt; $ uname -a
&gt; Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux
&gt;            Reporter: Russell Tempero
&gt;            Assignee: S.Uthaiyashankar
&gt;            Priority: Minor
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: svc_builder.c.diff
&gt;
&gt;   Original Estimate: 1h
&gt;  Remaining Estimate: 1h
&gt;
&gt; While tromping around the Axis code tree I noticed a typo for which I have attached a
patch. I never actually noticed any problems associated with this typo, but I figured it might
be good to fix it anyway.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Assigned: (AXIS2C-1416) type in svc_builder.c</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c611362190.1260330018636.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c611362190-1260330018636-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T03:40:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar reassigned AXIS2C-1416:
----------------------------------------

    Assignee: S.Uthaiyashankar

&gt; type in svc_builder.c
&gt; ---------------------
&gt;
&gt;                 Key: AXIS2C-1416
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1416
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/deployment
&gt;    Affects Versions: 1.6.0
&gt;         Environment: $ gcc --version
&gt; gcc (GCC) 4.2.2
&gt; Copyright (C) 2007 Free Software Foundation, Inc.
&gt; This is free software; see the source for copying conditions.  There is NO
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&gt; $ ld --version
&gt; GNU ld version 2.17.50.0.6-2.el5 20061020
&gt; Copyright 2005 Free Software Foundation, Inc.
&gt; This program is free software; you may redistribute it under the terms of
&gt; the GNU General Public License.  This program has absolutely no warranty.
&gt; $ uname -a
&gt; Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux
&gt;            Reporter: Russell Tempero
&gt;            Assignee: S.Uthaiyashankar
&gt;            Priority: Minor
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: svc_builder.c.diff
&gt;
&gt;   Original Estimate: 1h
&gt;  Remaining Estimate: 1h
&gt;
&gt; While tromping around the Axis code tree I noticed a typo for which I have attached a
patch. I never actually noticed any problems associated with this typo, but I figured it might
be good to fix it anyway.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1416) type in svc_builder.c</title>
<author><name>&quot;S.Uthaiyashankar (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c1447746231.1260330018656.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1447746231-1260330018656-JavaMail-jira@brutus%3e</id>
<updated>2009-12-09T03:40:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

S.Uthaiyashankar updated AXIS2C-1416:
-------------------------------------

      Component/s: core/deployment
    Fix Version/s: Next Version

&gt; type in svc_builder.c
&gt; ---------------------
&gt;
&gt;                 Key: AXIS2C-1416
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1416
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: core/deployment
&gt;    Affects Versions: 1.6.0
&gt;         Environment: $ gcc --version
&gt; gcc (GCC) 4.2.2
&gt; Copyright (C) 2007 Free Software Foundation, Inc.
&gt; This is free software; see the source for copying conditions.  There is NO
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&gt; $ ld --version
&gt; GNU ld version 2.17.50.0.6-2.el5 20061020
&gt; Copyright 2005 Free Software Foundation, Inc.
&gt; This program is free software; you may redistribute it under the terms of
&gt; the GNU General Public License.  This program has absolutely no warranty.
&gt; $ uname -a
&gt; Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux
&gt;            Reporter: Russell Tempero
&gt;            Assignee: S.Uthaiyashankar
&gt;            Priority: Minor
&gt;             Fix For: Next Version
&gt;
&gt;         Attachments: svc_builder.c.diff
&gt;
&gt;   Original Estimate: 1h
&gt;  Remaining Estimate: 1h
&gt;
&gt; While tromping around the Axis code tree I noticed a typo for which I have attached a
patch. I never actually noticed any problems associated with this typo, but I figured it might
be good to fix it anyway.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [Axis2[ Time for a release?</title>
<author><name>Selvaratnam Uthaiyashankar &lt;uthaiyashankar@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c84cacd920912051857n18c434bi8d2d84f7a3798c76@mail.gmail.com%3e"/>
<id>urn:uuid:%3c84cacd920912051857n18c434bi8d2d84f7a3798c76@mail-gmail-com%3e</id>
<updated>2009-12-06T02:57:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 11:13 PM, Samisa Abeysinghe &lt;samisa@wso2.com&gt; wrote:
&gt; I meant to say, Axis2!

&gt; Samisa...
&gt;
&gt; On Fri, Dec 4, 2009 at 11:08 PM, Samisa Abeysinghe &lt;samisa@wso2.com&gt; wrote:
&gt;&gt;
&gt;&gt; Folks,
&gt;&gt;     I looked at the Jiras after a loooong time and seems that there are
&gt;&gt; quite a number of them as well as few ones with patches from users.
&gt;&gt;     May be it is a good time to fire up a new release. Thoughts are
&gt;&gt; welcome.

+1. I'll go through the Jira and fix them.

What will be the version number? 1.7.0?

Regards,
Shankar



&gt;&gt; Thanks,
&gt;&gt; Samisa...
&gt;&gt; --
&gt;&gt; Samisa Abeysinghe
&gt;&gt; Director, Engineering - WSO2 Inc.
&gt;&gt;
&gt;&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt;
&gt;
&gt;
&gt; --
&gt; Samisa Abeysinghe
&gt; Director, Engineering - WSO2 Inc.
&gt;
&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt;



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1418) HTTP_METHOD DELETE and REST does not work (server returns error 500)</title>
<author><name>&quot;Ilia Gilderman (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c603982749.1259954240748.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c603982749-1259954240748-JavaMail-jira@brutus%3e</id>
<updated>2009-12-04T19:17:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
HTTP_METHOD DELETE and REST does not work (server returns error 500)
--------------------------------------------------------------------

                 Key: AXIS2C-1418
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1418
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: CentOS 5.1 64 bit
            Reporter: Ilia Gilderman


When http_method set to DELETE and REST is used request fails with error 500 returned from
server.
The error happens either on echo_rest sample or simple curl request.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[Axis2[ Time for a release?</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3cf9460b9a0912040943u1873e799v1974d6434fb1d539@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040943u1873e799v1974d6434fb1d539@mail-gmail-com%3e</id>
<updated>2009-12-04T17:43:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I meant to say, Axis2!

Samisa...

On Fri, Dec 4, 2009 at 11:08 PM, Samisa Abeysinghe &lt;samisa@wso2.com&gt; wrote:

&gt; Folks,
&gt;     I looked at the Jiras after a loooong time and seems that there are
&gt; quite a number of them as well as few ones with patches from users.
&gt;
&gt;     May be it is a good time to fire up a new release. Thoughts are
&gt; welcome.
&gt;
&gt; Thanks,
&gt; Samisa...
&gt;
&gt; --
&gt; Samisa Abeysinghe
&gt; Director, Engineering - WSO2 Inc.
&gt;
&gt; http://www.wso2.com/ - "The Open Source SOA Company"
&gt;



-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Time for a release?</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3cf9460b9a0912040938q1f5af082u82dd3a004037509f@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040938q1f5af082u82dd3a004037509f@mail-gmail-com%3e</id>
<updated>2009-12-04T17:38:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Folks,
    I looked at the Jiras after a loooong time and seems that there are
quite a number of them as well as few ones with patches from users.

    May be it is a good time to fire up a new release. Thoughts are welcome.

Thanks,
Samisa...

-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: SOAPAction is not set, SOAP 1.1 requests are assumed to be REST	invocations by Axis2/C</title>
<author><name>Samisa Abeysinghe &lt;samisa@wso2.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3cf9460b9a0912040909m3027a3cg4bf963ed20700654@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf9460b9a0912040909m3027a3cg4bf963ed20700654@mail-gmail-com%3e</id>
<updated>2009-12-04T17:09:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
This is not a problem, in Axis2/C, I guess.

Samisa...

On Thu, Oct 29, 2009 at 7:12 PM, Nair, Anushree &lt;anushree.nair@hp.com&gt;wrote:

&gt;  Hello,
&gt;
&gt;
&gt;
&gt; When SOAPAction is not set, SOAP1.1 requests are assumed to be REST
&gt; invocations by Axis2/C.
&gt;
&gt; This problem has been reported earlier in JIRA WSFPHP-42(
&gt; http://www.wso2.org/jira/browse/WSFPHP-42?page=all) which is resolved.
&gt;
&gt; Can anyone tell me which version onwards is the fix for this problem
&gt; available?
&gt;
&gt;
&gt;
&gt; Regards,
&gt;
&gt; Anushree
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What is the SVN version number to use for the 1.6 release?</title>
<author><name>Dave Meier &lt;dmeier@serena.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c833412b10911301835h37405b06g5fabe27764b2f8dc@mail.gmail.com%3e"/>
<id>urn:uuid:%3c833412b10911301835h37405b06g5fabe27764b2f8dc@mail-gmail-com%3e</id>
<updated>2009-12-01T02:35:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks, Dinesh.

After poking around a bit, I think it is under branches:

http://svn.apache.org/viewvc/webservices/axis2/branches/c/1.6.x/1.6.0/c/

Revision: r765550

Thanks,

-Dave.

On Mon, Nov 30, 2009 at 5:00 PM, Dinesh Premalal &lt;xydinesh@gmail.com&gt; wrote:

&gt; Hi, Dave,
&gt;
&gt;    It should be here [1] however I can not find a tag for Axis2/C
&gt;    1.6.0 . Release manager might have changed the location.
&gt;
&gt; Dinesh.
&gt;
&gt; 1. http://svn.apache.org/viewvc/webservices/axis2/tags/c/
&gt;
&gt; Dave Meier &lt;dmeier@serena.com&gt; writes:
&gt;
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; I've used axis2/c in the past but not released anything with it.  I now
&gt; plan to
&gt; &gt; use the last stable release (1.6).  I would like to know the SVN version
&gt; number
&gt; &gt; that corresponds to version 1.6.  Can you tell me what it is?  I think I
&gt; used
&gt; &gt; to browse the web interface for SVN and look in tags, but I don't see
&gt; tags
&gt; &gt; anymore.  Are releases labeled (tagged)?  I want to work with the 1.6
&gt; version,
&gt; &gt; but be able to quickly diff any changes I make against 1.6 source files
&gt; by
&gt; &gt; using svn diff at the root directory of the source.
&gt; &gt;
&gt; &gt; Thanks,
&gt; &gt;
&gt; &gt; -Dave.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: What is the SVN version number to use for the 1.6 release?</title>
<author><name>Dinesh Premalal &lt;xydinesh@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200912.mbox/%3c87pr6z5wzi.fsf@gmail.com%3e"/>
<id>urn:uuid:%3c87pr6z5wzi-fsf@gmail-com%3e</id>
<updated>2009-12-01T01:00:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, Dave,

    It should be here [1] however I can not find a tag for Axis2/C
    1.6.0 . Release manager might have changed the location.

Dinesh.

1. http://svn.apache.org/viewvc/webservices/axis2/tags/c/

Dave Meier &lt;dmeier@serena.com&gt; writes:

&gt; Hi,
&gt;
&gt; I've used axis2/c in the past but not released anything with it.Â  I now plan to
&gt; use the last stable release (1.6).Â  I would like to know the SVN version number
&gt; that corresponds to version 1.6.Â  Can you tell me what it is?Â  I think I used
&gt; to browse the web interface for SVN and look in tags, but I don't see tags
&gt; anymore.Â  Are releases labeled (tagged)?Â  I want to work with the 1.6 version,
&gt; but be able to quickly diff any changes I make against 1.6 source files by
&gt; using svn diff at the root directory of the source.
&gt;
&gt; Thanks,
&gt;
&gt; -Dave.


</pre>
</div>
</content>
</entry>
<entry>
<title>What is the SVN version number to use for the 1.6 release?</title>
<author><name>Dave Meier &lt;dmeier@serena.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c833412b10911300942jcbfa72dm3d6a17560627a9e4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c833412b10911300942jcbfa72dm3d6a17560627a9e4@mail-gmail-com%3e</id>
<updated>2009-11-30T17:42:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I've used axis2/c in the past but not released anything with it.  I now plan
to use the last stable release (1.6).  I would like to know the SVN version
number that corresponds to version 1.6.  Can you tell me what it is?  I
think I used to browse the web interface for SVN and look in tags, but I
don't see tags anymore.  Are releases labeled (tagged)?  I want to work with
the 1.6 version, but be able to quickly diff any changes I make against 1.6
source files by using svn diff at the root directory of the source.

Thanks,

-Dave.


</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1417) ability to add an MTOM sending callback without requiring a module</title>
<author><name>&quot;Russell Tempero (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c1816581087.1259078379737.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1816581087-1259078379737-JavaMail-jira@brutus%3e</id>
<updated>2009-11-24T15:59:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Russell Tempero updated AXIS2C-1417:
------------------------------------

    Attachment: axis_changes.diff

Here are the changes that we made to support our desired functionality.

&gt; ability to add an MTOM sending callback without requiring a module
&gt; ------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1417
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1417
&gt;             Project: Axis2-C
&gt;          Issue Type: New Feature
&gt;          Components: mtom
&gt;    Affects Versions: 1.6.0
&gt;         Environment: $ gcc --version
&gt; gcc (GCC) 4.2.2
&gt; Copyright (C) 2007 Free Software Foundation, Inc.
&gt; This is free software; see the source for copying conditions.  There is NO
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&gt; $ ld --version
&gt; GNU ld version 2.17.50.0.6-2.el5 20061020
&gt; Copyright 2005 Free Software Foundation, Inc.
&gt; This program is free software; you may redistribute it under the terms of
&gt; the GNU General Public License.  This program has absolutely no warranty.
&gt; $ uname -a
&gt; Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux
&gt;            Reporter: Russell Tempero
&gt;         Attachments: axis_changes.diff
&gt;
&gt;   Original Estimate: 72h
&gt;  Remaining Estimate: 72h
&gt;
&gt; We wanted to be able to specify our own set of functions for reading file data which
is currently supported in Axis2 via sending callback modules. However, we did not want the
inefficiency associated with loading another dynamic library. Our solution was to alter the
Axis code to allow us to achieve the same functionality by only passing a few function pointers.
&gt; Note that we also added support for using the callback handlers to send file attachments
as non-MTOM (base-64 encoded) data. See changes to data_handler.c.
&gt; Some suggested further changes:
&gt; - add a case to axiom_data_handler_read_from() for AXIOM_DATA_HANDLER_TYPE_CALLBACK that
works similarly to my addition for AXIOM_DATA_HANDLER_TYPE_HANDLER. This will allow traditional
call back handlers (those loaded via a module) can be used to send non-MTOM data.
&gt; - alter axiom_data_handler_read_from() to work even if the "data_size" function is not
specified. My idea was to check if this function is not specified or if it returns some special
value (i.e. a negative number). If so, a much less efficient, brute-force method could be
employed to determine the size of the data. One way would be to iterate once through the data,
only counting the size and throwing away the actual data. Then create a buffer of the proper
size and iterate a second time through the data while filling the buffer.
&gt; Hopefully this patch is useful.
&gt; Thanks,
&gt; Russell

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1417) ability to add an MTOM sending callback without requiring a module</title>
<author><name>&quot;Russell Tempero (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c1545927233.1259078379726.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1545927233-1259078379726-JavaMail-jira@brutus%3e</id>
<updated>2009-11-24T15:59:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
ability to add an MTOM sending callback without requiring a module
------------------------------------------------------------------

                 Key: AXIS2C-1417
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1417
             Project: Axis2-C
          Issue Type: New Feature
          Components: mtom
    Affects Versions: 1.6.0
         Environment: $ gcc --version
gcc (GCC) 4.2.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld version 2.17.50.0.6-2.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

$ uname -a
Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64
GNU/Linux
            Reporter: Russell Tempero
         Attachments: axis_changes.diff

We wanted to be able to specify our own set of functions for reading file data which is currently
supported in Axis2 via sending callback modules. However, we did not want the inefficiency
associated with loading another dynamic library. Our solution was to alter the Axis code to
allow us to achieve the same functionality by only passing a few function pointers.

Note that we also added support for using the callback handlers to send file attachments as
non-MTOM (base-64 encoded) data. See changes to data_handler.c.

Some suggested further changes:
- add a case to axiom_data_handler_read_from() for AXIOM_DATA_HANDLER_TYPE_CALLBACK that works
similarly to my addition for AXIOM_DATA_HANDLER_TYPE_HANDLER. This will allow traditional
call back handlers (those loaded via a module) can be used to send non-MTOM data.
- alter axiom_data_handler_read_from() to work even if the "data_size" function is not specified.
My idea was to check if this function is not specified or if it returns some special value
(i.e. a negative number). If so, a much less efficient, brute-force method could be employed
to determine the size of the data. One way would be to iterate once through the data, only
counting the size and throwing away the actual data. Then create a buffer of the proper size
and iterate a second time through the data while filling the buffer.

Hopefully this patch is useful.

Thanks,
Russell

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1416) type in svc_builder.c</title>
<author><name>&quot;Russell Tempero (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c825914395.1259076339564.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c825914395-1259076339564-JavaMail-jira@brutus%3e</id>
<updated>2009-11-24T15:25:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
type in svc_builder.c
---------------------

                 Key: AXIS2C-1416
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1416
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: $ gcc --version
gcc (GCC) 4.2.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld version 2.17.50.0.6-2.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

$ uname -a
Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64
GNU/Linux
            Reporter: Russell Tempero
            Priority: Minor
         Attachments: svc_builder.c.diff

While tromping around the Axis code tree I noticed a typo for which I have attached a patch.
I never actually noticed any problems associated with this typo, but I figured it might be
good to fix it anyway.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1416) type in svc_builder.c</title>
<author><name>&quot;Russell Tempero (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c481521248.1259076339637.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c481521248-1259076339637-JavaMail-jira@brutus%3e</id>
<updated>2009-11-24T15:25:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Russell Tempero updated AXIS2C-1416:
------------------------------------

    Attachment: svc_builder.c.diff

Attaching patch for typo in svc_builder.c

&gt; type in svc_builder.c
&gt; ---------------------
&gt;
&gt;                 Key: AXIS2C-1416
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1416
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;    Affects Versions: 1.6.0
&gt;         Environment: $ gcc --version
&gt; gcc (GCC) 4.2.2
&gt; Copyright (C) 2007 Free Software Foundation, Inc.
&gt; This is free software; see the source for copying conditions.  There is NO
&gt; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
&gt; $ ld --version
&gt; GNU ld version 2.17.50.0.6-2.el5 20061020
&gt; Copyright 2005 Free Software Foundation, Inc.
&gt; This program is free software; you may redistribute it under the terms of
&gt; the GNU General Public License.  This program has absolutely no warranty.
&gt; $ uname -a
&gt; Linux &lt;hostname&gt; 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux
&gt;            Reporter: Russell Tempero
&gt;            Priority: Minor
&gt;         Attachments: svc_builder.c.diff
&gt;
&gt;   Original Estimate: 1h
&gt;  Remaining Estimate: 1h
&gt;
&gt; While tromping around the Axis code tree I noticed a typo for which I have attached a
patch. I never actually noticed any problems associated with this typo, but I figured it might
be good to fix it anyway.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1415) Buffer overrun in axis2_http_client_recieve_header when receiving a HTTP header field larger than 512 bytes in length.</title>
<author><name>&quot;Nigel Meachen (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c707641331.1258566639739.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c707641331-1258566639739-JavaMail-jira@brutus%3e</id>
<updated>2009-11-18T17:50:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Buffer overrun in axis2_http_client_recieve_header when receiving a HTTP header field larger
than 512 bytes in length.
----------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2C-1415
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1415
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: 1.6.0
         Environment: Windows XP SP2, Axis2/C compiled with Visual Studio 2008 SP1
            Reporter: Nigel Meachen


A buffer overrun occurs in axis2_http_client_recieve_header when a HTTP header field larger
than 512 bytes is received resulting in stack corruption and in my case causes the client
to loop forever.

In my scenario I was using the Axis2/C 1.6 client to invoke a RESTful service using Basic
Authentication running on a Websphere 7 environment. Upon successful authentication the response
HTTP header contains a Set-Cookie field totaling 760 bytes.

I was able to work around this issue by doubling the size of the str_header field and modifying
the memset reference to use sizeof avoiding the need to modify thm in the future if the size
changes again. The module at the least should keep track of the accumulated header field size
to avoid overruns in the future but ideally should dynamically allocate memory to cope with
any size header field.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1414) Error in length computing in util/url.c</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c1355215295.1258557400237.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1355215295-1258557400237-JavaMail-jira@brutus%3e</id>
<updated>2009-11-18T15:16:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Error in length computing in util/url.c
---------------------------------------

                 Key: AXIS2C-1414
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1414
             Project: Axis2-C
          Issue Type: Bug
            Reporter: Francois Mireaux


A C string ends with 0 so length computing are erroneous in util/url.c for  functions axutil_url_set_host
and axutil_url_get_server : we need to allocate 1 more byte.

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1412) Very simple unit test framework and tests corrections</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c33317708.1258556079694.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c33317708-1258556079694-JavaMail-jira@brutus%3e</id>
<updated>2009-11-18T14:54:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francois Mireaux updated AXIS2C-1412:
-------------------------------------

    Attachment: tests.patch

Improvement of test mini-framework &amp; usage in tests.

Please, comment !

&gt; Very simple unit test framework and tests corrections
&gt; -----------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1412
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1412
&gt;             Project: Axis2-C
&gt;          Issue Type: Test
&gt;            Reporter: Francois Mireaux
&gt;         Attachments: tests.patch, tests.patch
&gt;
&gt;
&gt; Here is a proposition for a very simple unit test framework, used for rewrite some of
tests (numerous errors found).
&gt; Tests are also modified to be used under Windows (tested with the C compiler of Visual
Studio 2008 Express Edition) with the help of a JScript program which computes a Makefile
extension for tests (file makeTests) analysing files Makefile.am. After executing buid\win32\build.bat,
one can use build\win32\buildtests.bat to build and execute all defined tests. An optionnal
parameter ciould be used to build and execute one specific test defined by test_&lt;nn&gt;
(see makeTests file).

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (AXIS2C-1413) Windows version axutil_thread_once_init don't initialize control struct</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c1330859456.1258547619673.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c1330859456-1258547619673-JavaMail-jira@brutus%3e</id>
<updated>2009-11-18T12:33:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/AXIS2C-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779429#action_12779429
] 

Francois Mireaux commented on AXIS2C-1413:
------------------------------------------

Those functions are only used in tests so correction isn't so critical !


&gt; Windows version axutil_thread_once_init don't initialize control struct
&gt; -----------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1413
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1413
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: platforms/windows
&gt;         Environment: Windows
&gt;            Reporter: Francois Mireaux
&gt;            Priority: Critical
&gt;
&gt; On Windows  'axutil_thread_once_init' don't initialize control struct so value may have
random value and 'axutil_thread_once' never calls parameter function.
&gt; We must add :
&gt;   if (control)
&gt;  {
&gt;     control-&gt;value = 0;
&gt;  }

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Commented: (AXIS2C-1413) Windows version axutil_thread_once_init don't initialize control struct</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c246873108.1258540719557.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c246873108-1258540719557-JavaMail-jira@brutus%3e</id>
<updated>2009-11-18T10:38:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

    [ https://issues.apache.org/jira/browse/AXIS2C-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12779396#action_12779396
] 

Francois Mireaux commented on AXIS2C-1413:
------------------------------------------

Sorry, I forget to say that error was dtected on Windows Vista with Visual Studio 2008 Express
Edition C compiler.

&gt; Windows version axutil_thread_once_init don't initialize control struct
&gt; -----------------------------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1413
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1413
&gt;             Project: Axis2-C
&gt;          Issue Type: Bug
&gt;          Components: platforms/windows
&gt;         Environment: Windows
&gt;            Reporter: Francois Mireaux
&gt;            Priority: Critical
&gt;
&gt; On Windows  'axutil_thread_once_init' don't initialize control struct so value may have
random value and 'axutil_thread_once' never calls parameter function.
&gt; We must add :
&gt;   if (control)
&gt;  {
&gt;     control-&gt;value = 0;
&gt;  }

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1413) Windows version axutil_thread_once_init don't initialize control struct</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c36065227.1258540599632.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c36065227-1258540599632-JavaMail-jira@brutus%3e</id>
<updated>2009-11-18T10:36:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Windows version axutil_thread_once_init don't initialize control struct
-----------------------------------------------------------------------

                 Key: AXIS2C-1413
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1413
             Project: Axis2-C
          Issue Type: Bug
          Components: platforms/windows
         Environment: Windows
            Reporter: Francois Mireaux
            Priority: Critical


On Windows  'axutil_thread_once_init' don't initialize control struct so value may have random
value and 'axutil_thread_once' never calls parameter function.

We must add :

  if (control)
 {
    control-&gt;value = 0;
 }

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Updated: (AXIS2C-1412) Very simple unit test framework and tests corrections</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c181256594.1258389939656.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c181256594-1258389939656-JavaMail-jira@brutus%3e</id>
<updated>2009-11-16T16:45:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

     [ https://issues.apache.org/jira/browse/AXIS2C-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Francois Mireaux updated AXIS2C-1412:
-------------------------------------

    Attachment: tests.patch

Caution, patch also contains a bug correction in util\url.c.

Two include files are defined in cutest\include to write tests :
     tunit.h   : simple macros and functions
     ut_http_server.h  : help function to start and stop a thread executing HTTP server (on
Unix needs the patch proposed in JIRA-1411)

Windows JScript program (genmktests.js) is a bit of mish-mash but seems to be the only solution
as libraries structure and names are not the same on Unix and Windows.

The first test failure aborts test processing which is arguable but permits a simple error
detection without reading log files.

I could go on working on rewrite and extend tests : some failures don't stop tests, some tests
don't really check that all is right... But I need to know if general principles are OK.


&gt; Very simple unit test framework and tests corrections
&gt; -----------------------------------------------------
&gt;
&gt;                 Key: AXIS2C-1412
&gt;                 URL: https://issues.apache.org/jira/browse/AXIS2C-1412
&gt;             Project: Axis2-C
&gt;          Issue Type: Test
&gt;            Reporter: Francois Mireaux
&gt;         Attachments: tests.patch
&gt;
&gt;
&gt; Here is a proposition for a very simple unit test framework, used for rewrite some of
tests (numerous errors found).
&gt; Tests are also modified to be used under Windows (tested with the C compiler of Visual
Studio 2008 Express Edition) with the help of a JScript program which computes a Makefile
extension for tests (file makeTests) analysing files Makefile.am. After executing buid\win32\build.bat,
one can use build\win32\buildtests.bat to build and execute all defined tests. An optionnal
parameter ciould be used to build and execute one specific test defined by test_&lt;nn&gt;
(see makeTests file).

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



</pre>
</div>
</content>
</entry>
<entry>
<title>[jira] Created: (AXIS2C-1412) Very simple unit test framework and tests corrections</title>
<author><name>&quot;Francois Mireaux (JIRA)&quot; &lt;jira@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c722580907.1258388739577.JavaMail.jira@brutus%3e"/>
<id>urn:uuid:%3c722580907-1258388739577-JavaMail-jira@brutus%3e</id>
<updated>2009-11-16T16:25:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Very simple unit test framework and tests corrections
-----------------------------------------------------

                 Key: AXIS2C-1412
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1412
             Project: Axis2-C
          Issue Type: Test
            Reporter: Francois Mireaux


Here is a proposition for a very simple unit test framework, used for rewrite some of tests
(numerous errors found).

Tests are also modified to be used under Windows (tested with the C compiler of Visual Studio
2008 Express Edition) with the help of a JScript program which computes a Makefile extension
for tests (file makeTests) analysing files Makefile.am. After executing buid\win32\build.bat,
one can use build\win32\buildtests.bat to build and execute all defined tests. An optionnal
parameter ciould be used to build and execute one specific test defined by test_&lt;nn&gt;
(see makeTests file).

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Endpoint Address</title>
<author><name>Jose M Medina V &lt;jose_medina@wesamconsulting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200911.mbox/%3c4FA04539-B162-4665-A0E5-78525F00A5CE@wesamconsulting.com%3e"/>
<id>urn:uuid:%3c4FA04539-B162-4665-A0E5-78525F00A5CE@wesamconsulting-com%3e</id>
<updated>2009-11-12T15:47:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi, I try to get the target endpoint address in a services in Axis2c, I put the following code
in the invoke function in the skeleton library:

axis2_endpoint_ref_t *endpoint_ref = NULL;
const axis2_char_t *address = NULL;
.
.
.
endpoint_ref = axis2_msg_ctx_get_to(msg_ctx, env);
  if(endpoint_ref)
  {
    AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if(endpoint_ref)",pdesWebServ-&gt;nombre_web,nombreFuncion);
    address = axis2_endpoint_ref_get_address(endpoint_ref, env);
    if (address)
    {
      AXIS2_LOG_DEBUG(env-&gt;log, AXIS2_LOG_SI, "%s%s if (address)",pdesWebServ-&gt;nombre_web,nombreFuncion);
    }
  }

When I run this, I got NULL in endpoint_ref variable, so I don’t know it was something wrong
with this code.
It is the correct way to get the endpoint address or exists another way to get that info.

Thank in advance.

------------------------------------------------------------
José M. Medina V.
Wesam Consulting
jose_medina@wesamconsulting.com
Mobile: +58(416)613-3302 +58(414)019-0580
Ofc:     +58(212)959-4155 Ext. 204
BB pin: 31E562BF
Caracas - Venezuela








</pre>
</div>
</content>
</entry>
</feed>
