Hi,
I'm trying to upload an image to an axis2c server. The image is handled by
a service which is REST-enabled (modeled after the echo sample). The
services.xml is
<service name="KIPSvc">
<parameter name="ServiceClass" locked="xsd:false">KIPSvc</parameter>
<description/>
<operation name="getVC">
<parameter name="RESTMethod">POST</parameter>
<parameter name="RESTLocation">getVC</parameter>
</operation>
</service>
The client is written in Java, but does not use the axis2 API; it just
constructs a POST request using the java HttpConnection class. (My
understanding of REST is that this should be okay.) It sets content-type to
text/xml, and sends the image data as a sequence of bytes.
Processing gets into the service dll, such that the getVC operation
axiom_node_t *
axis2_KIPSvc_getVC(
const axutil_env_t * env,
axiom_node_t * node)
is called. But the "node" argument is null. Could someone could tell me
what the problem might be? Many thanks in advance-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]