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 ha...@apache.org on 2004/08/24 17:20:57 UTC
cvs commit: ws-axis/c/src/soap HeaderBlock.cpp HeaderBlock.h
hawkeye 2004/08/24 08:20:57
Modified: c/include/axis/server IHeaderBlock.h
c/src/soap HeaderBlock.cpp HeaderBlock.h
Log:
Re-instate IHeaderBlock::setPrefix()
PR: AXISCPP-135
Submitted by: Mark Whitlock
Reviewed by: Adrian Dick
Revision Changes Path
1.19 +10 -5 ws-axis/c/include/axis/server/IHeaderBlock.h
Index: IHeaderBlock.h
===================================================================
RCS file: /home/cvs/ws-axis/c/include/axis/server/IHeaderBlock.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- IHeaderBlock.h 6 Aug 2004 14:44:20 -0000 1.18
+++ IHeaderBlock.h 24 Aug 2004 15:20:57 -0000 1.19
@@ -299,16 +299,21 @@
*/
virtual void setUri(const AxisChar* uri)=0;
- /*
+ /*
+ * Commented by Susantha - 21/06/2004
+ * The prefix should be decided by the Serializer at runtime
+ *
+ * Uncommented by Mark Whitlock - 24/8/04 after discussion
+ * on the mailing list agreed to add back in this method.
+ * Jira issue AXISCPP-135
+ */
+ /**
* Sets the prefix of this Header Block.
*
* @param prefix The prefix to set in.
*/
- /* Commented by Susantha - 21/06/2004
- * The prefix should be decided by the Serializer at runtime
- *
virtual void setPrefix(const AxisChar* prefix)=0;
- */
+
#ifdef UNIT_TESTING_ON
/**
* Initialized the Header Block for testing.
1.31 +7 -2 ws-axis/c/src/soap/HeaderBlock.cpp
Index: HeaderBlock.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/soap/HeaderBlock.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- HeaderBlock.cpp 6 Aug 2004 14:44:36 -0000 1.30
+++ HeaderBlock.cpp 24 Aug 2004 15:20:57 -0000 1.31
@@ -152,14 +152,19 @@
m_localname= localname;
}
-/* Commented by Susantha - 21/06/2004
+/*
+ * Commented by Susantha - 21/06/2004
* The prefix should be decided by the Serializer at runtime
*
+ * Uncommented by Mark Whitlock - 24/8/04 after discussion
+ * on the mailing list agreed to add back in this method.
+ * Jira issue AXISCPP-135
+ */
void HeaderBlock::setPrefix(const AxisChar* prefix)
{
m_sPrefix= prefix;
}
-*/
+
void HeaderBlock::setUri(const AxisChar* uri)
{
m_uri= uri;
1.15 +10 -5 ws-axis/c/src/soap/HeaderBlock.h
Index: HeaderBlock.h
===================================================================
RCS file: /home/cvs/ws-axis/c/src/soap/HeaderBlock.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- HeaderBlock.h 6 Aug 2004 14:44:36 -0000 1.14
+++ HeaderBlock.h 24 Aug 2004 15:20:57 -0000 1.15
@@ -339,16 +339,21 @@
*/
void setUri(const AxisChar* uri);
- /*
+ /*
+ * Commented by Susantha - 21/06/2004
+ * The prefix should be decided by the Serializer at runtime
+ *
+ * Uncommented by Mark Whitlock - 24/8/04 after discussion
+ * on the mailing list agreed to add back in this method.
+ * Jira issue AXISCPP-135
+ */
+ /**
* Sets the prefix of this Header Block.
*
* @param prefix The prefix to set in.
*/
- /* Commented by Susantha - 21/06/2004
- * The prefix should be decided by the Serializer at runtime
- *
void setPrefix(const AxisChar* prefix);
- */
+
/**
* Sets the namespace declaration of the Header Block.
*