Meaningless Drivel is fun!
The moose likes Android and the fly likes WebServices and Android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "WebServices and Android" Watch "WebServices and Android" New topic

WebServices and Android

Syl Sch

Joined: Sep 10, 2010
Posts: 1
Hi! I'm trying to use ksoap2 (v 2.1.2) to connect to a webservice. As a test, I'm using things that are open on the net. Right now, I'm testing with

My code look like that:

And it's crashing att . I get the error
SoapFault - faultcode: 'soap:Client' faultstring: 'System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: OrteStartWith.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)' faultactor: 'null' detail: org.kxml2.kdom.Node@16a55fa
at org.ksoap2.serialization.SoapSerializationEnvelope.parseBody(Unknown Source)
at org.ksoap2.SoapEnvelope.parse(Unknown Source)
at org.ksoap2.transport.Transport.parseResponse(Unknown Source)
at Source)

Any idea of what I am doing wrong?
I agree. Here's the link:
subject: WebServices and Android
It's not a secret anymore!