Hi,all. I have a problem described as the follows: I use eclipse3.3+myEclipse6 to develope my java web application,I used the webservice "MyService.asmx" which is written by others(MyService.asmx is written in .NET tools) to get certain method such as GetOaEmpId().In my computer(my computer OS is windows2000 professional) the jsp page can get the method GetOaEmpId without any problem,it works well.But with the same .net code and java code I deployed to another computer,I cann't get the GetOaEmpId() method,the jsp page throw an exception:
信息: Loading validation rules file from '/WEB-INF/validation.xml' 2008-8-29 9:04:54 org.apache.struts.validator.ValidatorPlugIn initResources 信息: Loading validation rules file from '/WEB-INF/validator-rules.xml' 2008-8-29 9:05:15 org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme 信息: ntlm authentication scheme selected 2008-8-29 9:05:15 org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge 信息: No credentials available for NTLM <any realm>@58.211.37.27:88 2008-8-29 9:05:15 org.codehaus.xfire.transport.http.HttpChannel sendViaClient 严重: Server returned error code = 401 for URI : http://58.211.37.27:88/OATest/MyService.asmx. Check server logs for details 2008-8-29 9:05:15 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet jsp threw exception org.codehaus.xfire.XFireRuntimeException: Server returned error code = 401 for URI : http://58.211.37.27:88/OATest/MyService.asmx. Check server logs for details at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:130) at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114) at org.codehaus.xfire.client.Client.invoke(Client.java:336) at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77) at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57) at $Proxy114.getOaEmpInfo(Unknown Source) at org.apache.jsp.Frameset_jsp._jspService(Frameset_jsp.java:89) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) I really don't know how to resolve the problem. could you please do me a favor..please..thank you .. -- View this message in context: http://www.nabble.com/org.codehaus.xfire.XFireRuntimeException%3A-Server-returned-error-code-%3D-401-for-URI-%3A-http%3A--58.211.37.27%3A88-OATest-MyService.asmx.-tp19212303p19212303.html Sent from the XFire - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
