Originally posted by yash wardhan:
I am new to web service and I have to implement RESTFul web service using Axis2.
Originally posted by yash wardhan:
"Error in creating a SOAPEnvelope from the REST request".
Originally posted by yash wardhan:
It is working fine from java http client.
When tried to call it with j2me client it is working for GET but not for POST.
How does the code between the two differ?
What do the HTTP requests/responses look like for both the java http client and the j2me client? (and what is the difference?)
Originally posted by yash wardhan:
When the request is made from java client I am getting the response.
But when requested from j2me getting an error like
"ContentType should be given to proceed,according to WSDL 2.0 HTTP binding rules".
When the content type is set explicitly, getting the exception as .
Error in creating a SOAPEnvelope from the REST request
This is happening for both java client and j2me client when content-type is set explicitly.