You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/05/01 05:18:23 UTC
svn commit: r652423 - in /webservices/axis2/trunk/c/axiom:
include/axiom_soap_builder.h include/axiom_soap_envelope.h
src/soap/soap_builder.c src/soap/soap_envelope.c
Author: dimuthu
Date: Wed Apr 30 20:18:23 2008
New Revision: 652423
URL: http://svn.apache.org/viewvc?rev=652423&view=rev
Log:
adding swa file transfer interface
Modified:
webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h
webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h
webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c
Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h?rev=652423&r1=652422&r2=652423&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_builder.h Wed Apr 30 20:18:23 2008
@@ -188,6 +188,18 @@
const axutil_env_t * env,
axutil_hash_t * map);
+ /**
+ * Get the MIME body parts
+ * @param builder pointer to the SOAP Builder struct
+ * @param env Environment. MUST NOT be NULL
+ *
+ * @return hash of mime body parts
+ */
+ AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+ axiom_soap_builder_get_mime_body_parts(
+ axiom_soap_builder_t * builder,
+ const axutil_env_t * env);
+
/** @} */
#ifdef __cplusplus
}
Modified: webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h?rev=652423&r1=652422&r2=652423&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_soap_envelope.h Wed Apr 30 20:18:23 2008
@@ -218,6 +218,18 @@
axiom_soap_envelope_t * envelope,
const axutil_env_t * env);
+ /**
+ * get the soap builder of the envelope
+ * @param envelope OM SOAP Envelope
+ * @param env Environment. MUST NOT be NULL
+ *
+ * @return soap_builder struct related to the envelope
+ */
+ AXIS2_EXTERN struct axiom_soap_builder *AXIS2_CALL
+ axiom_soap_envelope_get_soap_builder(
+ axiom_soap_envelope_t * envelope,
+ const axutil_env_t * env);
+
/** @} */
#ifdef __cplusplus
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c?rev=652423&r1=652422&r2=652423&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c Wed Apr 30 20:18:23 2008
@@ -1164,3 +1164,11 @@
}
return status;
}
+
+AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
+axiom_soap_builder_get_mime_body_parts(
+ axiom_soap_builder_t * builder,
+ const axutil_env_t * env)
+{
+ return builder->mime_body_parts;
+}
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c?rev=652423&r1=652422&r2=652423&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_envelope.c Wed Apr 30 20:18:23 2008
@@ -633,3 +633,11 @@
return AXIS2_SUCCESS;
}
+AXIS2_EXTERN struct axiom_soap_builder *AXIS2_CALL
+axiom_soap_envelope_get_soap_builder(
+ axiom_soap_envelope_t * envelope,
+ const axutil_env_t * env)
+{
+ return envelope->soap_builder;
+}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org