How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-05 Thread Kelvin Lin
Hi all, I used the following codes to generate a soap message with more than one namespaces: ns0 = axiom_namespace_create(env, AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI, "SOAP-ENV"); ns1 = axiom_namespace_create(env, "http://schemas.xmlsoap.org/soap/encoding/";, "SOAP-ENC");

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-05 Thread Dinesh Premalal
Hi Kelvin, Kelvin Lin <[EMAIL PROTECTED]> writes: > I printed both hash value and count and I found the count increased by the > declare sequence. But if I used fuction "axiom_node_to_string" to see the > string format of message, I found they are not the same sequence with > declaring > them. As

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-05 Thread Kelvin Lin
Hi Dinesh, Thanks for your reply. I know the sequence of namespace doesn't effect validity or welformness of the XML in common condition, but the weird thing is that in my project, it does. When I sent a soap message created by gsoap to the server, I could get right response, as the

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-05 Thread Dumindu Pallewela
Hi Kelvin, I know the sequence of namespace doesn't effect validity or welformness of the XML in common condition, but the weird thing is that in my project, it does. When I sent a soap message created by gsoap to the server, I could get right response, as the Axis2/C. But if I sent a soap me

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-05 Thread Dinesh Premalal
Hi Kelvin, Kelvin Lin <[EMAIL PROTECTED]> writes: > So I have to follow the sequence of namespace exactly. > > If I would like to meet this target, it does whether mean I have to modify > underline XML parser layer, like libxml, not Axis2/C source code > itself? Yes it is parser abstraction laye

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-08 Thread Kelvin Lin
Hi Dinesh, Thanks for your reply and sorry for reply later. I have tried used guththila parser via this config file: ENABLE_SSL = 1 ENABLE_LIBCURL = 0 ENABLE_GUTHTHILA = 1 ## LIBXML2_BIN_DIR = E:\libxml2-2.6.27.win32 ICONV_BIN_DIR = E:\iconv-1.9.2.win32 ZLIB_BIN_DIR = E:\zlib123-d

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-09 Thread Dinesh Premalal
Kelvin, Please find my comments inline. Kelvin Lin <[EMAIL PROTECTED]> writes: > > 1st, I don't know whether single squote "\'" will affect the soap message or > not. Because in the correct format, soap message uses double squote "\"". It > means xmlns:ns1 = "http://stockquote"; not xmlns:n

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-09 Thread Samisa Abeysinghe
Looking at the exception, it looks like the server is complaining on the SOAPAction. Can you please try to set the SOAPAction with the service client API? Samisa... Kelvin Lin wrote: Hi Dinesh, Thanks for your reply and sorry for reply later. I have tried used guththila parser via this co

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-10 Thread Kelvin Lin
Hi Dinesh, Thank you for your reminder. I used tcpmon to moniter the soap message and found a weird result. Here is my whole code: axiom_node_t * build_om_payload_for_echo_svc2(const axutil_env_t *env) { axiom_node_t *echo_om_node = NULL; axiom_element_t* echo_om_ele

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-13 Thread Kelvin Lin
Hi Dinesh, Why Axis2/C will generate wrap of soap message like: But in my codes, just write some statements like: ns0 = axiom_namespace_create(env, AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI, "SOAP-ENV"); ns1 = axiom_namespace_create(env, "http://schemas.xmlsoap.org

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-14 Thread Dinesh Premalal
Hi Kelvin, Sorry for the late in getting back to you. Kelvin Lin <[EMAIL PROTECTED]> writes: > > Sending OM : 'http://schemas.xmlsoap.org/soap/encoding > / > ' xmlns:xsd = 'http://www.w3.org/1999/XMLSchema'> > s1:symbol>IBM > > 2nd, it is still in disorder sequence. Because I want ge

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-14 Thread Dinesh Premalal
Kelvin Lin <[EMAIL PROTECTED]> writes: > > I used printf to display om_str is: > > Sending OM : 'http://www.w3.org/ > 1999/XMLSchema-instance' xmlns:SOAP-ENC = 'http://schemas.xmlsoap.org/soap/ > encoding/' xmlns:xsd = 'http://www.w3.org/1999/XMLSchema'> > ABC SOAP-ENV:Envelope> > > But I us

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-15 Thread Kelvin Lin
Hi Dinesh, Thanks a lot for your reply. I followed your suggestion, specifying SOAP1.1 explicitly. But it failed either. Here are the codes: /* Setup options */ options = axis2_options_create(env); axis2_options_set_to(options, env, endpoint_ref); axis2_opti

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-16 Thread Nabeel Yoosuf
On 7/16/07, Kelvin Lin <[EMAIL PROTECTED]> wrote: Hi Dinesh, Thanks a lot for your reply. I followed your suggestion, specifying SOAP1.1 explicitly. But it failed either. Here are the codes: /* Setup options */ options = axis2_options_create(env); axis2_options_set_to(options, en

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-18 Thread Kelvin Lin
Hi Nabeel, Thanks for your reply. I still have another question, it is how to add more than one namespace into the soap message, if just encapsulate payload lilke IBM here is console message: AXIS2C_HOME is not set - log is written to . dir Using endpoint : http://localhost:9081/WebProject/se

Re: How to get ordered namespace sequence, about the function "axutil_hash_find_entry"

2007-07-19 Thread Nabeel Yoosuf
On 7/18/07, Kelvin Lin <[EMAIL PROTECTED]> wrote: Hi Nabeel, Thanks for your reply. I still have another question, it is how to add more than one namespace into the soap message, if just encapsulate payload lilke IBM here is console message: AXIS2C_HOME is not set - log is written to . dir U