简体   繁体   English

如何部署webService并获得对wsdl的访问权限?

[英]How to deploy webService and get access to wsdl?

I have got a webService without ui. 我有没有ui的webService。 It simple jax-ws app that will allow to manage users via soap requests. 这个简单的jax-ws应用程序将允许通过soap请求管理用户。 I tried to deploy it on websphere. 我试图将其部署在Websphere上。 It was deployed, But! 它被部署了,但是! my app doesn't appear in Service Providers and i can't get access to wsdl file via url that i pass in wsdlsoap:aderess location . 我的应用程序未出现在服务提供商中,并且我无法通过我在wsdlsoap:aderess location传递的URL访问wsdl文件。 It haven't got any servlets and other stuff. 它没有任何servlet和其他东西。 I create my app using template that deploy with success, it appear in Service Providers. 我使用成功部署的模板创建应用程序,该模板显示在服务提供商中。 I research all internet, but idk what go wrong. 我研究了所有互联网,但idk出了什么问题。

PS: Template project was eclipse project. PS:模板项目是Eclipse项目。 I just add maven and has no idea why it wouldn't work. 我只是添加了Maven,却不知道为什么它不起作用。

The fact that your web service hasn't appeared in the Service Providers section means you've deployed it the wrong way. 您的Web服务未出现在“服务提供商”部分中的事实意味着您以错误的方式部署了它。

  1. Check whether you've selected the "Deploy web-services" option during deployment. 检查在部署过程中是否选择了“部署Web服务”选项。
  2. You probably got an issue in your trace.log file which possibly references to the ffdc, check it to investigate the problem. 您的trace.log文件中可能存在一个问题,该问题可能引用了ffdc,请对其进行检查以调查问题。
  3. You also haven't mentioned if you using servlet or EJB-based web services. 如果您使用的是servlet或基于EJB的Web服务,也没有提到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM