You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Laksh <la...@friendsprovident.co.uk> on 2008/10/30 14:39:23 UTC

Construction of SOAP message is failing

Hi,

I am building a SOAP request using axiom_element_create(),
axiom_element_set_text() and axiom_attribute_create() methods. It works fine
for smaller SOAP messages but when the length of the entire SOAP message
(length of axiom_node_to_string() of the root element exeeds around 300
characters) The axiom_element_set_text() call doesn't return. It hangs the
server.

Is there any settings we need to make to increase the SOAP message length? I
have tried running my test program with small SOAP messages and it is all
working fine.

Any pointers to resolve this issue is very much appreciated.

Thanks!
Laksh
-- 
View this message in context: http://www.nabble.com/Construction-of-SOAP-message-is-failing-tp20247209p20247209.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Construction of SOAP message is failing

Posted by Laksh <la...@friendsprovident.co.uk>.
Hi,

This issue is resolved. I have been using the same variable (reusing) to
create multiple attributes. I think this will corrupt the SOAP message as
the same pointer is going to get reassigned again and again. 

Thanks!
Laksh


Laksh wrote:
> 
> Hi,
> 
> I am building a SOAP request using axiom_element_create(),
> axiom_element_set_text() and axiom_attribute_create() methods. It works
> fine for smaller SOAP messages but when the length of the entire SOAP
> message (length of axiom_node_to_string() of the root element exeeds
> around 300 characters) The axiom_element_set_text() call doesn't return.
> It hangs the server.
> 
> Is there any settings we need to make to increase the SOAP message length?
> I have tried running my test program with small SOAP messages and it is
> all working fine.
> 
> Any pointers to resolve this issue is very much appreciated.
> 
> Thanks!
> Laksh
> 

-- 
View this message in context: http://www.nabble.com/Construction-of-SOAP-message-is-failing-tp20247209p20247707.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org