Is the app engine app yours?  If so perhaps you could expose your service 
as a RESTful service rather than SOAP since you don't have a SOAP client 
library on your arduino platform.  The REST service will be much simpler to 
consume with basic HTTP programming methods.



On Thursday, October 3, 2013 7:08:14 AM UTC-5, giuseppe giorgio wrote:
>
> 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/dataserverHTTP/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.

Reply via email to