Can someone please distinguish among websphere, web services, weblogic?
WMB,IIB : Websphere
AWS : Webservices
I have few Oracle application where java web services runs.
Please help me with this.
WebSphere - Stands for IBM WebSphere Application Server (WAS), which provides a runtime for Java Enterprise Edition applications.
WebLogic - Short for Oracle WebLogic Server, which is again a Java EE application server developed by Oracle.
Web Service - A standardized form of communication between multiple applications and systems, which uses open standards such as XML & SOAP.
For more information, see the following links:
WebSphere Application Server v9 at IBM Knowledge Center
Oracle WebLogic Server 12.2.1.2.0 Documentation
Web Services Tutorial at Tutorialspoint
Related
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.
I have installed wso2 application server on my lab server, the version used is wso2as-5.2.1.
I am experiencing that I can't deploy a .ear, but only a .war file. Could someone help me about?
WSO2 Application Server is not a fully Java EE compliant Application Container and as of now it supports majority of the Java EE Web Profile specifications. Please refer to http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition#Web_profile and https://docs.wso2.com/display/AS521/Java+EE+Support for more information. WSO2 App Server is not meant to become another Java EE compliant Server. Hence you cannot deploy Java Enterprise applications (EAR) files in WSO2 App Server. WSO2 Application Server has Web App deployment capability. Hence if you can implement your Java EE application as a Web Application (WAR) file and embed all the required Java EE framework Jar files in to the same Web Application, you will be able to run your Java EE application in the WSO2 App Server. More information on migrating from Java EE world to WSO2 is mentioned in http://wso2.com/whitepapers/evaluating-java-ee-application-migration-and-java-ee-service-migration-to-wso2-application-server/. Currently there is no other out of the box solution for this.
I have created a Web Service in Net Beans 6.9 and deploy it locally. And I am using it via a java SE application by adding Web Service client in this application. How to obtain the link of the Web Serice so that it can be used from anywhere ?
2) From where to obtain WSDL file of Web Service ?
3) How to host a Web Service on the internet ?
Thank a ton in advance..!!!
You could create a new project of type web application in Netbeans.
In the web application, you will then create a web service (NOT a web service client).
For publishing and testing the web application, you will have to deploy it to a web server (e.g. GlassFish).
After publishing the web application, the WSDL file will be typically located at: http://localhost:<port>/<your web app>/<your service>?wsdl
For GlassFish, the default port is 8080.
If your current Netbeans installation doesn't support web projects or you don't have GlassFish installed, I suggest you download and install the latest version of Netbeans with Java EE support (bundled Apache Tomcat and GlassFish server in the same setup).
http://netbeans.org/downloads/index.html
Hosting SOAP web services on the internet at large has not been terribly successful. For example Google had SOAP based web services initially, and they switched to REST based services in the end. You may want to reconsider and deploy a REST based interface. If the bulk of your code is not embedded in the web service, then you should not have that difficult of a time switching the interface.
To deploy a SOAP or a REST web service, you would need to deploy a 'full' Java EE container (e.g. Glassfissh or JBoss) on a machine with access to the internet. You might virtual hosting e.g. Westhost, Amazon, or there are turnkey solutions like Heroku (note: I'm not endorsing any of the companies listed here; they're just examples). If you just want to deploy a REST based service, any web container will do e.g. Tomcat or Jetty. In addition to services mentioned above you could probably host a rest web service on any service that will let you upload a war file.
I have a SOAP web service code (.asmx) created using VS.NET 2008 which I plan to host on a web server. I am unaware and completely new to the term 'hosting' . My question is whether there are any free and limited period web hosting services that offer me to host a .asmx web service having Microsoft SQL Server 2008 as backend. If yes, what should the approach be from my side ? Should I the upload the .asmx code or the entire VS.NET project ? I am working on localhost at present.
Thanks
This describes how to deploy ASMX web services:
http://msdn.microsoft.com/en-us/library/6x71sze4(v=VS.90).aspx
You'll need to find a web host that supports IIS and ASP.NET. I'm not aware of any free hosts that support server side scripts and SQL databases. One of the cheapest options that I've used in the past is GoDaddy, which should satisfy all your needs.
You can test locally if you install IIS 7, available through the web platform installer:
http://www.microsoft.com/web/downloads/platform.aspx
I'm new in symbian mobile applications. I'm developing webservices related application in this webservices using .net webservices (ksoap). How can connect webservices in j2me midlet application in symbian mobile.
You can download KSoap jar file from here. Look at the following articles for your reference.
Access Web services from wireless devices
Mobile Web Services with kSOAP
Look at this discussion, Ksoap / j2me / .Net Web Service.