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");
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
16 matches
Mail list logo