- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的 mule.xml:
<?xml version="1.0" encoding="UTF-8"?>
<mule namespaces..>
<flow name="smsFlow1" doc:name="smsFlow1">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8084" path="send" doc:name="HTTP"/>
<cxf:proxy-service payload="body" doc:name="CXF" serviceClass="com.sample.service.doService_Service" soapVersion="1.2"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
</flow>
</mule>
错误:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'serviceClass' of bean class [org.mule.module.cxf.config.ProxyServiceFactoryBean]: Bean property 'serviceClass' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1427)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:271)
... 45 more
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'serviceClass' of bean class [org.mule.module.cxf.config.ProxyServiceFactoryBean]: Bean property 'serviceClass' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1042)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:902)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1424)
... 49 more
在使用从类路径引用的 wsdl 在 mule 中创建代理服务时,我始终收到此错误
最佳答案
您似乎没有正确的 Spring 导入。如果您不确定正确的命名空间和位置,只需从流程中删除 cxf 组件,然后再次添加即可。通过这种方式,它将添加/导入正确的架构。
希望这有帮助。
关于java - 使用代理服务时出现 Anypoint Mule Studio 3.5 : org. springframework.beans.NotWritablePropertyException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24675385/
我正在 WSO2 ESB 中开发代理服务。 使用此配置,我检索 xml Web 服务响应。响应使用默认命名空间,如下所示: 这是 xml 响应: 1 b1e97b67-122
我有一个带有 2 个端点的网络服务器,我想在不同的机器上处理它们。它们是独立的,更新其中一个时我不想重新启动另一个。 Router router = Router.router(vertx);
我们希望使用 AngularJS SPA 中的 Azure DocumentDB。我知道最好将 Node.js 代理服务作为它们之间的中间层。我是一名 .NET 开发人员,但在创建它时遇到了困难。您能
我需要开发一个作为代理服务的自定义sonarqube插件。 我正在考虑创建一个简单的 Java 应用程序: 应用程序将继续监听请求 根据请求从调用方接收 REST api URL(某些第 3 方地址)
使用 WSO2ESB 我试图增加安全性并公开在 WSO2DSS 中运行的不安全的 REST API。基本上我想将用户名/密码与角色一起存储在 ESB 的用户存储中,并根据角色授予对 API 的访问权限
我对 VFS 代理服务如何在 WSO2 ESB 4.8.0 上工作有一些疑问。 我准备了以下测试服务:
我们启动了一个 Cloud Composer 集群,并希望使用它来将数据从 Cloud SQL (Postgres) 移动到 BQ。我遵循了这两个资源中提到的有关执行此操作的说明: Google Cl
我们有这个 WSO2 ESB 代理服务,可以通过它的 https 端点访问。我想配置此服务,以便它也可以通过 http 访问。我检查了 carbon 管理控制台中的服务配置,并确认 https 和 h
我正在尝试利用 Mac OS X Server 中的配置文件而不是直接修改 Apache 的站点文件来为 eXist XML 数据库添加反向代理条目。映射应从 [http://example.com/
我是一名优秀的程序员,十分优秀!