Re: SAOP Header

2004-07-07 Thread Dhanush Gopinath
Thomas   You can create a Stub object at your client side and if you know your clientID you can set it in the SOAP Header using .. Stub.setHeader() method .. You dont need a handler in this case .. But u can also use a handler :)   Please look at  the AXIS API docs   hope this helps   Dhan

RE: Deployment Question

2004-07-07 Thread Steve Mactaggart
You can include the axis jar files in your application and add the sections from the axis web.xml file to enable the bindings for the AxisServlet. Then axis will have access to the classes deployed in your webapp. Steve > -Original Message- > From: Keith Tingle [mailto:[EMAIL PROTECTED]

Running problem with Client application java service

2004-07-07 Thread Kamal Vaid
Can Body help me why this error generated when run Java Service Client Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletContext at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)

Running problem with Client application java service

2004-07-07 Thread Kamal Vaid
Can Body help me why this error generated when run Java Service Client Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletContext at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)

Re: Axis 1.1 doesn't support java.util.Date?

2004-07-07 Thread Gustavo De Simone
thanks - Original Message - From: Vikas Phonsa To: '[EMAIL PROTECTED]' Sent: Wednesday, July 07, 2004 5:44 PM Subject: RE: Axis 1.1 doesn't support java.util.Date? Here is an article that has some good stuff on handling Date web services:   http://ww

Re: Axis 1.1 doesn't support java.util.Date?

2004-07-07 Thread Gustavo De Simone
That's true I couldn't because the class I am using is not developed by me.   But What I don't understand is that when the WSDL is generated the java2wsdl tool in Axis doesn't warn about this fact. I mean it converts date to xsd:dateTime and then after the wsdl2java tool create a Calendar in

Re: Passing Arrays

2004-07-07 Thread David Beahm
Answering my own question: The reason everyone finds this so simple is that it is -- but sticking to the user guide's sample code can trip you up. I could not figure out what values to enter for the two lines (below) that are commented out. As you probably already know, they are optional stateme

RE: Axis 1.1 doesn't support java.util.Date?

2004-07-07 Thread Vikas Phonsa
Here is an article that has some good stuff on handling Date web services:   http://www-106.ibm.com/developerworks/webservices/library/ws-tip-roundtrip1.html   Vikas   -Original Message- From: Bill Werth [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 1:27 PM To: '[

RE: SAOP Header

2004-07-07 Thread David Cunningham
You may want to look at WS-Addressing. It provides some mechanisms to state who the calls is from, the action, a unique message ID, ... I'm not sure how far the WS-FX Addressing project (http://ws.apache.org/ws-fx/addressing/) has gotten, but it may be worth taking a look at. Thanks, - David ---

RE: SAOP Header

2004-07-07 Thread David Cunningham
You may want to look at WS-Addressing. It provides some mechanisms to state who the calls is from, the action, a unique message ID, ... I'm not sure how far the WS-FX Addressing project (http://ws.apache.org/ws-fx/addressing/) has gotten, but it may be worth taking a look at. Thanks, - David ---

RE: Axis 1.1 doesn't support java.util.Date?

2004-07-07 Thread Bill Werth
I'm fairly new to Web services, but I'm wondering if this could have something to do with it:   The user manual says that the Standard mappings from WSDL to Java is: xsd:dateTime java.util.Calendar   So it looks like you could resolve the problem by using the Calendar class i

Axis 1.1 doesn't support java.util.Date?

2004-07-07 Thread Gustavo De Simone
Is it correct to say that Axis 1.1 doesn't support the Serialization of java.util.Date?? I mean I have some problem doing it and I can not figure why What should i be doing wrong... I have already post this:     I am Serializing a Bean with a java.util.Date attribute ie:   public Persona{   

Deployment Question

2004-07-07 Thread Keith Tingle
Hi- It seems the standard way to install a web service with axis is to install my .jars into axis/WEB-INF/lib, and then deploy via the axis admin servlet and a custom wsdd file, with ant tasks. But.. I have an application where the web service interface is only a small part of the total functiona

Deserializer for anyType

2004-07-07 Thread Albert Bachand
Hello, I'm having problems with elements of type: xsd:anyType. Whenever I call an operation that includes elements defined as anyType, I get the following exception on the server, as it's parsing the request: "org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyTy

RE: java2wsdl - Message element in WSDL for RPC/Lit and Doc/lit (wrapped)

2004-07-07 Thread Junaid . Bhatra
Might be due to WS-I Basic Profile 1.0 recommendations. http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#WSDLMSGS R2203: An rpc-literal binding in a DESCRIPTION MUST refer, in its soapbind:body element(s), only to wsdl:part element(s) that have been defined using the type attribute.

RE: java2wsdl - Message element in WSDL for RPC/Lit and Doc/lit (wrapped)

2004-07-07 Thread sanjay
Replying to my own question I think for doc/lit referring to element makes sure that a part will have only one child element, which is a requirement for doc/lit. But still not sure why RPC/lit must refer to a type ?   regards Sanjay     -Original Message- From: sanjay [mail

Re: AW: Please initialize the log4j system properly

2004-07-07 Thread Baiss Eric Magnusson
Thanks for your replies, but some of you are being too platform specific. I am not using Tomcat. I am not using Servlets per se. There is no such notion of the "src directory of your web service", other than the Documents directory of Apache. There is no such thing as a .bat file and I don't have

type mapping qname ns="someNamespace"

2004-07-07 Thread Steve Wells
Axis continues to have difficulties handling some custom bean based class / types that I have - I have added typeMapping (beanMapping) for these - but I get problems once I've entered the second one. IS "someNamespace" & supposed to be specified for every entry or is that replaced for each one wi

Pachage name of generated Holder classes

2004-07-07 Thread Flores, Raul
Title: Pachage name of generated Holder classes Help, I am using axis 1.2 beta (march 04) and generating classes with wsdl2java. I have things setup for style="wrapped" and use="literal". When axis generates the StringArrayHolder class, it uses a pachage name of:  java.lang.holders Is t

Package names of generated Holder classes

2004-07-07 Thread Flores, Raul
Title: Package names of generated Holder classes Hello, I am using axis 1.2 beta (march 04) and generating classes with wsdl2java. I have things setup for style="wrapped" and use="literal". When axis generates the StringArrayHolder class, it defines a package name of:  java.lang.holders

Re: internationalization

2004-07-07 Thread Davanum Srinivas
Axis specific errors are picked up from src\org\apache\axis\i18n\resource.properties - Original Message - From: Shah, Soniya M. [RA] <[EMAIL PROTECTED]> Date: Wed, 7 Jul 2004 11:40:48 -0400 Subject: internationalization To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Hi all, Is

Unable to Deploy when Working on Server

2004-07-07 Thread NYY96
Hello Axisers,   I am unable to deploy when attempting to work with Axis on a server-side Tomcat installation.   I receive the following errors: Processing file deploy.wsdd -- Exception:: (404)Servlet AxisServlet is not available

internationalization

2004-07-07 Thread Shah, Soniya M. [RA]
Title: Message Hi all,   Is there any way of changing the error messages gives by Axis to a different language?   E.g. could I translate  "Connection Refused" error in a different language?   Is there any properties file where it is taking it's messages from?   Thanks, Soniya    

RE: Handling sessions

2004-07-07 Thread Hari Krishna B.
Hi Tomi, Thx for the reply. We are doing the changes in our code to test this out. Cheers, Hari Hari Krishna.B FRANKLIN TEMPLETON CANADA PROJECT MindTree Consulting Ph no: 91-26711777(x:1649) EMail: [EMAIL PROTECTED] -Original Message- From: Dorner Thomas [mailto:[EMAIL PROTECTED]

Re: Handling sessions

2004-07-07 Thread Vy Ho
Would you have to manually close the session if using this method, else there's still trash, just take longer to to trash the computer? How about set scope to global? Gerry Gao wrote: Hi, You can invoke the setMaintainSession(true) of the org.apache.axis.client.Call at client side.

Bug in wsdl/stub gen for String[] return?

2004-07-07 Thread Anand Natrajan
Hello, One of the operations in my web service has a Java signature like this: public String[] getParameters(String dsName) throws RemoteException; Using Axis 1.2beta (June 14th build), I run java2wsdl to get an rpc/enc WSDL (call it re.wsdl) and again to get a doc/lit WSDL (call it dl.ws

SAOP Header

2004-07-07 Thread Dorner Thomas
Hi, I want to place some kind of cliendID in my SOAP-Header, to know which client have called my Service. Can someone give me a tip how to make this ? Is there a chance to handel this data put in the Header without a handler? Thanks Tomi > T-Systems International GmbH Service Line Systems Inte

RE: Why AXIS instead of Sun's Web Services SDK?

2004-07-07 Thread Galbreath, Mark A
I was at JavaOne as well and I got the distinct impression that JWSDP (project, not "kit") is not ready for prime time yet. Sun is continuing to merge jws into jsdk 5.0 (not 1.5 anymore) and j2ee 5.0. Further, have you ever tried to use the jwsdp? Try just getting through the tutorial in less th

java2wsdl - Message element in WSDL for RPC/Lit and Doc/lit (wrapped)

2004-07-07 Thread sanjay
Hi   I am trying out different styles of generating wsdl with Java2WSDL.   For RPC/lit types it generates the And for Doc /Lit types its   WSDL1.1 specification section 2.3 says these are equivalent (http://www.w3.org/TR/wsdl

Re: Reg: Handling sessions

2004-07-07 Thread Michael Binz
Hari, you can define your Web service scope in the deploy.wsdd file. If you use application scope you get the behaviour you want. Best wishes, Michael. > Has any body worked on handling the sessions with AXIS?. If so, appreciate > if > you could help us out in resolving the following issue >