web service « J2EE « JSP-Servlet Q&A





1. Ajax and Java    stackoverflow.com

I have backend code written in Java. The code has about 12 classes. However my partner on this project who is writing the interface (which uses Ajax) is more familiar with ...

2. XQuery as alternative to JSP/Java for web services?    stackoverflow.com

I noticed that DataLogic (or is it MarkLogic?) and SqlServer 2005 both support xquery for RDBMS access and (seem to; haven't tried this myself yet) offer xquery inside JSP/ASP. That leads me ...

3. Configuring web.xml for webservices and servlet    stackoverflow.com

I am new to Restlets. Trying to configure the web.xml (on JBoss). I have 2 entries, one for a servlet (got nothing to do with webservices) other for webservices, using Restlet. ...

4. Calling a VB.NET web service with Java    stackoverflow.com

What is the best solution (if any) for calling a vb.net web service with Java / JSP? If anyone could point me to any examples / references I would very much ...

5. how to use a webservice which created on c#t at java platform    stackoverflow.com

Previous developers created a webproject which consumes a webservice in .net platform and they wanted me to use this webservice on jsp. I read netbeans tutorials and find out that ...

6. How to create web services in JSP?    stackoverflow.com

How to create web services in JSP?

7. return a pdf in browser from web service    stackoverflow.com

i am relative new in java development.. I want to create a web service (jax-ws)/web application that will receive some input and generate pdf, and then open the pdf in the browser. ...

8. SoapHandler not called after WS operation is executed    stackoverflow.com

I have a servlet that also consumes SOAP WS (in doGet). I want to see SOAP envelope (or anything else in soap message). I adddd this code to my servlet class:

class ...

9. Can we invoke a servlet inside a webservice method    stackoverflow.com

I have a webservice method

  @WebMethod
 public void getCapturedImages(String image)
 System.out.println(" image " + image);
 }
And my servlet class is :
   public class GetWebApplicationPathServlet extends HttpServlet {
private ...





10. how do i run java web service between two diffrent computer using netbeans ide    stackoverflow.com

i want deploy web service provider in one system and consumer in other system and system is connected through lan. so could anybody please give me the plan to set up ...

11. How to write a web service function in jsp?    stackoverflow.com

I am new in web service will need to write a web service function in java(jsp). how can I do this?Help me please!

12. javax.xml.ws.WebServiceException: Unable to create JAXBContext    stackoverflow.com

I have 3 Webservices which is created with netbean 6.9 when I working on my computer at work, it run smoothly with no error. However, When I copy the netbean project to ...

13. How to notify a java app out of web service deployed as a servlet    stackoverflow.com

I am experimenting with Web Service in Java.

I have an embedded Jetty web server which is running a web service deployed as a servlet on my local computer. so far everything ...

14. Would you execute certain tasks in- or outside the servlets in a webservice?    stackoverflow.com

Say your servlet exposes functionality to a public user to resend his password through e-mail, for example. Would you execute this request:

  1. in a separate thread in the servlet itself, or
  2. outside the ...

15. How to call a web service from a jsp    bytes.com

Hi, I want to call a webservice hosted at the URL - "http://localhost:8080/myService/services/Echo" from a jsp. "add" is an operation provided by the web service. It takes two integer parameters as ...

16. accessing web service in jsp    forums.netbeans.org

Posted: Thu Jul 08, 2010 6:24 pm Post subject: accessing web service in jsp I am a newbee in jsp development and I am using Netbeans IDE 6.9 ...





17. JAXM Servlet fails    coderanch.com

18. trying to access xindice from servlet in JWSDP1.2    coderanch.com

Hi, We build a Webservice with JWSDP which should store incoming xml data in the xindice database included in the JWSDP1.2. Trying to create a new collection, Tomcat hangs when we try to get the connection manager instance. CollectionManager service = (CollectionManager) collection.getService("CollectionManager", "1.0); Tomcat even hangs when we try to get the services collection with Service[] service = collection.getServices(); regards ...

19. accessing web service through a jsp/html    coderanch.com

hey i need some help! ( this is related to the calculator example given with axis! - As the name implies it has two methods add and subtract. A client can access this web service given the arguments at the command line) Question --------- suppose u have a web page in which u have a form, where u need to enter ...

21. publish a Servlet as an SOA implementation?    coderanch.com

First of all, I would refactor everything you can out of the servlet and into a plain old Java class, a business object. Then, you could create a web service which uses the new Java class directly and translates your custom interfaces to standard data types or use a document-style web service where you specify your custom XML input and output ...

22. webservice using servlet    coderanch.com

23. HELP: JSP calling Web Services    coderanch.com

Hi, I'm new to webservices. I'm currently running Apache Tomcat 4.1 with Axis on FreeBSD to deploy my web services. Right now I'm using *.jws files to deploy and have successfully generated stubs for my code. I have also created a client to call my webservice. All this works fine when invoking the web service client from command line, however, the ...

24. can I use web service for common servlet web application ?    coderanch.com

People expose "business action classes" as web services if there is a need to let other people access them directly. It would be entirely reasonable to have the same basic functionality exposed as both HTML/servlet/jsp web pages and as XML based web services. Thats what Google and Amazon do after all. Bill

25. WebService Vs Servlet    coderanch.com

27. Invoking a servlet from a web service    coderanch.com

I'm far from an expert on this, but this is my understanding of the situation: Web service calls are inherently stateless, and there is as yet no (commonly implemented) standard for pushing sessions across Web services, or linking them to session beans. So, you will either have to invent a mechanism for this yourself, or make your session bean stateless. I'd ...

28. JSP in Internet explorer    coderanch.com

29. invoking a web service from a jsp ?    coderanch.com

30. calling a web services from a jsp    coderanch.com

31. is it possible to make a servlet to a webservice?    coderanch.com

In above I mentioned that there is a website which takes input parameters of user information and that servlet stores that information in database. Here I would like to this manual process of entering data automatically by calling a webservice. Here I have 2 options one is rewrite servlet as a stand alone java class and convert it into webservice other ...

32. Invoking WebService from a Servlet    coderanch.com

Hi, I kind of realised after I just put the jaxb generated client artifacts in the classes folder of the war file. But I was a little confused with an example in the Richard Monson book abt the jax-rpc 1.1 style with the generated stub model where he was actually giving jndi references to the services being invoked. Though I am ...

33. Invoking a webservice from a servlet    coderanch.com

34. Replace Servlet by Web Service    coderanch.com

Here's the current scenario... We have a servlet which receives params like account number, check number and responds by displaying a check image We use certs for authentication, over a T1 line Future Suggested Scenario : Replace the servlet by a Web Service and remove the t1 line Issue is that the customer will not make any modifications to the way ...

35. access WS from a JSP    coderanch.com

Hi all I receive an error while I'm trying to access a secured webservice from a JSP. The WS is secured with Tivoli Access Manager and it has a WebSEAL proxy server in front of it that manage the authentication mechanism. I builded a WS client and I invoke a WS function receiving the following error: Error 500: org.xml.sax.SAXException: Can't find ...

36. How to invoke a webservice in .net from servlet application    coderanch.com

Abhishek, You dont have to worry about how(which language) the web services server implemented. call methods in your servelet-client as if the server is implemented in Java.. If you use Axis Engine then here is how you make calls to a service.. try { String endpoint = "http://someaddress/svq/services/TheServicename?wsdl"; Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress( new java.net.URL(endpoint) ...

37. JSP access to web service sunctionality    coderanch.com

Hello all and thanks for reading this post. I am relatively new to web services and I have what may be a simple question. I would like to access some functionality within a web service that I am going to expose. It is a simple set of document functionality (insert, delete, search, etc) and can be either used as a web ...

38. Invoke .Net web service from JSP    coderanch.com

39. Servlet as a Facade for Webapp    coderanch.com

40. Create web service for Jdev servlet    coderanch.com

42. JSP using .asmx web services, How?    coderanch.com

I think you are trying to do too much at one step, a common problem for beginners. First you should work on creating a Java class that can access that web service and interpret the results. Just a plain Java class taking input from the command line and writing to System.out. If you make that class compatible with JavaBean conventions it ...

43. Pagination via web service call    coderanch.com

Hi All, I have to implement a slightly modified version of pagination than used normally. Our requirement is just to show a Previous & Next link. We fetch our records through a web service call. So what we get in return is a list of records plus an identifier which can be used to get the next list of records. This ...

44. Servlet vs Web Service    coderanch.com

45. difference between webservice and servlet    coderanch.com

A servlet can be a webservice. A servlet simply waits for an HTTP request and responds to it. A Web Service request is a particular type of HTTP request, It is usually a post request that sends XML. The webservice (which can be a servlet) responds by sending some XML back. As long as the framework on each end understands the ...

46. How to write as servlet as webservice?    coderanch.com

48. Servlets vs Web Services    coderanch.com

49. Exposng Servlet as Webservice    coderanch.com

51. Web Service Declared as Servlet ?    coderanch.com

Hello Moose-Wranglers, I am new to Web services so it just seems strange that a Web Service interface needs to be declared as a Servlet in a web.xml file. The fact that the Interface does not even import the servlet classes and does not contain the line about extending HTTPServlet is even more surprising. The Web Service in question does indeed ...

52. optimize web service    coderanch.com

54. What is the difference between servlet and webservice.    coderanch.com

Hi Guys, In one of my interview,interviewer asked me what is the diference between servlet and RESTful webservice. I said webservice internally uses servlet. Then he asked why do i need to go for webservlet instead of sevlet. I said webservice return xml.so webservice can interact with other application like Dot Net,perl. He said he can do the same in servlet. ...

55. diff b/w servlets and webservices    coderanch.com

56. loadbancing through jsp/servlets without mod_jk    coderanch.com

Hai, Iam using Apache server2.2.14 on windows platform, For that server iam using 2 Apache tomcat 6.0.20 one is on C drive another one is on E drive. For load balancing iam using mod_jk, for my academic project, I want to develop a module like mod_jk to load balance those 2 tomcats by Apache server using java & j2EE. Please let ...

61. Creating a Wap site that calls java services(servlets)    coderanch.com

My team has currently set up a website (php and javascript) that utilizes a java backend. Our client needs an implementation of this for wap, because they want the service applicable for old phones. I have no idea how to set up a wap server and what I need to install. I think it is possible with tomcat 6. Unfortunately I ...

66. servlet and webservice    java-forums.org

67. make simple web service    java-forums.org

68. WEB Services and JSP's    forums.oracle.com

71. Consuming a Web Service using JSP and servlet    forums.oracle.com

72. Calling a webservice from java/jsp    forums.oracle.com

I thought the implementation language of the webservice is entirely irrelevant? I thought that's the good thing about webservices. So access it like any other webservice using SOAP... By the way, if you call it from a JSP, don't ever dare to show me your code because I want to keep my breakfast. JSP is display, nothing else - no data ...