Solution org.w3c.dom.DOMException: No such Localname for SOAP URI exception

WebService with CXF is to do in the face org.w3c.dom.DOMException: No such Localname for SOAP URI is usually joined axis.jar exception to this package. Solution: the main reason is: xml-api.jar the jar in the meddling. Usually we use in building projects following on from the generation of j2ee1.4 xml-api.jar this file. JDK1.4 and this file is used. This file can be deleted.

JDK5 rt.jar with the realization of the above can be had.

Reason: use xml-api.jar CXF org.apache.cxf.wsdl.EndpointReferenceUtils Node will be reported in parsing error!

分类:Java 时间:2010-06-23 人气:241
分享到:
blog comments powered by Disqus

相关文章

  • How to use axis publish a webservice, step summary 2010-07-19

    How to use axis publish a webservice, step summary (through wsdd papers to publish): 1. How to create a wsdl file. Method 1: Define an interface, it inherits a remote call Remote interface, and then define a class that implements the interface. Can a

  • axis to achieve webService - server + client 2010-12-28

    One. Program Structure II. The required packages: III. Edit web.xml <? Xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE web-app PUBLIC "- / / Sun Microsystems, Inc. / / DTD Web Application 2.3 / / EN" " http:

  • 使用AXIS生成SOAP Web Service客户端的方法 2011-12-08

    需要准备的工具: JDK 1.5 或以上 AXIS 1.4 从http://labs.renren.com/apache-mirror//ws/axis/1_4/axis-bin-1_4.zip下载axis_1.4,解压到某个目录(比如/media/tools/java/axis_1.4). 设置以下环境变量 export AXIS_HOME=/media/tools/java/axis_1.4 export PATH=${AXIS_HOME}/bin:${PATH} export AXIS_L

  • 使用Axis+Eclipse开发webservice 2012-10-09

    使用Axis+Eclipse开发webservice 什么是webservice? 从架构师的角度来理解:webservice是一个软件系统,为了支持跨网络的机器间相互操作交互而设计.Web Service服务通常被定义为一组模块化的API,它们可以通过网络进行调用,来执行远程系统的请求服务. 从一个程序员的视角来理解:在传统的程序编码中,存在这各种的函数方法调用.通常,我们知道一个程序模块M中的方法A,向其发出调用请求,并传入A方法需要的参数P,方法A执行完毕后,返回处理结果R.这种函数或方法

  • 利用Apache AXIS 1 发布WebService 2013-03-20

    最近在论坛遇到很多朋友问AXIS发布webService的问题,这个问题已经回答了很多次了,现在特别发布一文章,说明AXIS 1的基本用法. //很庆幸,CSDN的发文编辑器已经改版本,不那么难编辑了. 首先,AXIS 是apache的作品. 1.到apache去下载相关的包,包括axis.jar.axis-ant.jar.commons-discovery-0.2.jar等.将jar包放到WEB-INF/lib下面 2.在WEB.XML中按如下配置,直接copy进去就可以 [html] vie

  • axis of the webservice written in java how to call 2008-06-23

    import java.io.*; import java.util.*; import java.net.*; import org.w3c.dom.*; import org.apache.soap.util.xml.*; import org.apache.soap.*; import org.apache.soap.encoding.*; import org.apache.soap.encoding.soapenc.*; import org.apache.soap.rpc.*; im

  • eclise in maven add dependency could not be found in the local respository jar package solution. 2011-02-18

    the eclipse would like to add a jar package, open the pom.xml of the dependencies can not find local repositrory in the jar package. Solution. Window -> Show View -> Other Type maven Click Maven Repositories Right-click the local repository can choo

  • Simple example of Apache CXF WebService 2010-12-06

    Source Download: http://dl.dbank.com/c0vhvbrxlr CSDN article from my blog, reproduced, please credit: http://blog.csdn.net/cuiran/archive/2010/12/02/6049645.aspx One. Development Environment My development environment is: MyEclipse 6.5 Tomcat 6.0 Apa

  • Arch-03-09-using the existing package Apache CXF REST Service as 2011-06-02

    Rest was maddeningly simple method, you must get into the existing service package REST way. Apache CXF is the best choice. To plan content: (1) understand CXF; (2) Download CXF; (3) integration of the existing environment; (4) Package PhotoService t

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.158 (s). 12 q(s)