Re: wsdl autogeneration

2004-10-15 Thread Pat Allan
Thankyou all - between all these comments I managed to get it worked out :) On Fri, 15 Oct 2004 09:02:01 -0700, Dan Ciarniello <[EMAIL PROTECTED]> wrote: > Pat Allan wrote: > > >Do I need the Axis servlet? I assumed it wasn't necessary. > > > > > Yes, you do need the Axis servlet. > > >I didn't

RE: Need to let axis check if parameter is null ?

2004-10-15 Thread Barlotta, Timothy - Arlington, VA - Contractor
Title: Message If you have an object like Integer, String, Long, etc... Axis will set the nillable="true" for you since the Java code can accept a null value.   You should let Axis generate the WSDL.  Save it off.  Then modify it to your needs.  Then in the .wsdd file specify that you want

RE: Need to let axis check if parameter is null ?

2004-10-15 Thread Jairam, Roopnaraine
Has anyone done something like this and can give me some pointers.   Vince.   From: Jairam, Roopnaraine Sent: Thursday, October 14, 2004 2:59 PM To: [EMAIL PROTECTED] Subject: Need to let axis check if parameter is null ?   Is it possible to make axis check if a parameter i

stop app server to load other resources when initservlet fails

2004-10-15 Thread bethana kumar
Hi I have a requirement is that i have a initservlet which loads initially when jboss(tomcat) starts up,which check all initial resources(i.e db is up or not),if any resources are not properly startup which should display an error message that system is not up and also it should not allow user wor

RE: HashMap problem

2004-10-15 Thread Jia Yiyu
I posted one message for passing java.util.Hashtable object as parameters of Web service days ago. In my case, I got wrong object type casting error message. I noticed that after compiling the service, the service funciton's parameter has been changed to be HashMap instead of Hashtable. So it is t

Re: wsdl autogeneration

2004-10-15 Thread Dan Ciarniello
Pat Allan wrote: Do I need the Axis servlet? I assumed it wasn't necessary. Yes, you do need the Axis servlet. I didn't have a web.xml file, so I copied the one in the axis webapp, and have the following as my only servlet and servlet mapping nodes (and kept the mime mappings, etc): TaskWS

Re: wsdl autogeneration

2004-10-15 Thread Pat Allan
I didn't have those handler lines - but having them doesn't seem to make a difference. On Fri, 15 Oct 2004 15:37:44 +0200 (MEST), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Are you using the URLMapper handler? You should check that it is present > in your server-config.wsdd. This handler

Re: wsdl autogeneration

2004-10-15 Thread Pat Allan
Do I need the Axis servlet? I assumed it wasn't necessary. I didn't have a web.xml file, so I copied the one in the axis webapp, and have the following as my only servlet and servlet mapping nodes (and kept the mime mappings, etc): TaskWS Task Web Services com.freelancingGod

axis IPv6 support?

2004-10-15 Thread William Fitzgerald
Hi all, New to axis, looking forward to working with web services and axis. does apache axis support IPv6? regards, Will. William M. Fitzgerald, Applied Researcher, Telecommunications Software & Systems Group, Waterford Institute of Technology, Cork Rd. Waterford.

Re: wsdl autogeneration

2004-10-15 Thread enric
Are you using the URLMapper handler? You should check that it is present in your server-config.wsdd. This handler finds the service associated with the URL sent by your request. Axis needs the service to generate the WSDL. That file should contain something like this: ... ...

RE: HashMap problem

2004-10-15 Thread Bouche Paul
What kind of client do you use? What kind of service style do you use? java.util.HashMaps are not all that interoperable. They only work with modifications to generated code. Does Axis maybe serialize the request is gets in into a different object? -- Paul > -Original Message- > From

Array Objects

2004-10-15 Thread Suzy Fynes
      Can anyone tell me how to call an array of objects from wsdl using a java client? (with axis of course)   Thnaks  

new comments

2004-10-15 Thread Henry Lu
Jayachandra, thanks for your info and time. But I have never had lock to make things going. Here is my code: package ws.Echo; public interface Echo { public String echoString(String arg); public String echoString_double(String arg1, String arg2); } ///

Why do I get an invalid QName local part exception?

2004-10-15 Thread Thomas Forrester
Hi, Can anyone help explain why I get an exception thrown at the last line of this code snippet: DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.newDocument(); Element root = doc.createElementNS("EnvelopeService","getDetail"); doc.appen

solved (was RE: static constructor)

2004-10-15 Thread Matthias Wessendorf
ok... If you use third party libs... I guess you have to deploy them as well... ;-) sorry for bothering you all, Regards, Matthias > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 14, 2004 7:01 PM > To: [EMAIL PROTECTED] > Subject: sta

Weird error message when using WSDL2JAVA generated classes

2004-10-15 Thread Ulrich Ackermann
Hi all, I have got a problem using the classes that were generated bei WSDL2JAVA. As far as I can see, the wsdl document that I got offered looks quite fine. That wsdl document defines an operation 'DocumentGetCollection' which takes one parameter (DocumentGetCollectionRequest) and returns a Docu

BeanSerializer to serialize a bean to an XML string

2004-10-15 Thread Laurent CORNELIS
Hi,   I have generated my WebService and bean classes with WSDL2Java. It works perfectly.   Now, I want to be able to store some of my beans into an XMLDB, so I need to serialize them in XML. As my beans already contains a TypeDesc generated by Axis, I want to use the Axis BeanSerializer t

How can I get SSLSocket

2004-10-15 Thread Dmitriy Shestakov
Hi All! I'm working with a hardware soap-server, using Axis. The server accepts only SSL/TLS encrypted data on channel, and doesn't require any authentication, thus I have no any certificates. To disable ssl authentication I have to call SSLSocket.setEnabledCipherSuites() with list, whitch includes

RE: Performing WS tests....

2004-10-15 Thread Tysnes Are Thobias
Hello Ivan You find "the documentation" for TestMakere here: http://www.amazon.com/exec/obidos/tg/detail/-/0131421891/qid%3D1078551062//1 02-3248630-3390557 Recommended reading Cheers, Are T. Tysnes -Original Message- From: Ivan Aguirre [mailto:[EMAIL PROTECTED] Sent: 14. oktober 200

Re: JAX-RPC web service in Axis, servletEndpointContext.isUserInRole(), how to map users to roles?

2004-10-15 Thread Merten Schumann
Any answers here? I'm still in trouble with this servletEndpointContext.isUserInRole("my_role") stuff, it never returns true since I still don't know how to introduce user roles (not groups) in Axis (in Tomcat) Thank you! Merten > -Original Message- > From: Merten Schumann [mailto:[

Re: wsdl autogeneration

2004-10-15 Thread tony . q . weddle
Pat, By default, Axis has a mapping, in WEB-INF/web.xml, that specifies a URI of "/services/*", to get to the Axis servlet (and, thus, to the services). This is the path below the context root. It looks like your context root is "taskServices", but I'm not sure what mapping you have for the Axis