Author: samisa
Date: Sun Jan 8 22:52:20 2006
New Revision: 367228
URL: http://svn.apache.org/viewcvs?rev=367228&view=rev
Log:
Changes in transport/http module
Modified:
webservices/axis2/trunk/c/include/axis2_http_header.h
webservices/axis2/trunk/c/include/axis2_http_request_line.h
webservices/axis2/trunk/c/include/axis2_http_simple_request.h
webservices/axis2/trunk/c/include/axis2_http_simple_response.h
webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h
Modified: webservices/axis2/trunk/c/include/axis2_http_header.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_http_header.h?rev=367228&r1=367227&r2=367228&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_header.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_header.h Sun Jan 8 22:52:20
2006
@@ -73,7 +73,8 @@
AXIS2_DECLARE(axis2_http_header_t *)
axis2_http_header_create (axis2_env_t **env, axis2_char_t *name,
axis2_char_t *value);
-
+AXIS2_DECLARE(axis2_http_header_t *) AXIS2_CALL
+axis2_http_header_create_by_str (axis2_env_t **env, axis2_char_t *str);
/************************** Start of function macros
**************************/
#define AXIS2_HTTP_HEADER_TO_EXTERNAL_FORM(header, env) \
Modified: webservices/axis2/trunk/c/include/axis2_http_request_line.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_http_request_line.h?rev=367228&r1=367227&r2=367228&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_request_line.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_request_line.h Sun Jan 8
22:52:20 2006
@@ -80,7 +80,8 @@
axis2_http_request_line_t * AXIS2_CALL
axis2_http_request_line_create(axis2_env_t **env, axis2_char_t *method,
axis2_char_t *uri, axis2_char_t *http_version);
-
+axis2_http_request_line_t* AXIS2_CALL
+axis2_http_request_line_parse_line(axis2_env_t **env, const axis2_char_t *str);
/********************* Start of function macros
***************************/
#define AXIS2_HTTP_REQUEST_LINE_GET_METHOD(request_line, env) \
Modified: webservices/axis2/trunk/c/include/axis2_http_simple_request.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_http_simple_request.h?rev=367228&r1=367227&r2=367228&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_simple_request.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_simple_request.h Sun Jan 8
22:52:20 2006
@@ -54,7 +54,7 @@
axis2_http_request_line_t* (AXIS2_CALL *get_request_line)
(axis2_http_simple_request_t *simple_request,
axis2_env_t **env);
-
+
axis2_status_t (AXIS2_CALL *set_request_line)
(axis2_http_simple_request_t *simple_request,
axis2_env_t **env,
@@ -98,7 +98,7 @@
axis2_ssize_t (AXIS2_CALL *get_body_bytes)
(axis2_http_simple_request_t *simple_request,
- axis2_env_t **env, axis2_char_t *buf);
+ axis2_env_t **env, char **buf);
axis2_status_t (AXIS2_CALL *free)
(axis2_http_simple_request_t *simple_request,
@@ -136,8 +136,8 @@
#define AXIS2_HTTP_SIMPLE_REQUEST_CONTAINS_HEADER(simple_request, env, name)\
((simple_request)->ops->contains_header\
(simple_request, env, name))
-#define AXIS2_HTTP_SIMPLE_REQUEST_GET_HEADERS(simple_request, env, headers)\
-
((simple_request)->ops->get_headers(simple_request, env, headers))
+#define AXIS2_HTTP_SIMPLE_REQUEST_GET_HEADERS(simple_request, env)\
+
((simple_request)->ops->get_headers(simple_request, env))
#define AXIS2_HTTP_SIMPLE_REQUEST_GET_FIRST_HEADER(simple_request, env, str) \
((simple_request)->ops->get_first_header\
(simple_request, env, str))
Modified: webservices/axis2/trunk/c/include/axis2_http_simple_response.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_http_simple_response.h?rev=367228&r1=367227&r2=367228&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_simple_response.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_simple_response.h Sun Jan 8
22:52:20 2006
@@ -123,7 +123,7 @@
axis2_ssize_t (AXIS2_CALL *get_body_bytes)
(axis2_http_simple_response_t *simple_response,
- axis2_env_t **env, axis2_char_t *buf);
+ axis2_env_t **env, axis2_char_t **buf);
axis2_status_t (AXIS2_CALL *free)
(axis2_http_simple_response_t *simple_response,
Modified: webservices/axis2/trunk/c/include/axis2_http_transport_utils.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_http_transport_utils.h?rev=367228&r1=367227&r2=367228&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_http_transport_utils.h (original)
+++ webservices/axis2/trunk/c/include/axis2_http_transport_utils.h Sun Jan 8
22:52:20 2006
@@ -42,10 +42,11 @@
* @ingroup axis2_core_transport_http
* @{
*/
-axis2_status_t AXIS2_CALL
+axis2_status_t AXIS2_CALL
axis2_http_transport_utils_process_http_post_request
(axis2_env_t **env, axis2_msg_ctx_t *msg_ctx,
- axis2_stream_t *stream, axis2_char_t *content_type,
+ axis2_stream_t *in_stream, axis2_stream_t *out_stream,
+ axis2_char_t *content_type,
axis2_char_t *soap_action_header,
axis2_char_t *request_uri);
Modified: webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h?rev=367228&r1=367227&r2=367228&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h (original)
+++ webservices/axis2/trunk/c/include/axis2_soap_over_http_sender.h Sun Jan 8
22:52:20 2006
@@ -53,7 +53,7 @@
axis2_status_t (AXIS2_CALL *send)
(axis2_soap_over_http_sender_t *sender,
axis2_env_t **env, axis2_msg_ctx_t *msg_ctx,
- axis2_om_node_t
*output, axis2_char_t *url,
+ axis2_om_node_t
*output, axis2_char_t *str_url,
axis2_char_t
*soap_action);
axis2_status_t (AXIS2_CALL *set_chunked)