Been searching the web and still not understanding why it's not working. On the server side, I can see that the MessageElement[] _any is created in the classes. When loading the wsdl (client), it doesn't show in the wsdl. Once deployed and the client downloads and generates the classes, it creates it as JAXBElement. Am I not deploying the server-config.wsdd file properly? or am I missing something. Thanks in advance.
I'm somewhat newbie here in trying to understand synchronization and threads. Here is an example of what I'm doing and want to get some inputs to see if that makes sense.
Thanks for the reply Paul. However, you did provide some some info. However, I'm using applets. When using applets, it's using the Canvas and drawing using the mouseEvent is collected with the double xy coordinates. What's strange is that there's no info to be found on the web on how to save that canvas drawing into a jpeg, gif, or even a tiff. Any other help would be greatly appreciated.
When drawing, I get a string of x and y coordinates. How can I take these coordinates and draw them out and save as an image. I can write a servlet to take the string. Just need to know how to repaint and save that image.
Hi, newbie to applets. Apologize in advance. I have an applet that does the basic drawing. I'm able to get the x/y coordinates. How do I get this into a BufferedImage and convert into a TIFF file. I noticed ImageIO doesn't support TIFF so my options are JAI.
Actually, I was able to deploy and generate the wsdl. however, when I use the wsdl2java tool to generate the java class files, it doesn't seem to be generating the MyArrayObjects classes. I would expect it generate class files for MyArray1Type objects and MyArrayObjects. Or a way for me to do something like:
thks for the reply. Yes, it does compile. I was able to wsdl2java it and it only creates the classes for the "MyArrayObjects". Meaning I was able to doing something like: This would only create something like:
sorry, just made changes to clarify the opening and closing of the braces so it's more understandable. I also tried doing it like the following with no luck. getting the same error as #2.
hi, i'm a bit confused with thread in servlets. i'm trying to run a background process with a while(true) loop and sleep 2mins each time. The idea is that the thread would retrieve a url (ie stock quotes). Each time a request comes thru on doGet, they would automatically have an updated quote. I also looked at the isPrime example. Is that the proper way of accomplishing this task or should i be taking a different approach?
example 1:
public class PrimeSearcher extends HttpServlet implements Runnable
// kick off in init
public void getQuotes()
example 2:
public class extends HttpServlet
// kick off the getQuotes thread in init
class getQuotes implements Runnable