Current setup -> We have a web service app deployed in Websphere 6.1 and works normally.
Problem -> Does not work when the app is compiled using Websphere 8.5 JRE and then deployed in Websphere 8.5
The odd thing -> When app is compiled using Websphere 6.1 JRE and then deployed in Websphere 8.5 , it works.
The runtime used to generate the web service - Apache Axis
What we want to have is compile it in Websphere 8.5 JRE then deploy it in Websphere 8.5 but we cant get this to work. What seems to be the problem? I was thinking of just re-creating the web service using the new JAX-WS style using annotations, but the problem there is impact on the source codes of the clients....so its not an option as of now. Only option is no code change and get it to work in Websphere 8.5
Any help would be appreciated. Thanks :)
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'm trying to run WSO2UES (Carbon) as a web application in Apache Tomcat. I've followed the procedure discussed at http://pradeepfernando.blogspot.com/2012/09/running-wso2-carbon-as-web-app-apache.html.
I've added the web application folders into Tomcat webapps folder, configured HTTPS listener of Tomcat. Server logs show that application is successfully deployed and OSGI console is started. When I try to connect to application from https://myIp.com:8443/crbn/carbon, I get a 404 error. There are no exceptions in server logs.
Tomcat error screen contains reference to BridgeServlet: /crbn/carbon, so I know that request is correctly forwarded to BridgeServlet. I guess BridgeServlet can not locate and run the application from OSGI bundles. But I do not have any idea about why and how I can fix it.
How can I diagnose the problem, or is there any available source of information for the correct procedure?
Note: I'm using WSO2UES 1.0, Apache Tomcat 7.0.40. I've tried Java versions 6 and 7.
WSO2 UES 1.0 is based on carbon 4.1.0. AFAIK they are not officially support on web app mode.
can wso2 carbon 4.1 run as a web app (war)?
previous architecture handled using a concept called “Bridge Servlet”, so if you want to run it as previous you have to do some customized work.
here is a article on architecture difference on carbon latest.
http://wso2.com/library/articles/2014/01/understanding-wso2-carbon-architecture/
I just installed Rational application developer (RAD) 7.5. I am trying to create a web service in RAD 7.5 using WAS 6.1 but when trying to create the service it's giving me a message that:
"The project is targeted against a server without IBM WebSphere JAX-WS support. Continuing code generation will result in compilation errors.".
I tried installing feature packs for Web services but not able to do so.
I was able to easily create the Web service in RAD 7.0 with same WAS 6.1.
Please help in how to procees from here.
I have a WSO2 Application Server, version 5.0.1 installed on my local machine.
I created a JAX-RS service and tested it locally.
The WAR file was built and deployed to the local Application Server successfully. When I log in to the local Application server Admin console, I see it displayed under Applications as type JaxWebApp with 'Find Services' listed under the Actions column.
I have a StratosLive subscription and I am trying to ADD/UPLOAD this JAX-RS service as a WAR file to the StratosLive Application Server. The Admin Console for the StratosLive Application Server is different. On the Main tab, It displays Web Applications and Web Services rather than the Applications and Services on the Admin console for the 5.0.1 Application Server I am running locally.
Consequently, I do not see an option to ADD/UPLOAD my JAX-RS service as a WAR file. The only option is to add a Web Application WAR file (I tried this and it does not work properly - thinks it's a web app) or JAX-WS Web Service as a annotated JAR file.
It looks like the StratosLive Application Server I am using may be a different version (earlier maybe) than the 5.0.1 I am using locally.
Has anyone else been able to ADD/UPLOAD a JAX-RS service to a StratosLive Application Server?
Usually it takes small time to upgrade StratosLive version of a product to latest standalone product version. Now StratosLive has been upgraded to latest Application Server version and you should able to run above use case on StratosLive without any issue.
I have a webservice running on Tomcat 6 in this address http://localhost8080/testservice, now i want to deploy it to Servicemix 4.3
Anyone knows a simple tutorial, on how to call this webservice from Servicemix 4.3?
here are a few links to help you get started with this...
first, a guide to creating/deploying/testing a web service in Servicemix and a link to an example that ships with servicemix...
http://servicemix.apache.org/4-beginner-web-services-with-servicemix-and-cxf.html
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/samples/wsdl-first/README.txt
next, here is a guide to generating a cxf code-first OSGI bundle
http://fusesource.com/docs/esb/4.2/deploy_osgi/DeployCxf-Running.html
finally, you can also use Apache Camel to interface with web services...
http://camel.apache.org/cxf-bean-component.html
http://camel.apache.org/how-to-run-camel-in-a-osgi-container.html