RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
So after I use Java2WSDL to generate the wsdl, I can just manually edit the wsdl and change the property to nillable=false and then run wsdl2java to generate the java stub code and this will require that the element be sent assuming it is fixed in axis. From: Sheptunov, Bogdan

Re: maintaining a database connection pool or a socket connection pool

2004-12-14 Thread Joe Plautz
In tomcat's documentation you can find all that you need for connection pooling. I don't know of any restrictions on pools, but I have at least 10 going right now. look here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Joe METIN ZAVRAK wrote: Hi, Is there

RE: data validation

2004-12-14 Thread THOMAS, JAI [AG-Contractor/1000]
Can't you add a client side handler to do that? Jai -Original Message-From: Jairam, Roopnaraine [mailto:[EMAIL PROTECTED]Sent: Tuesday, December 14, 2004 9:02 AMTo: [EMAIL PROTECTED]Subject: RE: data validation Does anyone know how to do this???

Re: Re: Is JAX-RPC really not capable of processing complex data types? Whatabout the AXIS implementation?

2004-12-14 Thread Roland Beuker
Thanks, Is it not true that JAX-RPC cannot handle complex types (like the story below) or has Axis an extension for this functionality (as Axis is a JAX-RPC implementation)? Regards, Roland Beuker ANDREW MICONE wrote: Axis is fully capable of serializing and deserializing complex types. -- Andy

RE: data validation

2004-12-14 Thread tony . q . weddle
If that doesn't work, there are two other possibilities. Use a custom serializer for the type. If there are invalid properties, throw a runtime exception in the serialize() method. Or write a handler that you configure into the request chain on the client. The handler would have to examine

RE: data validation

2004-12-14 Thread Sheptunov, Bogdan
Yes, this is my understanding of how this was supposed to work. -Original Message-From: Jairam, Roopnaraine [mailto:[EMAIL PROTECTED]Sent: Tuesday, December 14, 2004 9:27 AMTo: [EMAIL PROTECTED]Subject: RE: data validation So after I use Java2WSDL to generate the

RE: .NET client

2004-12-14 Thread Sagar Pidaparthi
OK here is the service code. I shortened my service name earlier. It is actually SecurityMgrBeanClientAgentWrapper. The method that I need is authenticate. WSDD is given below. Thanks for your help regards Sagar __JAVA

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
Do you know how to use a custom serializer From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 10:46 AM To: [EMAIL PROTECTED] Subject: RE: data validation If that doesn't work, there are two other possibilities. Use a custom serializer for

RE: Re: Is JAX-RPC really not capable of processing complex data types? Whatabout the AXIS implementation?

2004-12-14 Thread Sagar Pidaparthi
Roland, Axis handles complex types as mentioned by Andy below. regards Sagar From: Roland Beuker [mailto:[EMAIL PROTECTED] Sent: Sun 11/14/2004 8:17 AM To: [EMAIL PROTECTED] Subject: Re: Re: Is JAX-RPC really not capable of processing complex data types?

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
I tried this and deployed it but the wsdl on the server still has the elements as when I view the wsdl element name=address1 nillable=true type=xsd:string / From: Sheptunov, Bogdan [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 10:48 AM To:

maintaining a database connection pool or a socket connection pool

2004-12-14 Thread METIN ZAVRAK
Hi, Is there a way to maintain a database connection pool or a socket connection pool within Axis? I am developing a GUI which is dummy and don't know what to do except how to connect web service. The web service, gets the parameters and connects to a database and runs queries on tables,

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
Do you know how to use a custom serializer From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 10:46 AM To: [EMAIL PROTECTED] Subject: RE: data validation If that doesn't work, there are two other possibilities. Use a custom serializer for

Question on user exception handling on autogenerated clients

2004-12-14 Thread Michael Merz
Bcc: [EMAIL PROTECTED] I'm autogenerating my clients using the wsdl2java ant task. It's working really well. One question regarding exception handling, though: When the server throws a custom exception (subclass of java.lang.Exception), how does the autogenerated client propagate the results in

RE: data validation

2004-12-14 Thread THOMAS, JAI [AG-Contractor/1000]
You are right, that assumes you have control over client code. If you want to restrict nulls and do not want server code to validate it, I guess wsdlwould bethe only option. Jai -Original Message-From: Jairam, Roopnaraine [mailto:[EMAIL PROTECTED]Sent: Tuesday, December 14,

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
How do u throw a custom exception? -Original Message- From: Lyndon Tiu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 11:06 AM To: [EMAIL PROTECTED] Subject: Re: data validation Jairam, Roopnaraine wrote: Does anyone know how to do this???

RE: data validation

2004-12-14 Thread tony . q . weddle
Custom serializers and custom deserializers are part of Axis. I've done a little work with them but you should try to learn about them yourself. I'm not sure if throwing a runtime exception is the best way to handle invalid objects, in the serializer, but it looks like it should work. The

RE: Axis, gSoap Project

2004-12-14 Thread Zhou Jian Han
This is very useful. Also do you have any sample which uses gSoap as a server and Axis as a client. Can you post it? thanks, Georgia -Original Message- From: V D [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 10:12 PM To: [EMAIL PROTECTED] Subject: Axis, gSoap Project I

Deployment with Axis

2004-12-14 Thread Matthias Wessendorf
Hi, I have all my classes (needed by my webservice) and the webservice itself inside of axis/WEB-INF/lib/matze.jar after that I call org.apache.axis.client.AdminClient via commandline for deployment, all is fine. but is it posible to *deploy* all needed jars (in this case matze.jar) with

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
I think Im gonna go with the handler to intercept the SOAP message. How do I go about creating my own handler and setting up AXIS to use it. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:15 PM To: [EMAIL PROTECTED] Subject: RE: data

Re: Question on user exception handling on autogenerated clients

2004-12-14 Thread Davanum Srinivas
pls check the test/wsdl/faults example. -- dims On Tue, 14 Dec 2004 10:12:20 -0800, Michael Merz [EMAIL PROTECTED] wrote: Bcc: [EMAIL PROTECTED] I'm autogenerating my clients using the wsdl2java ant task. It's working really well. One question regarding exception handling, though: When

Re: Question on timeout

2004-12-14 Thread Elaine Nance
I would bet that the Network Interface Card (NIC) is not working properly, if it is an issue only for one computer. Or that the patch cord for the computer is bad, for example if someone tripped over it, and so on. Yu Feng wrote: Hi, I have been bothered by a time-out issue for quite a few

deserialize static xml?

2004-12-14 Thread Frank Maritato
Hi, Is it possible to use my java classes generated from a wsdl and xsd's to deserialize static xml (i.e. a file)? I have a sample of what the output is and I want to run it through deserialization to make sure it will work. I can't just run it against the server because I'm waiting on other

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
Oh :) I thought it was more complicated than that. Thanks. -Original Message- From: Lyndon Tiu [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:56 PM To: [EMAIL PROTECTED] Subject: Re: data validation Jairam, Roopnaraine wrote: How do u throw a custom exception?

RE: Question on timeout

2004-12-14 Thread Yu Feng
Thanks for help! The computer where this connection problem occurs is our application server, so I haven't got a chance to replace network card. However, it runs all other non-Axis applications ok that require Internet connection. The exact SocketTimeoutException problem also happened in the

multiref deserialization (Axis 1.2RC2)

2004-12-14 Thread Alexander Sherkin
Hi. I am having problems deserializing SOAP responses containing multirefs. Here is the part of the SOAP response that I am trying to deserialize: myElement href=#id3/ multiRef id=id3 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=xsd:short

RE: java.lang.NoClassDefFoundError: javax/wsdl/OperationType

2004-12-14 Thread Eric Rajkovic
Jason, You should find the javax.wsdl package inside wsdl4j.jar Check for the line starting with 'Found IBM's WSDL4Java ...' under axis/happyaxis.jsp Hth, eric -Original Message- From: Jason Bodnar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 2:30 PM To: [EMAIL

RE: java.lang.NoClassDefFoundError: javax/wsdl/OperationType

2004-12-14 Thread Jason Bodnar
Thank you. It's in the jarkarta libs directory. I got things to work by doing: /usr/java/j2sdk1.4.2_06/bin/java -cp .:$AXISCLASSPATH:/usr/java/jakarta-tomcat-5.5.5/webapps/axis/WEB-INF/lib/wsdl4j.jar samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX But,

Re: Troubles setting up axis_cpp

2004-12-14 Thread Vincent Jong
I'm new to axis (axiscpp) myself, but have you edited the $AXISCPP_HOME/etc/axiscpp.conf and copied that to /etc (it maybe that there's the file axiscpp.conf_linux that needs to be edited and renamed to axiscpp.conf and then copied to /etc) ? also have you edited client.wsdd_linux and

Re: multiref deserialization (Axis 1.2RC2)

2004-12-14 Thread Peter Molettiere
I'm having similar problems, I think. Maybe we can pool our resources? On Dec 14, 2004, at 2:24 PM, Alexander Sherkin wrote: myElement href=#id3/ multiRef id=id3 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xsi:type=xsd:short

Mapping a javabean to a complex type with attributes and value but no sub elements, How ?

2004-12-14 Thread Philippe Moreau
Hello, Is there a way to ask AXIS (through standard BeanDeserializer ) to map an XML complex typethat contains attributes and a value but NO element (that is sub elements) to a javabean ? For instance how to map the following element to a javabean : person sex="M" age="33"Smith/person

Axis Attachments Delphi

2004-12-14 Thread Mark Chaimungkalanont
Hi there, I've implemented a web service that deals with attachments as Steve Loughran suggested in Fear of Attachments and seemed to have been reiterated in this forum a few times. http://marc.theaimsgroup.com/?l=axis-userm=104429890926603w=2 Basically, attachments are not included as part of

RE: Remote reference!

2004-12-14 Thread Anne Thomas Manes
SOAP doesn't support remote references. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 7:38 AM To: Axis User mail list Subject: Remote reference! Hi all! How are remote references to a web service implement in axis at client side?

RE: Remote reference!

2004-12-14 Thread Anne Thomas Manes
SOAP doesn't support remote references. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 7:38 AM To: Axis User mail list Subject: Remote reference! Hi all! How are remote references to a web service implement in axis at client side?

Serialization Compatibility

2004-12-14 Thread jay limfueco
Hi, I'm currently working on a web service that should support PHP, Pearl and .Net clients and I was wondering if a serialized HashMap is supported by those other languages. Thanks

Re: Rooting Axis services

2004-12-14 Thread tony . q . weddle
Some suggestions have been made on this. Alternatively, you might be able to add a servlet to the root context, mapped to get called for all root context requests, and it can forward the request to the appropriate real endpoint URL, depending on the path in the request. Tony ANDREW MICONE

RE: Long: Problem with a method that returns byte[]

2004-12-14 Thread Brown, Mike
Your problem is simple. You defined the return type as an array of bytes and that is what it looks like as SOAP. Using attachments would be best in this case. Another option would be to return a String that is the file Base64 encoded (that's what I did on a project using SOAP before attachments

How to change the argument names

2004-12-14 Thread Muthusamy, Elavarasan
Title: How to change the argument names Hi, I have deployed a webservice in axis server. I use stateless session bean to carry out the task. It takes two String arguments as input named businessName and serviceName. I want these two names should appear in the WSDL instead of in0 and in1. Is

Re: Is JAX-RPC really not capable of processing complex data types? Whatabout the AXIS implementation?

2004-12-14 Thread ANDREW MICONE
Axis is fully capable of serializing and deserializing complex types. -- Andy [EMAIL PROTECTED] 12/14/04 02:26AM Is JAX-RPC really not capable of processing complex data types? I am using Soap to fill the gap between C++ and Java... If JAX-RPC only supports simple type objects the whole idea

Re: How to change the argument names

2004-12-14 Thread tony . q . weddle
Or you can just change the names in the WSDL you have. If the service is deployed as a wrapped service, then it shouldn't matter what names you use. Tony Adrian Perez Jorge [EMAIL PROTECTED] wrote on 14/12/2004 15:09:34: You have to specify to java2wsdl the implementing class (option -i), and

Re: .NET client

2004-12-14 Thread Lyndon Tiu
Sagar Pidaparthi wrote: Hi, I wrote a simple .NET client and it does not work. I would appreciate any help. Here are my steps on AXIS 1.1 1. I write a simple class called SecurityMgr and publish as wrapped literal Without sending us the Java web service code and the Java web service wsdl,

Re: maintaining a database connection pool or a socket connection pool

2004-12-14 Thread Lyndon Tiu
METIN ZAVRAK wrote: Hi, Is there a way to maintain a database connection pool or a socket connection pool within Axis? 2 - Could I maintain a connection pool in order to use existing connections? I am using Tomcat as web server and it has its own db connection pool but how can I register

Re: data validation

2004-12-14 Thread Lyndon Tiu
Jairam, Roopnaraine wrote: Does anyone know how to do this??? *From:* Jairam, Roopnaraine *Sent:* Thursday, December 09, 2004 10:30 AM *To:* [EMAIL PROTECTED] *Subject:* data validation Hi: Is there a way for axis to validate

RE: data validation

2004-12-14 Thread Jairam, Roopnaraine
What is a client side handler? Do you mean that the client code should check first before calling the webservice? But if the client is not written by us then invalid data could still be sent to the server. From: THOMAS, JAI [AG-Contractor/1000] [mailto:[EMAIL PROTECTED] Sent:

Question on timeout

2004-12-14 Thread Yu Feng
Hi, I have been bothered by a time-out issue for quite a few days and wonder if I can get some help from the mailing list. We have a Axis 1.1 client application that connects to a remote Web Service written also in Axis 1.1. The application almost always receives response in all

Re: data validation

2004-12-14 Thread Lyndon Tiu
Jairam, Roopnaraine wrote: How do u throw a custom exception? Throwing Exceptions is very basic Java. Don't tell me you don't know what throwing Exceptions are! Custom Exceptions is a Java class that you write that inherits from the Exception class or the Throwable class. On some form of

How to use Axis CPP

2004-12-14 Thread Vincent Jong
My place of employment is implementing a feature and it requires the use of the axis soap server. I'm a QA tester who needs impliment a service in order to test this feature. Unfortunately, the developer of the feature doesn't have any experience with axis either (and no one else in the company

java.lang.NoClassDefFoundError: javax/wsdl/OperationType

2004-12-14 Thread Jason Bodnar
Hi, I'm trying to go through the installation documentation found here: http://ws.apache.org/axis/java/install.html I successfully completed every step and tried to test the Stock Quote sample. The sample deployed fine (except for some log4j warnings) but when I try to call the stock web

Re: deserialize static xml?

2004-12-14 Thread Michael Schuerig
On Tuesday 14 December 2004 22:37, Frank Maritato wrote: Is it possible to use my java classes generated from a wsdl and xsd's to deserialize static xml (i.e. a file)? I have a sample of what the output is and I want to run it through deserialization to make sure it will work. I can't just

Serializing Object Graphs

2004-12-14 Thread Peter Molettiere
I sent a message a few days ago, but got no response, so I figured I'd try again. I'm in the process of writing a new Serializer/Deserializer for our data model. The specific problem I'm trying to deal with is properly handling circular references. I have multiRefs turned on, and my xml looks

Re: Question on timeout

2004-12-14 Thread Elaine Nance
Maybe the timeout settings? or set up TCPMonitor and see whats going back and forth. Yu Feng wrote: Thanks for help! The computer where this connection problem occurs is our application server, so I haven't got a chance to replace network card. However, it runs all other non-Axis applications

Re: Serializer- and Deserializer-objects multi-threaded?

2004-12-14 Thread Brian J. Sayatovic
Title: Nachricht As Tony points out, you could use a sort of Object Pool to hand out SimeplDateFormat insatnces to your deserializer instances as the factory constructs them, and devise a scheme to return them to the pool when the deserializer is no longer needed. You could also make a

Re: Axis, gSoap Project

2004-12-14 Thread Vy Ho
Thank you for the comment. I do not have an example for the gSoap server. I don't plan to include that in the example. I still haven't written the short tutorial for this yet (all the code is done). When I am done, I'll post it up. Vy Ho Zhou Jian Han wrote: This is very useful. Also do