WSDL4J Versions and Its Environment on Linux

2002-03-21 Thread Li Bing
Dear Mr. Butek, I am trying to use wsdl4j.jar. I specify $WSTK_HOME/lib/wsdl4j.jar in the $CLASSPATH. The version of my WSTK Toolkit is 3.0. I am reading a book, Professional Java Web Services. In the book, there are some samples shown how to use APIs in wsdl4j.jar. But when I compiling the first

Serializer / Deserializer for HAshmap

2002-03-21 Thread Vaidya, Raghavendra (CORP, GEITC)
Hi, I want to publish a method which accepts Hashmap as a parameter ? how do I do it in Axis.I was using Apache SOAP to do the same and I had written a serializer my self. Can some body tell me how to do the same in Axis? Does axis provide a serializer / deserializer for Hashmap or do I have to wr

RE: why Axis?

2002-03-21 Thread Taras Shkvarchuk
> >The vote was not on quality of the design, it was much more > on the need of > >JAXM as a standard. > >People argued that it came too close to being JMS using SOAP. > > This is true, but some of the comments went deeper than you > suggest and > it doesn't take away from the fact that JAXM do

RE: Proxy Server howto?

2002-03-21 Thread Andrew Chau
Thanks Parimi,   Andrew Chau   RichSolutions, Inc. ePayment Solutions that work! On any device, at anytime and anyplace.   www.richsolutions.com Office - 425-836-4251 Fax - 425-868-0774   -Original Message- From: Parimi Srinivas [mailto:[EMAIL PROTECTED]] Sent: Thu

configure a web service

2002-03-21 Thread Parimi Srinivas
Hi all, Does axis provide any method[s] to configure a web service ?. What I want to achieve is some thing like HttpServlet.init() ?. Thanks,

source control and wsdl2java

2002-03-21 Thread Hozefa Botee
folks, the axis user guide, as well as some other info I've found online suggests that when using WSDL2Java, one should write the webservice implementation into the *SoapBindingImpl.java file that is generated. how are people dealing with source controlling this file once the implementation is w

RE: SimpleDeserializer throws a SAXException.

2002-03-21 Thread Parimi Srinivas
this may not be solution, why can't you return Element[] ? -Original Message- From: Vemuri, Vijay [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 12:58 PM To: '[EMAIL PROTECTED]' Subject: SimpleDeserializer throws a SAXException. Hi, I have had this problem for a while

RE: Proxy Server howto?

2002-03-21 Thread Parimi Srinivas
use http.proxyUser  and http.proxyPassword, I don't know about domain, -Original Message-From: Andrew Chau [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 21, 2002 2:59 PMTo: [EMAIL PROTECTED]Subject: RE: Proxy Server howto? What if the proxy server requires addit

AW: Proxy Server howto?

2002-03-21 Thread Till Woerner
Title: Nachricht Sorry for my last post, didn't recognize that you asked for pass and uid...   This article helped me to overcome the password problem, but I had to tweak the class where axis makes the connection by myself :-(   http://www.javaworld.com/javaworld/javatips/jw-javatip42.html  

AW: Proxy Server howto?

2002-03-21 Thread Till Woerner
Title: Nachricht Hello  Andrew,   you can find all networkin properties you can set here:   http://java.sun.com/j2se/1.4/docs/guide/net/properties.html   I don't know about domain, but at the link location are all properties explained java uses for establishing a connection over a proxy.   Gr

RE: Proxy Server howto?

2002-03-21 Thread Andrew Chau
What if the proxy server requires additional credential like username, password and domain. One of our client has a Microsoft proxy server that requires domain login info.   Thanks   Andrew -Original Message- From: Volkmann, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, Mar

ClassCastException in commons logging

2002-03-21 Thread Mike Brown
I have two applications that are running under tomcat that communicate using methods exposed as axis web services. The service method is identical for each service and looks like:   public void processMessage(String message)   Thus when A wants to communicate with B it invokes B's processMes

Re: why Axis?

2002-03-21 Thread Daniel F. Savarese
In message <94F890AC98E9AF478F08FEFAC7467C7C095168@riker01>, Taras Shkvarchuk w rites: >The vote was not on quality of the design, it was much more on the need of >JAXM as a standard. >People argued that it came too close to being JMS using SOAP. This is true, but some of the comments went deepe

SimpleDeserializer throws a SAXException.

2002-03-21 Thread Vemuri, Vijay
Hi, I have had this problem for a while now. I get the following exception when I call a web service on a remote client. The return value of that web service method is a SOAP document (returned to the client as a String). I figured out that I am getting the following exception because the

RE: why Axis?

2002-03-21 Thread Taras Shkvarchuk
>Why Axis? Because it is good implementation of JAXM and JAX-RPC APIs. Not all the interfaces are implemented, but you will find APIs very close. If you are doing Attachments, you will be pleased to know that Axis is not using JavaMail for MIME parsing. *** RE: JAXM *** > after having used JAXM e

RE: Array elements in complexType definition...

2002-03-21 Thread St-Germain, Sylvain
Ok forget about it, This line: crashes dotNet wsdl2Whatever thingy... Sylvain. -Original Message- From: St-Germain, Sylvain [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 3:20 PM To: Axis-User (E-mail) Subject: Array elements in complexType definition... Hi all, The fo

Array elements in complexType definition...

2002-03-21 Thread St-Germain, Sylvain
Hi all, The following WSDL: Generates this code: public class Policy implements java.io.Serializable { private java.lang.String id; private com.cognos.developer.Permission[] permissions; private java.lang.Object[] permissions

RE: Proxy Server howto?

2002-03-21 Thread Andrew Chau
Worked like a champ! Thanks Mark!   Andrew Chau   RichSolutions, Inc. ePayment Solutions that work! On any device, at anytime and anyplace.   www.richsolutions.com Office - 425-836-4251 Fax - 425-868-0774   -Original Message- From: Volkmann, Mark [mailto:[EMAIL PROT

RE: Proxy Server howto?

2002-03-21 Thread Volkmann, Mark
You need to define the system properties http.proxyHost and http.proxyPort. If you're running your client from Ant you can do something like this, replacing everything that begins with "My".                 If you're running your client from the command-line you can do so

Re: why Axis?

2002-03-21 Thread Daniel F. Savarese
In message <[EMAIL PROTECTED]>, "Russell Butek" writes: >Please be careful with how you use the phrase "JAX-RPC". JAX-RPC is a >specification. You folks are referring to it as an implementation (I >assume you're talking about Sun's Java Web Services Developer Pack Early >Access, which complies

How to talk to a WSDL web servies using SSL?

2002-03-21 Thread Andrew Chau
Is SSL automatically included in the stub that is auto-generated using the WSDL2Java?

Proxy Server howto?

2002-03-21 Thread Andrew Chau
If we have a proxy server, how do I tell the SOAP stub to use the proxy server instead?   Thanks   Andrew

RE: cast of returning object to vector doesn't work

2002-03-21 Thread R J Scheuerle Jr
Just committed the fix. Please get the latest build. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) R J Scheuerle

RE: cast of returning object to vector doesn't work

2002-03-21 Thread R J Scheuerle Jr
What Glen said is true. However, Martina is using the Axis generated Stubs. The Vector is being serialized over the wire as an array. The server side automatically converts the array back into a Vector to invoke the server side method. The method then returns a Vector, which is serialized over

RE: deployment

2002-03-21 Thread Glyn Normington
I wouldn't describe that as deploying a new service. If you want to redeploy an existing service, I guess you need to undeploy it first to get the changes to take place without restarting. Glyn

AW: cast of returning object to vector doesn't work

2002-03-21 Thread Martina Brose
Thank you! Now it works. By the way: It wasn't me who set the returnType to be the old Apache SOAP encoding for Vectors. The SoapBindingStub was the one automaticly created by the WSDL -> Java tool. Or is there a way I could / should have manipulated the output? Martina > -Ursprüngliche Nac

Re[2]: why Axis?

2002-03-21 Thread Alex Krotov
Hello Daniel, Thank for your review, it saved my time by not learning "garbage" standarts. As for JAXB, I'd add that it would be possibly helpful if it'd supports XML Schema - Beans mapping. -- Best regards, Alexmailto:[EMAIL PROTECTED] > In message <003601c1d060$

Re: Header and WSDL2Java

2002-03-21 Thread Russell Butek
soap:header is on our todo list. Russell Butek [EMAIL PROTECTED] Wörner Till <[EMAIL PROTECTED]> on 03/21/2002 08:24:45 AM Please respond to [EMAIL PROTECTED] To:"Axis User List (E-Mail)" <[EMAIL PROTECTED]> cc: Subject:Header and WSDL2Java Hi, can WSDL2Java handle headers defined

RE: NoSuchMethodError while using WSDL2Java

2002-03-21 Thread Michel Bergijk
Russel, Yep, that did it. I did not update the directory containing the wsdl4j.jar file. I had one from december last year. I should learn to update every used directory :-{. Thanks for the feedback. Michel -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: donderda

Header and WSDL2Java

2002-03-21 Thread Wörner Till
Hi, can WSDL2Java handle headers defined in a wsdl document and can someone supply my with an example of an wsdl file containing header definitions? Thanks in advance, Till Woerner -- T-Systems GEI GmbH Hausanschrift: Eichhornstraße 3, D-10785 Berlin Postanschrift: D-10875 Berlin Telefon: +4

Re: Does anyone know how to install Axis in Dynamo 5.1?

2002-03-21 Thread joost . den . boer
I have no experience with deploying Axis in Dynamo, by I did successfully deploy Apache SOAP 2.2 into Dynamo. I deployed it just as a J2EE application. Then I use an Abstract Factory pattern to make the link to Dynamo. The client is the class which is dispatched in SOAP. The abstract factory

Re: NoSuchMethodError while using WSDL2Java

2002-03-21 Thread Russell Butek
Where did you get your wsdl4j.jar? There are actually 2 (or more?) of those floating around and they're not compatible. You should use the one that is packaged with AXIS. Russell Butek [EMAIL PROTECTED] Michel Bergijk <[EMAIL PROTECTED]> on 03/21/2002 03:47:42 AM Please respond to [EMAIL PRO

Re[2]: signature-signing-and-verification test failed (...This DOM document does not support Traversal)

2002-03-21 Thread Alex Krotov
Hello Theodore, Thank you for your reply. > You need to have xerces on the classpath. May be I need to place xerces as the first in my CLASSPATH or somewhere property of crimson parses have been setted(not by me but in some of the jars) because I see reference to org.apache.crimson.tree.DOMImple

Re: why Axis?

2002-03-21 Thread Russell Butek
Please be careful with how you use the phrase "JAX-RPC". JAX-RPC is a specification. You folks are referring to it as an implementation (I assume you're talking about Sun's Java Web Services Developer Pack Early Access, which complies with JAX-RPC?). One of the goals of AXIS is to fully comply

Re: Connecting to stateless Session EJB, Lookup error >> PLEASE

2002-03-21 Thread Eddie Post
Hellu, Please some help on my problem below as I can't continue and don't really know what to do. Eddie >From: "Eddie" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: Connecting to stateless Session EJB, Lookup error. >Date: Tue, 19 Mar 2002 13:17:20 +0

Re: Does anyone know how to install Axis in Dynamo 5.1?

2002-03-21 Thread Vikram Rayabhari
If you look at /webapps/axis/WEB-INF/web.xml , you can see that any request to an url of the form axis/services/* is handled by the class org.apache.axis.transport.http.AxisServlet. The AxisServlet in turn gets info about the deployed services from the file server-config.wsdd Vikram Nuno Guerrei

Re: Does anyone know how to install Axis in Dynamo 5.1?

2002-03-21 Thread joost . den . boer
I have no experience with deploying Axis in Dynamo, by I did successfully deploy Apache SOAP 2.2 into Dynamo. I deployed it just as a J2EE application. Then I use an Abstract Factory pattern to make the link to Dynamo. The client is the class which is dispatched in SOAP. The abstract factory make

Does anyone know how to install Axis in Dynamo 5.1?

2002-03-21 Thread Nuno Guerreiro
According to the installaction instructions for Axis, it should be very simple to install Axis in any Servlet Engine compliant with the 2.2 Servlet Specification. It would be a matter of copying a bunch of directories. Although I've managed to perform installation using Tomcat 4.0.1, I'm having s

RE: deployment

2002-03-21 Thread Ramon Turnes
Well, if I deployed a service that had already been deployed before, the changes will not be effective until you restart the Web Server. At least this is how it works in my case (I use Tomcat). Ramón > -Original Message- > From: Glyn Normington [mailto:[EMAIL PROTECTED]] > Sent: Wedne

AW: Individual wsdl-doc

2002-03-21 Thread Wörner Till
Thanks!!! That was fast. A good pro Axis point for the "why Axis?" discussion ;-) Greetings, Till > -Ursprüngliche Nachricht- > Von: Glen Daniels [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 21. März 2002 05:55 > An: '[EMAIL PROTECTED]' > Betreff: RE: Individual wsdl-doc > > >

NoSuchMethodError while using WSDL2Java

2002-03-21 Thread Michel Bergijk
Fellow Axis users, While using WSDL2Java I got a NoSuchMethodError (see call and error message below). Can anyone comment on this? My Classpath (using echo %classpath%): .;C:\Apache\soap-2_2\lib\soap.jar;C:\Apache\tomcat\lib\xerces.jar;C:\Apache\ tomcat\lib\mail.jar; C:\Apache\tomcat\lib\activa

problem with axis and jdk 1.2.2

2002-03-21 Thread heiner . kallweit
Hello, I found no info about a minimum version of the jdk being required for the use of axis. When using axis with jdk 1.2.2 (inside VisualAge) I have the problem that in org.apache.axis.client.AxisClientproxy the interface java.lang.reflect.InvocationHandler is used that AFAIK was introduced in

Re: Extending AxisServlet ...

2002-03-21 Thread Glyn Normington
I don't see why not, but you should be aware that AxisServlet is not listed in the published interfaces in the User's Guide, so you *may* be impacted as Axis evolves. Glyn

Re: why Axis?

2002-03-21 Thread Peter Allday
The other reason of course is that Axis is very easy to use. I haven't used JAXM or JAX-RPC so I can't compare, but we are doing interoperability testing between different SOAP implementations (mainly .Net so far), and have found it to be great. An example. If a .Net service is developed I can

Re: Tomcat 4.0.3/ JDK 1.4 - not working, Is this error related to my jaxrpc in wrong location?

2002-03-21 Thread Peter Allday
Can you send your web.xml file?   Peter - Original Message - From: Bens To: [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 10:32 PM Subject: Tomcat 4.0.3/ JDK 1.4 - not working, Is this error related to my jaxrpc in wrong location? Enviroment:  Tomcat