Author: damitha
Date: Sat Jan 20 04:33:27 2007
New Revision: 498107
URL: http://svn.apache.org/viewvc?view=rev&rev=498107
Log:
Fixed seq_offer namespace bug. When seq offer is serialized it is
done with wrong namespace
Modified:
webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c
webservices/sandesha/trunk/c/src/wsrm/address.c
webservices/sandesha/trunk/c/src/wsrm/create_seq.c
webservices/sandesha/trunk/c/src/wsrm/seq_offer.c
Modified:
webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c?view=diff&rev=498107&r1=498106&r2=498107
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c
(original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c
Sat Jan 20 04:33:27 2007
@@ -221,7 +221,6 @@
env, SANDESHA2_MSG_PART_CREATE_SEQ_RESPONSE);
seq_offer = sandesha2_create_seq_get_seq_offer(create_seq_part,
env);
- printf("seq_offer:%s\n", seq_offer);
/* Offer processing */
if(seq_offer)
{
@@ -241,11 +240,9 @@
}
offer_seq_id = sandesha2_identifier_get_identifier(
sandesha2_seq_offer_get_identifier(seq_offer, env),
env);
- printf("offer_seq_id:%s\n", offer_seq_id);
offer_accepted = sandesha2_create_seq_msg_processor_offer_accepted(
env, offer_seq_id, rm_msg_ctx,
storage_mgr);
- printf("offer_accepted:%d\n", offer_accepted);
if(offer_accepted)
{
sandesha2_create_seq_bean_t *create_seq_bean = NULL;
Modified: webservices/sandesha/trunk/c/src/wsrm/address.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/wsrm/address.c?view=diff&rev=498107&r1=498106&r2=498107
==============================================================================
--- webservices/sandesha/trunk/c/src/wsrm/address.c (original)
+++ webservices/sandesha/trunk/c/src/wsrm/address.c Sat Jan 20 04:33:27 2007
@@ -16,6 +16,7 @@
#include <sandesha2_address.h>
#include <sandesha2_constants.h>
+#include <axis2_addr.h>
/**
* @brief Address struct impl
* Sandesha2 IOM Address
@@ -214,7 +215,7 @@
return NULL;
}
rm_ns = axiom_namespace_create(env, address_impl->ns_val,
- SANDESHA2_WSRM_COMMON_NS_PREFIX_RM);
+ AXIS2_WSA_DEFAULT_PREFIX);
if(!rm_ns)
{
return NULL;
Modified: webservices/sandesha/trunk/c/src/wsrm/create_seq.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/wsrm/create_seq.c?view=diff&rev=498107&r1=498106&r2=498107
==============================================================================
--- webservices/sandesha/trunk/c/src/wsrm/create_seq.c (original)
+++ webservices/sandesha/trunk/c/src/wsrm/create_seq.c Sat Jan 20 04:33:27 2007
@@ -237,10 +237,8 @@
}
offer_part = AXIOM_ELEMENT_GET_FIRST_CHILD_WITH_QNAME(seq_part, env,
offer_qname, seq_node, &offer_node);
- printf("came1\n");
if(offer_part)
{
- printf("came2\n");
create_seq_impl->seq_offer = sandesha2_seq_offer_create(env,
create_seq_impl->rm_ns_val);
if(!create_seq_impl->seq_offer)
Modified: webservices/sandesha/trunk/c/src/wsrm/seq_offer.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/wsrm/seq_offer.c?view=diff&rev=498107&r1=498106&r2=498107
==============================================================================
--- webservices/sandesha/trunk/c/src/wsrm/seq_offer.c (original)
+++ webservices/sandesha/trunk/c/src/wsrm/seq_offer.c Sat Jan 20 04:33:27 2007
@@ -87,7 +87,6 @@
seq_offer_impl->identifier = NULL;
seq_offer_impl->expires = NULL;
seq_offer_impl->seq_offer.element.ops = NULL;
- printf("ns_val:%s\n", seq_offer_impl->ns_val);
seq_offer_impl->seq_offer.element.ops = AXIS2_MALLOC(env->allocator,
sizeof(sandesha2_iom_rm_element_ops_t));
if(NULL == seq_offer_impl->seq_offer.element.ops)
@@ -243,7 +242,6 @@
}
rm_ns = axiom_namespace_create(env, seq_offer_impl->ns_val,
SANDESHA2_WSRM_COMMON_NS_PREFIX_RM);
- printf("seq_offer_impl->ns_val:%s\n", seq_offer_impl->ns_val);
if(NULL == rm_ns)
{
return NULL;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]