.NET DataSet client example

2003-01-29 Thread Ru
Hello axis-users, I am a newbi to this list and very impressed with axis capabilities. Now I have to build a client to the .NET web service that return MS DataSet. I find in a folder axis/test/wsdl/dataset an example of such client and it suit me just fine. But it only get a Result object

[wsif] About complex types

2003-01-29 Thread Luoh Ren-Shan
Hi,     Is it possible to use XML String/DOM directly as parts of a message?       Is it possible to invoke a operation with complex type     without generating the classes at first?       Thank you.   Luoh Ren-Shan

Re: Axis + JAXB is a good solution for complex data mapping?

2003-01-29 Thread Dennis Sosnoski
Hi David, It sounds like you're talking about the original JAXB EA - that's the one that used DTDs. That code's been dropped and replaced with a new API designed for Schema support. You can see the JAXB home page for details: http://java.sun.com/xml/jaxb/index.html I've also got a pair of artic

Deserializing parameter using javax.xml.rpc

2003-01-29 Thread bin
since i dont have access to the Call object, how can i set deserializers when using javax.xml.rpc? thanks, bin

NULL TypeMapping

2003-01-29 Thread Wes Devauld
I'm getting an error when I try to use Java2WSDL. It is a java.lang.NullPointerException within org.apache.axis.fromJava.Types when trying to generate a schema. it seems that that Types object was instantiated with a NULL for it's internal TypeMapping (TypeMapping tm) When the serializer tries to

RE: how to make this WSDL work?

2003-01-29 Thread ALI,HANEEF (HP-Cupertino,ex1)
Title: Message Change your test program to for document type       String  x = service.myOperation(p0, 2, 8, p4);   Haneef -Original Message-From: Wei Chen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 4:19 PMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject

how to make this WSDL work?

2003-01-29 Thread Wei Chen
Hi,   I try to implement the attached WSDL (using document/literal). I used the following command to generate Java:     java org.apache.axis.wsdl.WSDL2Java -s MyService.wsdl   and register the service using:     java org.apache.axis.client.AdminClient MyService\deploy.wsdd     Bu

End-to-End with WSDL2Java, and Java2WSDL

2003-01-29 Thread Wes Devauld
Is there any reason why I shouldn't be able to use WSDL2Java to generate Java classes for the embedded schema and stubs for the service, and then run Java2WSDL on the Stub class and recreate the original WSDL document? Thanks, -Wes

Socket Transport

2003-01-29 Thread Thomas Schröter
Hi,   supports Axis the transport of soap-messages over sockets ? I wand to receive soap-messages on an opened socket port.   Regards, Thomas Schröter    

Re: Error with example5 (BeanSerializer) of AXIS run locally - SOLVED/typo in Axis 1.1beta?

2003-01-29 Thread Davanum Srinivas
Johannes, Can you please file a bug report? (see this howto url - http://nagoya.apache.org/wiki/apachewiki.cgi?SubmitPatches) Thanks, dims --- Johannes Fiala <[EMAIL PROTECTED]> wrote: > I have found that there seems to be a typo in the file > axis-1_1beta/samples/userguide/example5/deploy.wsdd

Error with example5 (BeanSerializer) of AXIS run locally - SOLVED/typo inAxis 1.1beta?

2003-01-29 Thread Johannes Fiala
I have found that there seems to be a typo in the file axis-1_1beta/samples/userguide/example5/deploy.wsdd After I corrected the "qName" attribute to "qname" the sample worked correctly. correct version: Maybe this should be corrected in the AXIS 1.1beta version as well, because this is quite

Axis + JAXB is a good solution for complex data mapping?

2003-01-29 Thread David payam
Hi: JAXB + DTD is very good for Java and XML mapping. So anybody use JAXB with Axis ? any example for it?   Thanks  Post your free ad now! Yahoo! Canada Personals

Error with example5 (BeanSerializer) of AXIS run locally - detailstacktrace

2003-01-29 Thread Johannes Fiala
Hi there, I now have removed everything from my classpath except the Apache AXIS libraries to make debugging easier: CLASSPATH: e:\axis-1_1beta\lib\axis.jar;e:\axis-1_1beta\lib\jaxrpc.jar;e:\axis-1_1beta\lib\commons-logging.jar;e:\axis-1_1beta\lib\commons-discovery.jar;e:\axis-1_1beta\lib\saaj.j

Re: Can't find service-- PUT vs GET problem?

2003-01-29 Thread Steve Loughran
maybe its a bug in tomcat... - Original Message - From: "Roy Wood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 12:15 Subject: Re: Can't find service-- PUT vs GET problem? >Use POST? I *am* using POST when I do the actual transaction. When I calculat

Re: using a wsdl file, rather than generating via ?wsdl

2003-01-29 Thread Jeff Greif
Sorry to reply to my own post, and sorry for asking too simple a question. I seem to have figured this out. Jeff - Original Message - From: Jeff Greif To: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 12:16 PM Subject: using a wsdl file, rather than generating via ?wsdl In an old me

RE: using a wsdl file, rather than generating via ?wsdl

2003-01-29 Thread Vidyanand Murunikkara
I am not sure whether works. try using /axis/foo.wsdl Axis tries to look for that file in ur classpath. So best place to put it woould be in WEB-INF/classes/axis/foo.wsdl ANd you dont need to modiy web.xml for this. Vidyanand. -Original Message- From: Jeff Greif [mailto:[EMAI

Error with example5 (BeanSerializer) of AXIS run locally.

2003-01-29 Thread Johannes Fiala
Hi there, I just tried the example 5 for bean serializing/deserializing, but I received the following error: Error : org.xml.sax.SAXException: Deserializing parameter 'arg1':  could not fin d deserializer for type {urn:BeanService}Order The commands I issued: java org.apache.axis.client.AdminCl

Error with example5 (BeanSerializer) of AXIS run locally.

2003-01-29 Thread Johannes Fiala
Hi there, I just tried the example 5 for bean serializing/deserializing, but I received the following error: Error : org.xml.sax.SAXException: Deserializing parameter 'arg1':  could not fin d deserializer for type {urn:BeanService}Order The commands I issued: java org.apache.axis.client.AdminCl

using a wsdl file, rather than generating via ?wsdl

2003-01-29 Thread Jeff Greif
In an old message on this list, I saw that one could specify          to provide a wsdl file.  Does the axis web.xml need to be modified to support this, and where in webapps/ subtree of a Tomcat installation would the file have to be installed?   Thanks in advance for any info.   Jeff

Re: Can't find service-- PUT vs GET problem?

2003-01-29 Thread Roy Wood
>Use POST? I *am* using POST when I do the actual transaction. When I calculate the MD5 hash of the authentication info, I have to pass in "GET" to my hashing function or Tomcat rejects the results. Believe me-- I tried, and I just get back an endless stream of non-helpful 401 replies, each with

Re: Can't find service-- PUT vs GET problem?

2003-01-29 Thread Benjamin Tomasini
Use POST? On Wed, 2003-01-29 at 14:51, Roy Wood wrote: > I don't know if this is more of a TomCat problem or an Axis problem, but > here goes. > > I've set up TomCat to do digest authentication for my Axis service, and > that is working fine. For example, if I protect all of the axis realm, >

Can't find service-- PUT vs GET problem?

2003-01-29 Thread Roy Wood
I don't know if this is more of a TomCat problem or an Axis problem, but here goes. I've set up TomCat to do digest authentication for my Axis service, and that is working fine. For example, if I protect all of the axis realm, then I need to supply a userid and password to even see axis/index.htm

Re: user-defined Exceptions

2003-01-29 Thread Steve Loughran
- Original Message - From: "Olivier Gauwin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 00:56 Subject: Re: user-defined Exceptions > > > Thanks, Steve, but I still have a problem... > > I've tried this (with Axis CVS) : > AxisFault af = new Ax

ByteArrayDataSource / how to create a DataHandler from byte[]

2003-01-29 Thread Hervé Guidetti
Hi, I found documentation on ByteArrayDataSource in Apache SOAP. Is there something equivalent with Axis ? How can I create a DataHandler from a byte[] ? Tks for your help. Hervé

RE: Does Java2Wsdl support EJBs?

2003-01-29 Thread Tom Jordahl
The document in the bug is PDF, which we requested be converted to text or HTML before we could check it in the Axis doc set. --- Additional Comments From Steve Loughran 2003-01-10 20:03 --- John, I'd like to add this to the Axis docs for Axis1.1. For that we need a version that can be

Error when displaying/generating WSDL from web service bean

2003-01-29 Thread Kevin Roast
Hi, I have several web services (that are also EJBs) deployed against AXIS 1.0. They deploy ok and I can call the web-services fine from my java app. However, when I view the axis services page (localhost:8080/axis/services) AXIS is unable to generate the WSDL for any of my services (the default A

RE: WSDL2Java throws a Null Pointer exception when processing mul tipa rt WSDL

2003-01-29 Thread Richards, Mark
Thanks for all the feedback. I tried using the wsdl4j.jar that was in last night's axis build http://cvs.apache.org/dist/axis/nightly/2003-01-29/ but I still get the error. I am having issues getting to the IBM anon cvs server from here, so I can't get their latest version. -Original Messa

RE: Interoperative attachments

2003-01-29 Thread Daniel Allen
> -Original Message- > From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 5:16 PM > To: [EMAIL PROTECTED] > Subject: Re: Interoperative attachments > > > Hmmm. So this means SOAP implementations that *don't* encode MIME > attachments work as long as the dat

Re: Admin Servlet don't work.

2003-01-29 Thread Carl Cabou
Thanks Niall, it works now. Is it mentionned in the documentation ? I don't think so ... Anyway i get a strange page when clicking on the Admin servlet link : -- Server is running Current load = 1 -- Any idea ? Best regards. Niall Kenny wrote:

Re: Admin Servlet don't work.

2003-01-29 Thread Niall Kenny
Hi Carl, Try looking at your web.xml file in the WEB-INF directory.Down near the bottom the admin servlet is commented out. Put this back in a try again.Not to good on axis but think this might help. At 12:51 29/01/03 +0100, you wrote: Hi all. I have just installed Axis 1.0 On tomcat 4.1.18 and

AW: Admin Servlet don't work.

2003-01-29 Thread Sebastian . Beyer
did you follow the link on startpage http://localhost/axis/index.html ? Reasure that you deployed your services corretly and that your server-config.wsdd is correct also. View Tomcat logs for possible exceptions while starting axis and follow the instructions on: http://ws.apache.org/axis/index.htm

Admin Servlet don't work.

2003-01-29 Thread Carl Cabou
Hi all. I have just installed Axis 1.0 On tomcat 4.1.18 and I ran the validate page ok (system is RedHat Linux 7.2). But when I try to use the admin link at http://localhost:8080/axis/servlet/AdminServlet I get a 404 not found error. In fact there is no file that match the admin servlet in the a

RE: Does Java2Wsdl support EJBs?

2003-01-29 Thread Nicholas
Vidyanand; Nice doc. I would like to add a few paragraphs regarding return trip (client --> server) complex objects. I have observed some issues with this when Entity bean remotes are exposed in session bean methods and I would like to propose some patterns for avoiding them. Cheers. //Nichola

Re: user-defined Exceptions

2003-01-29 Thread Olivier Gauwin
Steve Loughran wrote: I've also tried to use child nodes for "why" and it works. The only thing is that I would like to have : Just to test BadRecord instead of : but I can't find a way to do that (I've tried with setUserObject and setNodeValue but it doesn't work).