Grails App using CXF plugin deployed in Tomcat - web-services

I am trying to deploy my Grails app, using the CXF plugin to expose some web services in Tomcat. In development mode all goes fine, but i can not acces those web service when i deploy the app in Tomcat.
If a try to navigate to this address app-name/services i get a list of all web services exposed, but if i try to see some of the wsdl of this webservices i get a 500 Internal error.
I tried to copy all the CXF jar to the lib folder in Tomcat, but no make any difference.
¿Some help? ¿Someone has the same problem?

Well, for some reason the app was not dynamically generating the 'wsdl' in production enviroment. To partially solve this problem i wrap the 'wsdl' with the 'war'.

Related

ember deployed on tomcat using hash

I am new to the Ember web application. I have to build the Ember app on the tomcat server. Before, I was using JSP for the client-side and made tomcat form-based authentication. Now, I am having the Ember app int the client-side and I build ember on tomcat. But, I don't know how to do tomcat authentication. Because I am using location type is 'HASH'. # is the fragment that can't handle by the server. Can you please help me to do this?

How to deploy the Loopback in Weblogic server? Need simple explanation

I am new to development. i created a small loop back application for my rest services.
its working fine in local .
I don't know how to deploy it the weblogic server. please advise step by step process for deployment.
FYI for Angular deployment we are using maven process to convert it war file
is any similar process available?
It is not possible to run a loopback application inside a weblogic server. Loopback needs node.js runtime server to run, whereas weblogic only supports Java/J2EE applications.

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.

Apache Axis2 Webservice in regular shared hosting service

I developed a webservice in java with Axis2, and now I need to put it online.
In order to do it I signed a shared hosting service, but as I am not familiar with this kind o stuff, I don´t really know how to do it.
It´s a regular shared hosting service, is runs on Apache Tomcat, but I only have access to my home folder, public_html this kinda stuff.
Can I run my webservice by deploying it and putting it into public_html?
Do I have to deploy it in some way as to add Axis2 files to it, to make it work?
Any help will be much appreciated,
Lucas
You need to find a way to deploy .war files. In this case you have to use the Axis2 .war distribution and deploy it in your service hosting environment.
Normally you are given public_html folders in the hosting environments created by appche httpd where you can only deploy html pages. You need to clarify this with your service hosting provider.
You can use WSO2 Stratos live[1] for this kind of purposes. This article[2] describes how to deploy the axis2.war in stratos live.
In fact WSO2 application server[3] is specially written to deploy axis2 artifacts. So even without deploying axis2.war you can directly upload your service as well.
[1] https://stratoslive.wso2.com/home/index.html
[2] http://wso2.org/library/knowledge-base/2011/08/run-apache-axis2-webapp-wso2-cloud-0
[3] https://appserver.stratoslive.wso2.com/home/index.html

Web Services with Netbeans

After having done a web service with netbeans and having tested it. What is it that I should upload to the server so I can use it? I have been going around tutorials but none (of the ones I've found) say what to upload. They just finish when you deploy the web service =/.
Right, you'll package it as a WAR file and deploy that to the app server. A WAR file is what you need.
How you deploy depends on your situation and your app server. If you're using Tomcat, you can either put the WAR in the /webapps directory or use the admin console to deploy.
If you're using a hosting service, you'll have to ask them how to do it.