java中的方法如下:
import javax.xml.namespace.QName;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;public static boolean CheckUserValid(String UserName,String PassWord)
    {
        try
        {
            String endpoint="http://localhost/checklogin/getUser.asmx?wsdl";
            Service service = new Service();
            Call call = (Call)service.createCall();
            call.setTargetEndpointAddress(new java.net.URL(endpoint));
            call.setOperationName(new QName("http://localhost/checklogin/getUser.asmx","CheckUserValid"));
            call.addParameter("UserName",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
            call.addParameter("PassWord",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
            call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);
            call.setUseSOAPAction(true);
            call.setSOAPActionURI("http://localhost/checklogin/getUser.asmx");
            ReturnValue = (String)call.invoke(new Object[]{UserName,PassWord});
            return true;
        }
        catch(Exception e)
        {
            ReturnValue=e.toString();
            System.err.println(e.toString());
        }
        return false;
    }测试时报错如下:
Feb 6, 2006 10:54:33 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://localhost/checklogin/getUser.asmx.
   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)我应该如何解决这个错误?谢谢