What is the method used to serialize the REST payload now? (Yes I am
lazy to look into the code ;-) )
There is a method serializee_sub_tree, if you use that, there would not
be such problem.
Samisa...
Senaka Fernando wrote:
Hi Dave,
Jolly good question. I think this may be a bug. Also, I
Hi Samisa,
I think we use, axiom_node_serialize() as in http_transport_sender.c:493.
I will replace such occurrences with axiom_node_serialize_sub_tree().
Regards,
Senaka
What is the method used to serialize the REST payload now? (Yes I am
lazy to look into the code ;-) )
There is a method
Hi Dave, and Samisa,
I just tried the echo_rest sample with the echo service. I see no issue in
defining a namespace and having it sent to the other end in both client
and server side. Thus, we would not rather need to use the
serialize_sub_tree() method. Dave, I think you are missing something
/soapenv:Body
/soapenv:Envelope
-Dave.
-Original Message-
From: Senaka Fernando [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2008 11:33 PM
To: Apache AXIS C Developers List
Subject: Re: [AXIS2C] Rest - namespace on the response question
Hi Dave,
Jolly good question. I think
displaying.
Thanks,
-Dave.
-Original Message-
From: Dave Meier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 13, 2008 8:35 AM
To: Apache AXIS C Developers List; [EMAIL PROTECTED]
Subject: RE: [AXIS2C] Rest - namespace on the response question
Hi Senaka and Samisa,
In my code I do
Dave Meier wrote:
Hi Senaka and Samisa,
My apologies. I was running the GET in Firefox and it seems to strip of
the namespace urn. I captured the response and the urn is there.
So everything is fine. Next time I will verify with a capture tool. I
was not aware the browser would change the
- namespace on the response question
Hi Dave, and Samisa,
I just tried the echo_rest sample with the echo service. I see no issue
in defining a namespace and having it sent to the other end in both
client and server side. Thus, we would not rather need to use the
serialize_sub_tree() method. Dave, I think
Hi Dave,
Glad to hear it works. Please discard my previous reply to this thread.
But, it is not worth assigning the same namespace in 2-3 places, please
consider that too.
We do have a tcp monitor that works fine on both windows and linux. You
can use that to view your payload. It is installed
);
}
axutil_hash_free(namespaces, env);
}
return parent;
}
Thanks,
-Dave.
-Original Message-
From: Senaka Fernando [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 13, 2008 1:50 AM
To: axis-c-dev@ws.apache.org
Subject: Re: [AXIS2C] Rest - namespace on the response question
Hi All,
I am now using REST successfully for both GET and POST calls! Thanks
for all the help getting this going.
I have a question about the response. The nodes all have a prefix of
n but no namespace is defined for n. Shouldn't it set a valid
namespace for n that matches my services
Hi Dave,
Jolly good question. I think this may be a bug. Also, I would like to see
the response you got for your SOAP call, if it is possible.
Regards,
Senaka
Hi All,
I am now using REST successfully for both GET and POST calls! Thanks
for all the help getting this going.
I have a
11 matches
Mail list logo