|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
deploy wsdl and get to it from webappI've created a war file for my web service. The web service is working fine.
But I'd like to be able to get to wsdl from a web browser. That is, I want to: http://localhost:8080/MyApp/my-service?wsdl And get back the wsdl. I can't find any examples. How do I deploy wsdl? Where does the wsdl file go in webapp, and how should it be named? Do I have to add an entry in the web.xml or the my-service.xml? Please advise. Thanks, Jim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-users mailing list jibx-users@... https://lists.sourceforge.net/lists/listinfo/jibx-users |
|
|
Re: deploy wsdl and get to it from webapp
Hi Jim
Which web service framework are you using? JiBX/WS, Axis, ...? I'm guessing you're using JiBX/WS with Spring. JiBX/WS does not currently expose WSDL, but there are plans to do so using the updated schema generation utilities that Dennis has been working on. It sounds like you already have a WSDL file, so wouldn't need schema generation. This should be an easy addition to make to JiBX/WS, possibly for the upcoming v0.9.1. Do you have any specific needs for publishing the WSDL - eg. rewriting the service location? In the meantime, if you want to implement this feature with v0.9, you'll need to create a custom servlet that extends WsSpringServlet. cheers, nigel. jmpgate-tech@... wrote: I've created a war file for my web service. The web service is working fine. But I'd like to be able to get to wsdl from a web browser. That is, I want to: http://localhost:8080/MyApp/my-service?wsdl And get back the wsdl. I can't find any examples. How do I deploy wsdl? Where does the wsdl file go in webapp, and how should it be named? Do I have to add an entry in the web.xml or the my-service.xml? Please advise. Thanks, Jim ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-users mailing list jibx-users@... https://lists.sourceforge.net/lists/listinfo/jibx-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-users mailing list jibx-users@... https://lists.sourceforge.net/lists/listinfo/jibx-users |
|
|
|
|
|
Re: deploy wsdl and get to it from webapp
jmpgate-tech@... wrote:
At this point, using jibx-ws, by itself. However, I have used Spring for a web application before. Does spring-framework have something web service centric, that I should be looking at?Spring Framework does have Spring/WS, which can also be configured to use JiBX. Spring/WS and Axis both offer more complete web services stacks than JiBX/WS, which aims to handle simple web services easily, and with great performance. While JiBX/WS ships with basic Spring support (using the WsSpringServlet + Spring config), you can also use it without (via the WsServlet + JiBX/WS Service Definition). I was meaning dynamic generation of WSDL by JiBX/WS (basically building jibx2wsdl into JiBX/WS). If you don't need your WSDL exposed via the web service, you could give him the WSDL out-of-band. Look at WsServlet since you're not using the Spring support. correct. I'll see if I can add something basic like this to 0.9.1, with more complete WSDL support in a later release.Thinking about jibx-ws current servlet implementation, it's apparent that doPost method is implemented but not doGet. Current thinking is: Inside the doGet should confirm the 'wsdl' url parameter was passed, then via init-parameter look for a wsdl file with same name and if found stream it's contents to response out. nigel. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ jibx-users mailing list jibx-users@... https://lists.sourceforge.net/lists/listinfo/jibx-users |
| Free embeddable forum powered by Nabble | Forum Help |