我是SOAP-UI的新手。当我尝试使用 soapui-4.0.1.0.jar 解析WSDL时,它会抛出异常
ClassNotFoundException的: org.xmlsoap.schemas.ws.x2004.x09.policy.PolicyDocument $厂
请帮我解决这个问题。
Stack Trace:[com.eviware.soapui.impl.wsdl.support.policy.PolicyUtils.getAddressingPolicy(PolicyUtils.java:303),com.eviware.soapui.impl.wsdl.support.policy.PolicyUtils.getPolicy( PolicyUtils.java:287),com.eviware.soapui.impl.wsdl.support.policy.PolicyUtils.getAttachedPolicy(PolicyUtils.java:249),com.eviware.soapui.impl.wsdl.support.soap.AbstractSoapBindingImporter.initWsAddressing( AbstractSoapBindingImporter.java:43),com.eviware.soapui.impl.wsdl.support.soap.Soap12HttpBindingImporter.importBinding(Soap12HttpBindingImporter.java:88),com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importBinding( WsdlImporter.java:264),com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl(WsdlImporter.java:154),com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl( WsdlImporter.java:80),com.eviware.soapui.impl.wsdl.support.wsdl.WsdlImporter.importWsdl(WsdlImporter.java:75),
答案 0 :(得分:1)
我已经测试/执行并且能够使用policy-xmlbeans-1.5.jar和后来的commons-beanutils-1.9.3.jar解析WSDL。
在findjar上引用的OC4J jar不适用于我...
答案 1 :(得分:0)
for(var i=0;i<$scope.workingTime[i].length;i++)
{
for (var j=0;j<$scope.workingSchedules[j].length;j++)
{
if($scope.workingTime[i].workingDay==$scope.workingSchedules[j].workingDay)
{
$scope.workingTime[i]=$scope.workingSchedules[j];
}
}
}
表示您可能没有在项目中包含必要的依赖项/ jar。根据{{3}},您可以在org.xmlsoap.schemas.ws.x2004.x09.policy.PolicyDocument
页面上找到所寻求的OC4J课程。