Hi Jame,
You are simply hunting in the dark and not trying to understand the root
cause. You are posting a request to a http server, there bound to be a
response from server. How do you know what this response is? You will
not find it any where Ofbiz or none of the user or developer have any
answer to this. Only way you can find a answer is the API of your
payment processor. Without reading the API documents, I don't know how
can you resolve this.
If you are trying to use an already implemented payment processor, I
feel you are sending the post request to a wrong URL. These implemented
payment methods know what to expect from server and they will certainly
parse it. I would again suggest, read the documentation of your payment
processor and look at the part which talks about the response from
server. Another thing, to receive a right response, your request should
also be valid i.e. it must contains the valid fields as expected by the
server. And how do you know what is right for server? Only way to find
that is read the documentation of your payment processor API.
Thanks,
Raj
Jame Jane wrote:
hi i know it is very easy.
But ht actual problem is like the string is storing Html file as response.
HttpClient http = new HttpClient(serverURL);
http.setParameters(context);
String response = null;
response = http.post();
This response is getting <HTML></HTML>
Now in this I want to read <input type=" " name="" value="">
i.e I want to get Parameters from this response.
how could I do.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.