Hai Friends

I want to invoke .net ?(.asmx) webservice in J2ME Application,
iam using following code , but its giving Runtime Exception

"SoapFault - faultcode: 'soap:Client' faultstring: 'Server did not recognize the value of HTTP Header SOAPAction: urn:Welcome#GetdrawTimes.' faultactor: 'null' detail: [EndTag </detail>]

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.io.*;
import javax.microedition.io.*;

import org.ksoap.*;
import org.ksoap.transport.*;
import org.ksoap.SoapObject;

public class testWebService extends MIDlet {

private Display display;

private String url = "";

TextBox textBox = null;
private Command cmExit;

public testWebService()
display = Display.getDisplay(this);


public void startApp() {
catch(Exception e)
System.out.println("Exception: " + e);


public void pauseApp() {

public void destroyApp(boolean unconditional) {

public void doWebService(String url) throws Exception
StringBuffer sb = new StringBuffer();
String name = "Phobos";
TextBox textBox = null;
SoapObject client = new SoapObject("", "GetdrawTimes");
client.addProperty("pstrIPAddress", "");
client.addProperty("pstrMobileID", "124343");

HttpTransport ht = new HttpTransport(url, "GetdrawTimes");
sb.append("" + ht.call(client));

textBox = new TextBox("Simple Web Service Test: ", sb.toString(), 1024, 0);


please help me for this problem.

Congratulations! You've just decreased your chances of being helped by the people here.
You can find your double thread here (in case you don't know what I'm talking about).
If you want a quicker (more useful) reply than this one, then I suggest you to put your time into figuring out the problem instead of making double posts.

Off topic: The double been already flagged and soon be dealt by moderator of the section