Será que não é Time Out no Server PHP?
Você tem acesso as configurações do servidor?
E de preferencia tentar ver os log's...
Andreus Timm - Analista de Sistemas
Empresa: www.zorbit.net
Blog: www.andreustimm.com.br
Em 8 de agosto de 2012 13:15, Maicon Strey <mstrey@gmail.com> escreveu:
Defina melhor o que é pequeno e o que é grande pra ti.exemplos?Maicon Strey
Novo Hamburgo - RS - Brasil
------------------
2012/8/8 Arthur Alexandre <arthurkbe@gmail.com>resposta = ConexaoHttpClient.executaHttpPost(url, parametrosPost);essa linha ele n executa...
Em quarta-feira, 8 de agosto de 2012 12h07min13s UTC-3, Arthur Alexandre escreveu:o problema é esse n tem log de erro... simplesmente ele pra de executar as linhas
Em quarta-feira, 8 de agosto de 2012 11h58min06s UTC-3, Neto Marin escreveu:Log?
---
Neto Marin
Blog: http://blog.netomarin.com
GTalk: neto...@gmail.com
MSN: neto_...@hotmail.com
Skype: netomarin
2012/8/8 Arthur Alexandre <arth...@gmail.com>Galera to com um probleminha aki no meu codigo.. eu preciso enviar alguns pedidos estou enviando dois arquivos, os pedidos pequenos vão de boa mas quando tem um pedido muito grande ele simplesmente n vaita ai o codigo http post que eu to usandopublic static String executaHttpPost(String url, ArrayList<NameValuePair> parametrosPost) throws Exception {BufferedReader bufferedReader = null;try{HttpClient client = getHttpClient();HttpPost httpPost = new HttpPost(url);UrlEncodedFormEntity formEntity =new UrlEncodedFormEntity(parametrosPost);httpPost.setEntity(formEntity);HttpResponse httpResponse = client.execute(httpPost);bufferedReader = new BufferedReader(new InputStreamReader(httpResponse.getEntity().getContent()));StringBuffer stringBuffer = new StringBuffer("");String line = "";String LS = System.getProperty("line.separator");while((line = bufferedReader.readLine()) != null){stringBuffer.append(line + LS);}bufferedReader.close();String resultado = stringBuffer.toString();return resultado;}finally{if(bufferedReader !=null){try{bufferedReader.close();}catch (IOException e) {e.printStackTrace(); }}}}sera que alguem poderia me dizer oq pode ser?






0 comentários:
Postar um comentário