Web services 未能将参数传递到Mule中的Web服务
我使用Web服务使用者组件从SOAP调用该操作,并希望使用转换消息传递参数 我在转换消息中设置了Java类,并声明了参数 当我运行应用程序时,我得到一个错误。 这就是错误:Web services 未能将参数传递到Mule中的Web服务,web-services,parameter-passing,mule-studio,anypoint-studio,Web Services,Parameter Passing,Mule Studio,Anypoint Studio,我使用Web服务使用者组件从SOAP调用该操作,并希望使用转换消息传递参数 我在转换消息中设置了Java类,并声明了参数 当我运行应用程序时,我得到一个错误。 这就是错误: 消息:找不到将“SimpleDataType{type=java.util.LinkedHashMap,mimeType='/',encoding='null'}”转换为“SimpleDataType{type=javax.xml.stream.XMLStreamReader,mimeType='/',encoding
消息:找不到将“SimpleDataType{type=java.util.LinkedHashMap,mimeType='/',encoding='null'}”转换为“SimpleDataType{type=javax.xml.stream.XMLStreamReader,mimeType='/',encoding='null'}”的转换器。 类型:org.mule.api.transformer.TransformerException 代码:MULE_错误-236
如何传递参数?
谢谢我检查了一个使用Dataweave的SOAP连接,输出类型是“application/xml”。你能试着用它代替“应用程序/java”吗?此外,您可能希望使用Dataweave namespace指令定义XMLNS名称空间
有关transformer消息的更多信息,请阅读本教程: 致以最良好的祝愿, 朱塞佩