验证结果:在策略文件的分配期间出错,service.asmx.wsdl不符合java ME WEBSERVICES SPECIFICATION(JSR-172) [英] Validation result : ERROR DURING PARSING OF THE SCHEMA FILE, service.asmx.wsdl is not compliant with java ME WEBSERVICES SPECIFICATION(JSR-172)
问题描述
当net beans软件接受.net webservice时,我收到以下错误:验证结果,在策略文件的分配期间出错,service.asmx.wsdl不符合java ME WEBSERVICES SPECIFICATION(JSR-172)
when net beans software is accepting the .net webservice i am getting the following error:Validation result, ERROR DURING PARSING OF THE SCHEMA FILE, service.asmx.wsdl is not compliant with java ME WEBSERVICES SPECIFICATION(JSR-172)
推荐答案
你好 - 我想知道你是否遇到编码问题。你知道J2ME堆栈是否需要RPC / Encoded样式吗?您可以尝试使用SoapRpcMethodAttribute来装饰您的服务器方法,看看是否能让netbeans更快乐。
http://msdn.microsoft.com/en-us/library/system.web.services.protocols.soaprpcmethodattribute.aspx
我在J2ME Web服务堆栈上不是很深入,所以这只是一种预感。
希望有助于实现
Hi there -- I wonder if you're hitting an encoding issue. Do you know if the J2ME stack requires the RPC/Encoded style? You might try decorating your server methods with SoapRpcMethodAttribute and seeing if that makes netbeans happier.
http://msdn.microsoft.com/en-us/library/system.web.services.protocols.soaprpcmethodattribute.aspx
I'm not very deep on the J2ME web services stack so this is just a hunch.
Hope that helps
-steve
这篇关于验证结果:在策略文件的分配期间出错,service.asmx.wsdl不符合java ME WEBSERVICES SPECIFICATION(JSR-172)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!