JAX-RS web service in WSO2 ESB'a sample axis server - web-services

I wanted to know if we can create and host JAX-RS web service in WSO2ESB's sample axis2 server.
If yes can someone be kind enough to give me a link to a working example.
Thanks in advance!

i think it is possible,build the service and deploy that to sample axis2Server\repository\services folder

Related

How to determine if web services deployed correctly on websphere application server?

hey guys I'm a newbie at IBM websphere Application server and have a general question !
I'm trying to deploy an ear file which only has some ejb jar files(no wars) which cantains #webservice annotations to expose JAX-WS web services.
the ear structure is base on J2EE standard and it works on weblogic and glassfish as well, but when I deploy my ear on websphere 9.0 application server and try to test it's web services by SOAPUI tool I get 404 error repeatedly.
unfortunately I can't see my web services list in admin console or even their wsdl files.
Although my ear deployed successfuly and has started status at websphere application server console.
I dont know how to test it :( does it need any precondition?
these are my tested urls on address bar to see wsdl files but couldn't
http://localhost:9080/my-app-display-name/my-web-service-name.wsdl
http://localhost:8880/my-app-display-name/my-web-service-name.wsdl
See https://stackoverflow.com/a/23752121/5215049. This seems to be your case.
Enabling trace for JAX-WS should help you debug this issue.
Refer: https://www.ibm.com/developerworks/community/blogs/Dougclectica/entry/capturing_web_service_jax_ws_messages_in_websphere?lang=en for specific instructions on enabling JAX-WS trace logs in Websphere
Refer : https://www.ibm.com/support/knowledgecenter/en/SSAW57_9.0.0/com.ibm.websphere.nd.multiplatform.doc/ae/twbs_tracewbscomp.html for detailed instructions for tracing webservices in general.

Consume soap web service from Azure web app

I'm trying to consume a soap web service from an azure web app.
To do this I need to run a connectivity test through telnet to do this.
How would I go about doing this in Azure?
thanks
Chris
Unfortunately, Telnet client is not setup by default on Azure App Service.
It is not possible to install it as it requires elevated permissions.
My advice would be to develop a quick app, for example based on this kind of tool: https://github.com/mkozjak/node-telnet-client
Hope this helps,

Writing First Web Services with Spring

I am looking into writing my first web service with Spring. Can someone tell me of a good example on the internet.. I will be running this service in Jboss AS
I guess Spring's tutorial should be your first start point:
http://static.springsource.org/spring-ws/sites/2.0/reference/html/tutorial.html

Strategy to develop a web service in JAX WS

i'd like your help to designing a wb serice but I don't know how i can't do this.
In fact my application handles data management clients. My application is developped in struts 1.0, spring, weblogic and build-in maven.
He was asked to me to make an evolution because an external application need to access data such as displaying the address of the client or displaying data bank. For this, it was planned to create a web service to retrieve in real time.
I would like to know the strategy to use for designing a web service. Do I need to create a new Dynamite projet maven + JAX WS to my web service and deploy my war on my weblogic server?
Or they have something else to do ?
Thanks a lot !
I am not sure that this question is related to maven.
Adding a WebService (or RestService) could be quite easy with springframework and apache cxf (http://cxf.apache.org/)
see jaxws or jaxrs for more.
create web service in a two types but real time applications using jax-ws web services reason for consumer want to send data into provider.consumer can know the entire information about the provider by seeing its WSDL Document.

Consume web service through JSF application

I have a web service I want to consume it through JSF. I am a beginner in web service I googled it but not found any satisfactory answer can any one pls help.
I have a wsdl link what I need that only with the help of this wsdl file calls the exposed methods.
Thanks in advance.
Run wsimport tool on your WSDL file (or your WSDL link). It will generate client classes that you can use in your JSF application.
Look for the class that has method getPort() or getPort. It will return the object which is a web service proxy. You can call web service methods on it.
You'll find wsimport in you Java JDK bin directory.