Hi Alex,

Adding the part below worked for text conversion.

            if (ctype == CONTENT_TYPE_XML)
            {
                paramsToSend = parameters.toXMLString();

I am not sure but I guess this time the data is not sent to the server side. I debugged the code and see that it is all set.

Here is the capture of the debug, you can see the watch expression and the parameters which are all correct.





13.01.2019 14:35 tarihinde Serkan Taş yazdı:
Hi Alex,

parameters is XML. It is the return of

XML.conversion("username=" + com.likya.pinara.model.ModelLocator.getInstance().currentUser.username);

Yes the request use POST. I am going to try toXMLString.

Thanks,
Serkan


13.01.2019 10:01 tarihinde Alex Harui yazdı:

Hi Serkan,

What is parameters?  Isn’t it XML or an Array with one XML element?  If so, “as String” will return null since neither XML or Array is a String.  I think the commented code calls toXMLString on an XML instance,  I think that’s what you want to do.  I think the code also switches to POST as well.

HTH,

-Alex



Reply via email to