CXF 服务协助
我有一项提供给我的服务,基本上可以搜索未来合作伙伴的库存。他们发送的文件是编译后的 .jar 文件和 wsdl 文件。自述文件指出它可以与 XFire 或 CXF 一起使用。如何使用 Apache、Tomcat、Spring 或其他我需要执行的操作来设置此服务?这是一个相当广泛的问题,但我不知道在这里该怎么做。
I have a service that was given to me, that basically searches the inventory of a future partner. The file they sent is a compiled .jar file, and a wsdl file. The read me file states that it can be used with XFire or CXF. How do I set this service up using Apache, Tomcat, Spring, or whatever else I need to do? It's a fairly broad question, but I am at a loss as to what to do here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的选择如下:
站在你的立场上,我会选择#1。您可能有足够的精力来经营您的业务来了解编码的细节。
Your choices are as follows:
In your shoes, I'd opt for #1. You probably have enough on your plate running your business to learn the ins and outs of coding.
您获得的 jar 文件很可能实际上是生成的 java beans (jaxb) 和存根(jax ws 等)。因此,您应该能够在那里找到一个入口点类,并使用它来调用 Web 服务。但正如其他人建议的那样,很少有信息可以真正给出答案。 JaxWS 文档在这里 http://docs.oracle.com/javaee/ 5/tutorial/doc/bnayl.html
Most likely the jar file you got is actually the generated java beans (jaxb) and stubs (jax ws and the likes). So you should be able to figure our an entry point class there and use that to call the webservice. But as others suggested very little information to really give an answer. JaxWS docs are here http://docs.oracle.com/javaee/5/tutorial/doc/bnayl.html