需要帮助破译一个小的堆栈跟踪:我使用的是哪种 WS?
我正在尝试部署应用程序,但 Web 服务不可用。通过联系负责 Web 服务的团队,他们询问我是否使用 Axis 或 SpringWS 来访问他们的 Web 服务(显然在我的情况下没有其他选择)。这可以从以下(部分)堆栈跟踪中确定吗?
这是我得到的 Tomcat 日志:
INFO main @ jaxws.PlatosJaxWsPortProxyFactoryBean - 检索 wsdl 信息。 正在“http://www.xxxxxxxxxxxxxxx?wsdl”检索文档。 错误主要@utilities.WSDLAnalyzer - javax.wsdl.WSDLException:WSDLException:faultCode = OTHER_ERROR:无法解析“http://www.xxxxxxxxxxxx?wsdl”处导入的文档。:java.io.IOException:服务器返回HTTP响应代码: 503 表示 URL:http://www.xxxxxxxxxx?wsdl
I'm trying to deploy an application and I've got a webservice that is unavailable. By contacting the team responsible for the webservice, they're asking me if I'm using Axis or SpringWS to access their webservice (apparently in my case there's no other option). Can this be determined from the following (partial) stack trace ?
Here's the Tomcat log I got:
INFO main @ jaxws.PlatosJaxWsPortProxyFactoryBean - Retrieve of the wsdl informations.
Retrieving document at 'http://www.xxxxxxxxxxxxxxxx?wsdl'.
ERROR main @ utilities.WSDLAnalyzer - javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'http://www.xxxxxxxxxxxx?wsdl'.: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.xxxxxxxxxx?wsdl
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
两者都不是,根据您发布的信息判断您正在使用 GlassFish Metro。
Neither, judging by the info you posted you are using GlassFish Metro.
您正在使用 JAX-WS API 的某种实现,但错误并未指示是哪一个。
最有可能的是 Java6 内部附带的 JAX-WS 实现,但也可能是 Apache CXF 或 Metro 之类的东西。您的应用程序的类路径上有什么?
You're using some implementation of the JAX-WS API, but the error doesn't indicate which one.
Most likely it's the JAX-WS implementation that ships internally to Java6, but it could also be something like Apache CXF or Metro. What's on your application's classpath?
这两个是唯一的选择吗?
Google 表示它可能是一种名为 Petals Service Engine 的东西。
Are these two the only options?
Google says it might be something called Petals Service Engine.
您应该联系贵公司的 ISMS-ALSA 部门。顺便说一句,您不应该使用 Axis 或 Glassfish Metro!
ps:最好的答案应该分配给skaffman。
You should contact the ISMS-ALSA department of your company. And, by the way, you're not supposed to use Axis, nor Glassfish Metro!
p.s.: the best answer should rather be assigned to skaffman.