WSDLToJava Error: Thrown by JAXB : undefined element declaration 's:schema'
2012-02-03 22:04
531 查看
E:\05_core_source\03_apache\02_cxf\apache-cxf-2.3.3\bin>wsdl2java http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl
报错误:
WSDLToJava Error: Thrown by JAXB: undefined element declaration 's:schema' at line 44 column 19 of schema http://www.webxml.com.cn/WebServices/WeatherWebService
.asmx?wsdl
问题说明:未定义的元素声明
解决方式:
http://www.webxml.com.cn/WebServices/WeatherWebService?wsdl 另存 为 WeatherWebService.wsdl于wsdl2java相同目录下;打开 WeatherWebService.wsdl,将出现 <s:element
ref="s:schema" />的地方全部删除;然后E:\05_core_source\03_apache\02_cxf\apache-cxf-2.3.3\bin>wsdl2java WeatherWebService.wsdl 即可;
注:wsdl2java -frontend jaxws21 WeatherWebService.wsdl
报错误:
WSDLToJava Error: Thrown by JAXB: undefined element declaration 's:schema' at line 44 column 19 of schema http://www.webxml.com.cn/WebServices/WeatherWebService
.asmx?wsdl
问题说明:未定义的元素声明
解决方式:
http://www.webxml.com.cn/WebServices/WeatherWebService?wsdl 另存 为 WeatherWebService.wsdl于wsdl2java相同目录下;打开 WeatherWebService.wsdl,将出现 <s:element
ref="s:schema" />的地方全部删除;然后E:\05_core_source\03_apache\02_cxf\apache-cxf-2.3.3\bin>wsdl2java WeatherWebService.wsdl 即可;
注:wsdl2java -frontend jaxws21 WeatherWebService.wsdl
相关文章推荐
- webservice客户端 发生undefined element declaration 's:schema'
- webservice客户端异常( undefinedelement declaration 's:schema')
- xfire生成webservice客户端 发生xfire undefined element declaration 's:schema' 错误
- jni/../../Classes/AppDelegate.cpp:29: error: undefined reference to 'StartLayer。而且没生成libgame.so文件
- 编译海思3520内核时候报错drivers/mfd/ezx-pcap.c:205:2: error: implicit declaration of function 'irq_to_gpio' [-
- error: undefined reference to '__aeabi_uidiv'
- Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
- 编译linux 内核时:decompress.c:(.text+0x25c4): undefined reference to `error'的解决办法
- jni/../../Classes/AppDelegate.cpp:102: error: undefined reference to 'TestController::TestController
- _start:crtbrand.c(.text+0x78): error: undefined reference to 'main'
- error: undefined reference to 'bsd_signal'
- Dev C++中的错误的解决[Linker error] undefined reference to `__dyn_tls_init_callback'
- 解决In function `mwException::mwException()': undefined reference to `mclcppCreateError'
- 移植出错:eeti_ts.c:64: error: implicit declaration of function 'irq_to_gpio'
- error: undefined reference to 'android::AString::~AString()'
- Error:ImageIOpng.cpp:(.text+0x5b9): undefined reference to `png_create_write_struct'等
- drivers/input/touchscreen/eeti_ts.c:65:2: error: implicit declaration of function 'irq_to_gpio'
- Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Element': '#00' is not a valid select
- NDK编译时,报错error: undefined reference to 'rand',是不是安卓库函数里面没有这个函数的实现呢?
- ffmpeg libx264编译出现error: undefined reference to 'x264_picture_init'等问题的解决方法