webservice 规格严格

http://docs.oracle.com/javaee/5/tutorial/doc/bnbbf.html

http://www.iteye.com/topic/166314

http://www1.huachu.com.cn/read/readbook.asp?bookid=10110430

项目中需要和一个厂商做web service联动,于是乎看了一看,找几篇demo充充样子

Q:

You are running on JDK6 which comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on


A:

1、下载并解压 JAXWS2.2.3-20110209.zip        (下载地址: http://a0501bqzhxy.download.csdn.net/)


2、

%JAVA_HOMW%/lib/

%JAVA_HOME%/jre/lib/  下分别创建endorsed目录 并将1 步骤中的jaxws-api.jar和jaxb-api.jar 放入其中

 

原文地址:https://www.cnblogs.com/diyunpeng/p/2388379.html