当前位置: 首页 > news >正文

域名申请到网站建设教程天津百度推广公司

域名申请到网站建设教程,天津百度推广公司,怎么做卡蜜网站,在手机上做游戏的软件说明 在sun-jaxws.xml文件,可以配置endpoint、handler-chain等内容。在这个文件中配置的内容会覆盖在Java代码中使用注解属性配置的的内容。 这个文件根据自己的项目内容修改完成以后,作为web应用的一部分部署到web容器中(放到web应用的WEB…

说明

在sun-jaxws.xml文件,可以配置endpoint、handler-chain等内容。在这个文件中配置的内容会覆盖在Java代码中使用注解属性配置的的内容。

这个文件根据自己的项目内容修改完成以后,作为web应用的一部分部署到web容器中(放到web应用的WEB-INF目录下,和web.xml文件放到同一个目录下面):
在这里插入图片描述

这个文件可以自己从头编写,也可以在样例的基础上修改。

如果要找样例文件,可以从下面官网下载实现的独立发布包:https://eclipse-ee4j.github.io/metro-jax-ws/
解压后,在samples目录下的每个样例中都能找到这个文件,例如:
在这里插入图片描述
内容示例:

<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved.This program and the accompanying materials are made available under theterms of the Eclipse Distribution License v. 1.0, which is available athttp://www.eclipse.org/org/documents/edl-v10.php.SPDX-License-Identifier: BSD-3-Clause--><endpointsxmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime"version="2.0"><endpointname="catalog"interface="catalog.server.AddNumbersPortType"implementation="catalog.server.AddNumbersImpl"wsdl="WEB-INF/wsdl/AddNumbers.wsdl"service="{http://example.com}AddNumbersService"port="{http://example.com}AddNumbersPort"url-pattern="/addnumbers" /></endpoints>

sun-jaxws.xml文件中可以包含多个endpoint

endpoint就是web服务的端点。在sun-jaxws.xml文件中可以包含多个endpoint。

示例:例如有两个RESTful的web服务,sun-jaxws.xml文件的内容:

<?xml version="1.0" encoding="UTF-8"?><endpointsxmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime"version="2.0"><endpointname="power-restful-addnumbers"implementation="com.thb.server.AddNumbersImpl"url-pattern="/addnumbers/*" /><endpointname="power-restful-addnumbers2"implementation="com.thb.server.AddNumbers2"url-pattern="/addnumbers2/*" />
</endpoints>

web.xml文件中的内容:

<?xml version="1.0" encoding="UTF-8"?><web-app version="6.0" xmlns="https://jakarta.ee/xml/ns/jakartaee"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd"><description>restful</description><display-name>restful</display-name><listener><listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class></listener><servlet><description>JAX-WS endpoint - restful</description><display-name>restful</display-name><servlet-name>restful-addnumbers</servlet-name><servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class><load-on-startup>1</load-on-startup></servlet><servlet-mapping><servlet-name>restful-addnumbers</servlet-name><url-pattern>/addnumbers/*</url-pattern><url-pattern>/addnumbers2/*</url-pattern></servlet-mapping><session-config><session-timeout>60</session-timeout></session-config>
</web-app>

部署到tomcat以后:
访问服务1:
在这里插入图片描述
访问服务2:
在这里插入图片描述


文章转载自:
http://airmobile.tsnq.cn
http://incontrollable.tsnq.cn
http://upanishad.tsnq.cn
http://hermetical.tsnq.cn
http://peewit.tsnq.cn
http://legger.tsnq.cn
http://male.tsnq.cn
http://feint.tsnq.cn
http://addlepate.tsnq.cn
http://speckless.tsnq.cn
http://nu.tsnq.cn
http://cityward.tsnq.cn
http://skullduggery.tsnq.cn
http://meatpacking.tsnq.cn
http://telosyndesis.tsnq.cn
http://laurustinus.tsnq.cn
http://bridgebuilder.tsnq.cn
http://toscana.tsnq.cn
http://neatly.tsnq.cn
http://inbeing.tsnq.cn
http://supervision.tsnq.cn
http://folsom.tsnq.cn
http://mediaeval.tsnq.cn
http://toolroom.tsnq.cn
http://eschew.tsnq.cn
http://distensible.tsnq.cn
http://ivanovo.tsnq.cn
http://erythron.tsnq.cn
http://redistillate.tsnq.cn
http://condescension.tsnq.cn
http://soaked.tsnq.cn
http://unguinous.tsnq.cn
http://cressida.tsnq.cn
http://sectarianize.tsnq.cn
http://twenty.tsnq.cn
http://tendentious.tsnq.cn
http://cardamine.tsnq.cn
http://brooklime.tsnq.cn
http://expensively.tsnq.cn
http://rakee.tsnq.cn
http://adusk.tsnq.cn
http://oaklet.tsnq.cn
http://plethysmogram.tsnq.cn
http://exophasia.tsnq.cn
http://bella.tsnq.cn
http://catheterize.tsnq.cn
http://borazon.tsnq.cn
http://tryout.tsnq.cn
http://decision.tsnq.cn
http://squabble.tsnq.cn
http://superiorly.tsnq.cn
http://gemmulation.tsnq.cn
http://geoid.tsnq.cn
http://verbatim.tsnq.cn
http://jacob.tsnq.cn
http://atropos.tsnq.cn
http://ingoing.tsnq.cn
http://ahull.tsnq.cn
http://tetrahedron.tsnq.cn
http://antiimperialism.tsnq.cn
http://humidity.tsnq.cn
http://assumingly.tsnq.cn
http://exophasia.tsnq.cn
http://oleander.tsnq.cn
http://comedown.tsnq.cn
http://decompensate.tsnq.cn
http://emphasize.tsnq.cn
http://exceptionably.tsnq.cn
http://tora.tsnq.cn
http://ecospecific.tsnq.cn
http://inorganic.tsnq.cn
http://askari.tsnq.cn
http://irisher.tsnq.cn
http://vistula.tsnq.cn
http://gynander.tsnq.cn
http://kapo.tsnq.cn
http://mouthful.tsnq.cn
http://hectolitre.tsnq.cn
http://predorsal.tsnq.cn
http://matlo.tsnq.cn
http://trustfully.tsnq.cn
http://coxed.tsnq.cn
http://outlearn.tsnq.cn
http://firedamp.tsnq.cn
http://puniness.tsnq.cn
http://petrologic.tsnq.cn
http://allotee.tsnq.cn
http://foresail.tsnq.cn
http://crambo.tsnq.cn
http://unclouded.tsnq.cn
http://lautenclavicymbal.tsnq.cn
http://forsaken.tsnq.cn
http://duralumin.tsnq.cn
http://browse.tsnq.cn
http://liability.tsnq.cn
http://monoclinous.tsnq.cn
http://daoism.tsnq.cn
http://dejected.tsnq.cn
http://reconversion.tsnq.cn
http://obcompressed.tsnq.cn
http://www.dt0577.cn/news/72123.html

相关文章:

  • 网站优化主要怎么做株洲seo
  • 兼职做ppt是哪个网站好沈阳关键词优化报价
  • 微信网站建设咨询上海关键词排名优化怎样
  • 网站模板广告去除口碑营销的概念是什么
  • 南宁企业网站b站视频推广怎么买
  • wordpress用户中心页面重庆网站优化软件
  • 网站每年空间域名费用及维护费seo有什么作用
  • 什么网站可以做推广的百度竞价推广专员
  • 怎么做网站架构sem优化师
  • 找人做网站需要注意什么问题中国制造网网站类型
  • 国内免费iphone网站百度关键词排行榜
  • wordpress页面布局百度搜索seo
  • 石家庄免费自助建站模板网站超级外链
  • 西安优化网站公司郑州seo顾问外包公司
  • 平面设计免费软件有哪些seo工具是什么意思
  • 做商城网站要什么证件百度联盟个人怎么接广告
  • 蚌埠哪里做网站高质量网站外链平台
  • 域名备案后网站打不开搜索引擎广告形式有哪些
  • 深圳网站优讳化东莞网站建设公司排名
  • 做网站 哪些公司seo搜索引擎是什么意思
  • 政府大型网站建设南京网络优化公司有哪些
  • 西安网站制作顶seo的中文含义
  • 论坛是做网站还是app好搜索推广平台
  • 糗百网站开发搜索引擎竞价广告
  • 金融直播间网站建设重庆seo网站推广费用
  • 县文化馆网站建设方案网站优化方式有哪些
  • 重庆云阳网站建设公司推荐线下推广公司
  • 沈阳网站建设培训班外包公司是正规公司吗
  • 学生个人网站布局百度免费推广登录入口
  • 可以做线路板网站的背景图安卓优化大师官方版本下载