I have some assignments where i have to make a Ajax call to run the server. I used Eclipse and create my local host using Apache tomcat when i start to create a dynamic project an error message comes telling me:
it doesn't allow me to create dynamic project.
if someone here know the answer .It would be great
Related
I have got a webService without ui. It simple jax-ws app that will allow to manage users via soap requests. I tried to deploy it on websphere. It was deployed, But! my app doesn't appear in Service Providers and i can't get access to wsdl file via url that i pass in wsdlsoap:aderess location. It haven't got any servlets and other stuff. I create my app using template that deploy with success, it appear in Service Providers. I research all internet, but idk what go wrong.
P.S: Template project was eclipse project. I just add maven and has no idea why it wouldn't work.
The fact that your web service hasn't appeared in the Service Providers section means you've deployed it the wrong way.
Check whether you've selected the "Deploy web-services" option during deployment.
You probably got an issue in your trace.log file which possibly references to the ffdc, check it to investigate the problem.
You also haven't mentioned if you using servlet or EJB-based web services.
I followed this tutorial -documentation about Liferay Web service.
I runned Lifaray on tomcat
If I use http://localhost:8080/api/axis/Portal_UserService?wsdl by browser I have a response.
When I create a webService Client on Eclipse and I put this url http://localhost:8080/api/axis/Portal_UserService?wsdl in the Service Definition...
but I have this error message:
No server can be found and WebServiceProject does not exist. Choose an existing project or use the preferences to configure a server runtime.
Why?
create dynamic web project and configure a server then add wsdl .
This does not mean that the server (e.g. Liferay) can't be found but notifies you that Eclipse doesn't know where to put/how to configure the resulting WebService: It needs a server runtime and a WebServiceProject - e.g. you can create a WebServiceClient inside a project - if no suitable project exists, eclipse will complain.
So: Everything is fine on the Liferay side. You'll need infrastructure in your IDE to be able to go forward with this operation
I could not find any solution to this, for some reason Eclipse didn't recognize a valid wsdl. I downloaded a trial version of IntelliJ IDEA 13 Ultimate and setup the Web Service Client through there. Everything worked properly.
I have create one simple web service and I deploy it to the axis2 web application based on this tutorial
After creating my service, I am able to deploy it to the server and I can see the WSDL file by this url: localhost:8084/axis2/services/HelloAxisWorld?wsdl
Now, I want to call this service by an independent java application. I found some pieces of code that makes the invocation, but I am facing problems because I suppose that I don't include the proper libraries in my project.
Does anybody knows an example to call the web service by using axis2?
A simple Google for 'axis2 client tutorial' gives me this. It covers setting up your classpath properly, generating java from the WSDL via wsdl2java, and developing the client from this.
Hi Java web service experts,
I am working on a web service project. My goal is to create a client java program to consume the vendor web service and deliver a data file. I am at the part where I am able to generate the proxy classes from the vendor wsdl document through JDeveloper. Now I start to work to create the java stand alone client application. My issue is I am not able to debug or run my java program because of this following error. I think it has to do with the imported vendor.xml document in Jdeveloper but I am not sure. Below is the error
The target vendor.xml cannot be started because it is not a runnable
target. The target run cannot be started because it does not exist.
I've researched into this issue but not much information came up after all. I am new to this web service and would appreciated all the help.
Thank you for responding to my question. To answer the question, the vendor.xml document generated by Jdeveloper together with other skeleton classes. I try to compile or run a very simple java client program that I built just to test out if it compiles or run properly and I get that error. It points to the vendor xml document and says that it cannot run or start because it does not exist.
I used SOAPUI to call a web service and generate the axis2 java code. My question is how would I go about compiling and running this application as I get error after error when I try to compile it. There are so many external libraries that I am having to add manually. How would I go about getting my program running.
What error messages are you getting when you are compiling it? Need a lot more info to work it out, i was havign problems with SOAP using JAX-WS and it turned out to be the network configuration.
Are you running locally or remotely?
-ben