4 years later, am facing a related issue in android.

I have an app where am using google app engine. i need to make soap request 
to a certain company webservice where i also provide a callback url where 
the webservice will send the results to it in form of soap.

How can i send this soap requests to the webservice and prepare google app 
engine to receive soap data? What can i do to make sure that the callback 
url that i will give to the comapany's webservice will not compromise my 
app engine security? 

What changes do i need to do to the below class that should make and 
receive the soap data?

public class MyServlet extends HttpServlet {


@Override
  public void doGet(HttpServletRequest req, HttpServletResponse resp)
    throws IOException {
   resp.setContentType("text/plain");
   resp.getWriter().println("Please use the form to POST to this url");

   }

@Override
public void doPost(HttpServletRequest req, HttpServletResponse resp)
    throws IOException {
    String name = req.getParameter("name");
    resp.setContentType("text/plain");
    if (name == null) {
      resp.getWriter().println("Please enter a name");
    }
    resp.getWriter().println("Hello " + name);
  }
}


    


-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ca25433d-647b-4ea8-a357-88c31fc28dd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to