ajax soap调用webservice

 

ajax/jquery直接通过soap调用webservice

用IE没有问题

 

但用chrome火狐,后台出现Cannot handle HTTP method: OPTIONS

已设置为post,但发送依然是OPTIONS方法,因此不兼容?

 

注意,使用ajax调用webservice时,尽量使用ie浏览器,如果使用chrome或者是firefox浏览器,会出现以下异常:2013-8-2517:02:30com.sun.xml.internal.ws.transport.http.server.WSHttpHandlerhandleExchange警告:CannothandleHTTPmethod:OPTIONS

你可能感兴趣的:(JavaWeb)