WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF
2012-12-23 14:35
621 查看
近日,正在折腾系统整合类项目,需要与某ERP系统进行整合,整合方式为调用其WS,但是,此WS输入参数为xml字符串,使用soapUI调用总是会出现问题,于是想到改用java代码直接调用,想到cxf对于调用ws的方便性,于是想用cxf的wsdl2java工具,来生成java调用的客户端。然后,再调用。可是,在使用wsdl2java的时候,出现了WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF错误。
经查以及验证,此原因是wsdl在组装的时候使用了较老版本的ws生成工具导致。cxf估计是不行了,换了xfire就ok。
这是个小问题,记一下以便备查。
经查以及验证,此原因是wsdl在组装的时候使用了较老版本的ws生成工具导致。cxf估计是不行了,换了xfire就ok。
这是个小问题,记一下以便备查。
相关文章推荐
- WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF
- WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF
- IDEA 编译错误:java: try-with-resources is not supported in -source 1.6 (use -source 7 or higher to enable try-with-resources)
- TypeError: unicode strings are not supported, please encode to bytes: 'hu'
- Flex中TypeError: Error #1089: Assignment to lists with more than one item is not supported.
- java.lang.IllegalArgumentException: already added ...Conversion to Dalvik format failed with error 1解决办法
- numpy power ValueError: Integers to negative integer powers are not allowed.
- CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- nodejs错误:ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Java - Why multiple inheritances are not supported in Java
- apache cxf WSDLToJava 和JavaToWS指令
- Neo4j查询报错:Unable to load NODE with id 或者 Neo.ClientError.Statement.EntityNotFound
- Android:Help with “Error: Unable to open class file R.java” zz
- How to handle CRM Error of "View not copied or enhanced with wizard; processing not possible"
- sqlite编码问题 OperationalError: Could not decode to UTF-8 column 'name' with
- java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
- JVM装MAC时遇到的一个问题(Mac OS X is not supported with binary translation. To run Mac OS X you need a host )
- Error with Stsadm Command-Object reference not set to an instance of an object
- 配置OpenStack的glance出现错误Failed to show index. Got error: You are not authenticated.