WSDD Syntax for specifying xsd:date java.util.Calendar mapping

2004-10-18 Thread Jeff Oh
I have an interface with a method that looks something like this: = public interface Foo { public boolean isBar( String fooName, java.util.Calendar startDate, java.util.Calendar endDate); } = I have successfully deployed an implementation of this interface by using a .wsdd file

Re: WSDD files for EJB web services

2004-10-18 Thread Peter Smith
> > My questions are: > > > > Q. When exposing an EJB as an axis web service do I have to always > > *manually* make the WSDD file or can I somehow make an appropriate > > one using wsdl2java. > > You can use XDoclet (xdoclet.sf.net) axis support to build your .wsdd > files from your source code ja

RE: WSDL2Java and deploy.wsdd

2004-10-18 Thread Nathan Wardle
Here's the template I'm using and ant target. = axis-wsdd.xdt = http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> http://schemas.xmlsoap.org/soap/encoding/"; qname="ns:

Re: WSDL2Java and deploy.wsdd

2004-10-18 Thread Dan Ciarniello
Nathan Wardle wrote: Hi Dan, I had similar problems because I wanted to use a custom provider. My solution was to not use WSDL2Java for the generation of server side code. Instead, I used XDoclet to generate the deploy.wsdd (well actually I just generated the server-config.wsdd for all services.

RE: WSDL2Java and deploy.wsdd

2004-10-18 Thread Nathan Wardle
Hi Dan, I had similar problems because I wanted to use a custom provider. My solution was to not use WSDL2Java for the generation of server side code. Instead, I used XDoclet to generate the deploy.wsdd (well actually I just generated the server-config.wsdd for all services. This works really w

Re: Sample code for (de)serializers?

2004-10-18 Thread Michael Schuerig
On Monday 18 October 2004 22:28, [EMAIL PROTECTED] wrote: > To see how to register see my email on Re: Bean > Serializer/Deserializer. For an example serializer you can even look > at the axis code. I have attached it. Thanks for your help! The (de)serialization is not my problem -- well, at lea

Re: axis-ant wsdl2java mappings

2004-10-18 Thread Digby
Got it - whatever's in the wsdl definitions/@targetNamespace, yes? Digby wrote: Hi, I can't understand what you're supposed to put into the axis-ant mapping namespace to get my own package names generated for classes by the wsdl2java task. This is what I have (using an test xmethods wdsl):

WSDL2Java and deploy.wsdd

2004-10-18 Thread Dan Ciarniello
When WSDL2Java generates server side code, it does not overwrite the binding implementation class which is a good thing. It does, however, overwrite the deploy.wsdd which is both good and bad. It's good because one wants one's code changes reflected in the wsdd. It's bad because any handlers

Re: Sample code for (de)serializers? (was: Generating a return value w/o using objects?)

2004-10-18 Thread Kirubakaran . Pakkirisamy
To see how to register see my email on Re: Bean Serializer/Deserializer. For an example serializer you can even look at the axis code. I have attached it. Regards, - kiru Michael Schuerig <[EMAIL PROTECTED]> 10/18/2004 12:24 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECT

re: how to ensure threads die off quickly when using the webservices

2004-10-18 Thread James Black
I have a stress test for my webservice, and the threads that are above the max limit on my Tomcat 5 server aren't dying off quickly. What can I do to tell the web container to kill off or recycle the threads, rather than creating new ones? Thanx. -- "Love is mutual self-giving that ends in self

axis-ant wsdl2java mappings

2004-10-18 Thread Digby
Hi, I can't understand what you're supposed to put into the axis-ant mapping namespace to get my own package names generated for classes by the wsdl2java task. This is what I have (using an test xmethods wdsl): http://www.xmethods.net/sd/CurrencyExchangeService.wsdl"; verbose="true">

Using TCPMon classes....

2004-10-18 Thread Ivan Aguirre
Hello Folks !!! I would like to make some tests on my WS in the following way: Intercepting the SOAP messeage before it reaches the server, working on it (retrieving some data, build some metrics and the like) and then send it back to the server I know part of this work (intercepting) i

Sample code for (de)serializers? (was: Generating a return value w/o using objects?)

2004-10-18 Thread Michael Schuerig
On Monday 18 October 2004 20:52, [EMAIL PROTECTED] wrote: > You could probably write Serialize/Deserializer yourself for the > ResultSet object. That's what I intend to do. I already have the code to convert a ResultSet to XML. Now it would be very helpful to have an example that shows how to w

Re: Generating a return value w/o using objects?

2004-10-18 Thread Kirubakaran . Pakkirisamy
You could probably write Serialize/Deserializer yourself for the ResultSet object. Actually, some database provide a way to retrieve the ResultSet as xml. Regards, - kiru Michael Schuerig <[EMAIL PROTECTED]> 10/18/2004 04:14 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTE

Re: Exception: No serializer found for class java.io.File in registry org.apache.axis.encoding.TypeMappingImpl@102b2b6

2004-10-18 Thread Kirubakaran . Pakkirisamy
You are using Java2WSDL that has a java.io.File  member variable. Define a class that has an array of say, MyLogFormat. eg public class MyType {         public MyLogFormat[]  log;   // you probably had  java.io.File here                public int somethingelse; } public class MyLogFormat {    

Re: BeanSerializer / BeanDeserializer

2004-10-18 Thread Kirubakaran . Pakkirisamy
The following code posted by Michael Binz could help you. -- START-- package .util; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.io.ByteArrayInputStream; import java.lang.reflect.Method;

RE: axis IPv6 support?

2004-10-18 Thread Samir Shaikh
Hi, JVM & servlet Engine and, Axis are all at the Application layer. While ipv6 is almost entirely to do with the Network Layer. So the JVM, servlet engine or, Axis doesn't really know or care. Thanks, Samir -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Satu

Can't add SOAPFault to an axis.message.SOAPEnvelope

2004-10-18 Thread Thomas Forrester
How do I add a SOAPFault to an org.apache.axis.message.SOAPEnvelope and then retrive it. Retreiving a SOAPBODY from the envelope like so: org.apache.axis.message.SOAPEnvelope.getBody() returns a javax.xml.soap.SOAPBody which is incompatable. Thanks Tom

Exception: No serializer found for class java.io.File in registry org.apache.axis.encoding.TypeMappingImpl@102b2b6

2004-10-18 Thread METIN ZAVRAK
Hi, I am trying to write a web service that will read error logs form the server and display it on the client side. While I  was trying to generate wsdl file using Java2WSDL tool, I received a warning saying that "using anyType in schema instead of java.io.File." I got the wsdl file and deploy m

BeanSerializer / BeanDeserializer

2004-10-18 Thread Laurent CORNELIS
Hi,   Can someone tell me how to use BeanSerializer / Deserializer out of the context of a message ? (ie to encode an object to XML and to parse XML for an object).   For the serialization I do :   ---   MyObject obj = new MyObj

Axis client library

2004-10-18 Thread Gries, Matthias
Hi all, is it possible to get a 'light' axis lib which contains only Java classes which are required to develop a webservice client? Regards Matthias -- Hausanschrift: T-Online International AG Mornewegstrasse 26-32 64293 Darmstadt Telefon: +49 6151 680 7653 E-Mail: [EMAIL PROTECTED] its-people

AW: Weird error message when using WSDL2JAVA generated classes

2004-10-18 Thread Ulrich Ackermann
Anne, Thank you very much for your response. It seems that you got it. I tried the first changes you suggested for the WSDL file and it worked immediatly. I informed the service developer and will let you now of his response if you are interested. Thanks again and regards, Ulrich -Ursprü

Re: Generating a return value w/o using objects?

2004-10-18 Thread Michael Schuerig
On Monday 18 October 2004 09:48, WAJSBERG Julien RD-BIZZ wrote: > Michael Schuerig a écrit : > >I'm still pretty new to web services in general and Axis in > > particular. I have a case, where I don't want to generate the value > > returned from a call not from objects. I have the ResultSet from a

Re: axis msql jdbc configuration help

2004-10-18 Thread Axel Burwitz
Yeo Wee Tat wrote: Hi Axel , Quote from Tomcat doc : The /context path/ of this web application, which is matched against the beginning of each request URI to select the appropriate web application for processing. All of the context paths within a particular Host

Nick Van den Bleeken is out of the office.

2004-10-18 Thread Nick_Van_den_Bleeken
I will be out of the office starting 18/10/2004 and will not return until 24/10/2004. I will respond to your message when I return.

Re: axis msql jdbc configuration help

2004-10-18 Thread Yeo Wee Tat
Hi Axel , Quote from Tomcat doc : The /context path/ of this web application, which is matched against the beginning of each request URI to select the appropriate web application for processing. All of the context paths within a particular Host

Re: WSDD files for EJB web services

2004-10-18 Thread Adrian Perez Jorge
Hi, My questions are: Q. When exposing an EJB as an axis web service do I have to always *manually* make the WSDD file or can I somehow make an appropriate one using wsdl2java. You can use XDoclet (xdoclet.sf.net) axis support to build your .wsdd files from your source code javadoc-like commen

Re: Generating a return value w/o using objects?

2004-10-18 Thread WAJSBERG Julien RD-BIZZ
Michael Schuerig a écrit : I'm still pretty new to web services in general and Axis in particular. I have a case, where I don't want to generate the value returned from a call not from objects. I have the ResultSet from a database query and would like to avoid first binding its rows to objects w

axis msql jdbc configuration help

2004-10-18 Thread Axel Burwitz
Hi, I am a beginner in Axis and need some help, because in spite of all Tomcat doc reading, googling, trying: I can't work it out: I have a small Java WebService with usage of Axis programmed/installed/deployed/tested, and it works. Fine. But now, I want to use my MySQL Database with JDBC as in