i need to write a full http request for invoke a soap webservice hosted on
app engine, but i'm not able to send request. I'm programming an arduino
borad, and there's no library for invoke webservice (so i need to built it).
what code should do it's to open an http connection with webservice, then
send http request with xml for call service, but if i open connection by
using webservice address, nothing works. The code show below it's clear
also if you don't know arduino language:
char server[] = "arduino-data-server.appspot.com";
Serial.println("\nStarting connection to server...");
// if you get a connection, report back via serial:
if (client.connect(server, 80)) {
Serial.println("connected to server");
// Make a HTTP request:
client.println("POST arduino-data-server.appspot.com/dataserver
HTTP/1.1");
client.println("Host: www.google.com");
client.println("Content-Length: nnn");
client.println("Connection: close");
client.println();
}
}
how can i fix it?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.