RE: Using DII with complex types ??

2002-02-06 Thread J. Matthew Pryor
Yep OK fair comment. My apologies for the lazy terminology (comes from a pathetic lack of knowledge I am afraid ;-) I was particularly interested in document literal binding since I was wanting to be able to dynamically invoke .Net service based solely on the WSDL It probably (hopefully) will be

[Fwd: "Bad envelope namespace" error when deploying with AdminClient]

2002-02-06 Thread Partho Sandell
FYI- Doug Davis wrote: > Use tcpmon to see what the server is sending back - typically that error > happens when the server returns some HTTP error and the client doesn't know > how to parse it because it's not a soap message. > -Dug > > Partho Sandell <[EMAIL PROTECTED]> on 01/26/2002 03:22:47

using TCPMonitor

2002-02-06 Thread Ken Weiner
Hi, I am trying Axis for the first time and trying to monitor the SOAP request and response that results from the samples/userguide/example1/TestClient.java program. I am able to run TestClient and start TCPMonitor successfully, but I don't what ports/settings to enter into TCPMonitor in order t

RE: Bug found in wsdl2java, please read

2002-02-06 Thread BEERS,NANCY (HP-NewJersey,ex2)
I meant the nightly build. It seems to be fixed there.  Basically, the alpha3 code was looking for the node, but once it found the index for it, it ignored it and used the 1st element every time. -Original Message-From: obrand [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February

Re: Bug found in wsdl2java, please read

2002-02-06 Thread obrand
Are you testing the nightlty build or the alpha3 which has been around since december ? Also, when running Wsdl2java, the deploy.wsdd contains the name of the service port but the Stub contains the namespace. Don't you have to call the setPortTypeName method ?? Olivier Russell Butek wrote:

Re: Bug found in wsdl2java, please read

2002-02-06 Thread obrand
I also have alpha3. DO you mean that the snapshot is refreshed but keeps the same version ? Or are you talking about the nightly builds ?? Olivier BEERS,NANCY (HP-NewJersey,ex2) wrote: [EMAIL PROTECTED]"> I saw this bug in Beta3 recently, but it seems to be fine in the latestsnapshot.Nancy

Built-int default serializer datatypes

2002-02-06 Thread Davenport Todd S GS-11 96 CG/SCTOA
Title: Built-int default serializer datatypes Is there a list somewhere of which datatypes are supported by default, and which serializers are already mapped?  I'm trying to use http://www.w3.org/1999/XMLSchema:base64 TIA ~todd Todd S. Davenport 96 CG/SCTOA Eg

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Tom Jordahl
Marc, I checked in a fix to the Emitter that will at least generate the correct stubs, but we still have some serious work to do when it comes to supporting rpc/literal. This is still good, as I am pursuing getting this particular web service to work with Axis. It exposes lots of problems we

RE: Current build: Emitter hangs while reading class file (bug fo und in Axis, fix inside)

2002-02-06 Thread Glen Daniels
H... this looks kind of cool, and from a quick read appears to enable just about the same thing which we use javap for. Might be worth some experimentation. Thanks for the pointer, Sam! --Glen > -Original Message- > From: Sam Ruby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, Fe

RE: Current build: Emitter hangs while reading class file (bug fo und inAxis, fix inside)

2002-02-06 Thread Sam Ruby
Glen Daniels wrote: > > Also, do we really need to spawn a process to run javap?  There's no class-based >way to do this? Not a direct equivalent, but... http://jakarta.apache.org/bcel/index.html - Sam Ruby

Changes in current build vs. alpha3 in WSDL generation: New problems with .NET 1.0

2002-02-06 Thread Thomas Börkel
Title: Changes in current build vs. alpha3 in WSDL generation: New problems with .NET 1.0 HI! Why does the current build always append "Service" at the service name? Alpha3 did not do that and that was good. Also, .NET issues an error now on the WSDL file: Unable to import binding 'Soap

RE: Current build: Emitter hangs while reading class file (bug found inAxis, fix inside)

2002-02-06 Thread Russell Butek
Danke! I'll fix this shortly... By the way, if there's no path to "javap" then it's unlikely that there was a path to "java" since the two are packaged together. But I understand your point, it's not robust. Russell Butek [EMAIL PROTECTED] Thomas Börkel <[EMAIL PROTECTED]> on 02/06/2002 02:2

RE: Current build: Emitter hangs while reading class file (bug found in Axis, fix inside)

2002-02-06 Thread Glen Daniels
Title: Current build: Emitter hangs while reading class file Also, do we really need to spawn a process to run javap?  There's no class-based way to do this? -Original Message-From: Thomas Börkel [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 06, 2002 3:24 PMTo: [EMAIL PR

RE: Current build: Emitter hangs while reading class file (bug found in Axis, fix inside)

2002-02-06 Thread Thomas Börkel
Title: Current build: Emitter hangs while reading class file HI!   I found the bug and I have the fix for it:   In class org.apache.axis.utils.JavapUtils, method javap(), line 174:   Before:     Process pr = rt.exec("javap -classpath " + cp + " -private -l " + cls.getName()); Now:  

RE: Bug found in wsdl2java, please read

2002-02-06 Thread BEERS,NANCY (HP-NewJersey,ex2)
Oops, I meant Alpha3. > -Original Message- > From: BEERS,NANCY (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 3:21 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Bug found in wsdl2java, please read > > > I saw this bug in Beta3 recently, but it seems to

RE: Bug found in wsdl2java, please read

2002-02-06 Thread BEERS,NANCY (HP-NewJersey,ex2)
I saw this bug in Beta3 recently, but it seems to be fine in the latest snapshot. Nancy > -Original Message- > From: Russell Butek [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 3:19 PM > To: [EMAIL PROTECTED] > Subject: Re: Bug found in wsdl2java, please read > > > WS

Re: Bug found in wsdl2java, please read

2002-02-06 Thread Russell Butek
WSDL2Java doesn't process annotations. They're ignored. You'll have to show me your WSDL. I tried plunking annotations randomly through a test of ours and it didn't make any difference to what was generated. Russell Butek [EMAIL PROTECTED] obrand <[EMAIL PROTECTED]> on 02/06/2002 01:47:52 PM

Bug found in wsdl2java, please read

2002-02-06 Thread obrand
I have struggled for days with wsdl2java in order to have many complextypes generated. If you have: this is some documentation ... Then only one compex type (the first ??) gets generated. I had to rem

Compiling the nightly build

2002-02-06 Thread Thomas Börkel
Title: Compiling the nightly build HI! I wanted to try to find out why the Emitter hangs while reading a .class file and because the Axis classes don't seem to have debug information, I tried to compile the nightly build. However, something is missing: org/apache/axis/utils/compiler/Javac.

RE: AxisServer thread-safe?

2002-02-06 Thread Thomas Börkel
Title: AxisServer thread-safe? HI!   Allright, if I can fix the last problems I ran into (see this mailing list), then I can finish the work and will run a concurrent users stress test tool on our server soon.   Regards, Thomas -Original Message-From: Glen Daniels [mailto:[EMAIL

RE: AxisServer thread-safe?

2002-02-06 Thread Glen Daniels
Title: AxisServer thread-safe? AxisServer is meant to be thread-safe, although we haven't done a lot of testing in this regard.  If you'd like to help out writing multithreaded test cases, that would be great! :)  In any case, let us know if you run into any problems using it in a multithread

RE: AxisServer thread-safe?

2002-02-06 Thread Thomas Börkel
Title: AxisServer thread-safe?   Could anyone please answer? This is pretty important for us, regarding calling Axis from our own HTTP server. Thanks!   -Original Message-From: Thomas Börkel Sent: Montag, 4. Februar 2002 17:02To: Axis MailinglistSubject: AxisServer thread-safe

.NET ignores methods with void returntype

2002-02-06 Thread Thomas Börkel
Title: .NET ignores methods with void returntype HI! Using Axis alpha3 and .NET 1.0. If I have a method without void returntype then .NET ignores that method and write the following comment into the generated proxy class: CODEGEN: The operation binding 'exceptionTest' from namespace 'htt

problems with WSDL2Java

2002-02-06 Thread Adam Freeman
First of all, I am using a service that returns a java.util.Map type and this appears to be the problem with attempting to generate java stub classes from the wsdl definition of the service.   I am having trouble with the WSDL2Java conversion code from two night's ago axis nightly build 0

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Brette, Marc
The service response is not recognized correctly if I change to "encoded" instead of "literal". Anyway, thanks a lot, I was not focused on this particular service, I guess I will have to find another quotes service. Great work you are doing on Axis ! -- Marc -Original Message- From: Tom

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Tom Jordahl
There is a bug, which I have a fix for and will check in to the CVS tree shortly. The stub still doesn't work however. It has to do with the document vs. rpc style, which we don't do the right thing. I believe you could use this service if you change the use to encoded in the WSDL and genera

Current build: Emitter hangs while reading class file

2002-02-06 Thread Thomas Börkel
Title: Current build: Emitter hangs while reading class file HI! I tried out the Emitter class from the current nightly build and apparently, it hangs while trying to read the class file. This happens with Emitter.emit() and Emitter.getWSDL(). This does not happen with alpha3. Using JDK 1.

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Brette, Marc
It's still posiible there is a bug. It's a service I found on xmethods.(http://www.xmethods.com/ve2/ViewListing.po;jsessionid=UVEvYvEq3Vzh 2RNpUafIq-lX(QCcd0CRM)?serviceid=95) I tried to remove locally the "encodingStyle" parameter but still got the same problem. Thanks for your help. -Orig

RE: .NET has problems with Axis complex types?

2002-02-06 Thread Thomas Börkel
Title: .NET has problems with Axis complex types? Thanks!   Hmm, how "safe" is it in general to use the nightly build instead of alpha3. Or when will there be a new stable version?   Thomas -Original Message-From: Glen Daniels [mailto:[EMAIL PROTECTED]]Sent: Mittwoch, 6. Februar

RE: .NET has problems with Axis complex types?

2002-02-06 Thread Glen Daniels
Title: .NET has problems with Axis complex types? If you try a recent nightly build, you should find that the Hashtable is correctly described in the generated WSDL.  This was fixed last weekend, I believe.   --Glen -Original Message-From: Thomas Börkel [mailto:[EMAIL PROTECTED]

RE: .NET has problems with Axis complex types?

2002-02-06 Thread Thomas Börkel
Title: .NET has problems with Axis complex types? This is the complex type, that Axis defines for a return type of Hashtable. Isn't there something missing???      http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">                 -Original Message-From:

RE: .NET has problems with Axis complex types?

2002-02-06 Thread Thomas Börkel
Title: .NET has problems with Axis complex types? Correction: I am using alpha3, of course. ;-) -Original Message-From: Thomas Börkel Sent: Mittwoch, 6. Februar 2002 15:12To: Axis MailinglistSubject: .NET has problems with Axis complex types? HI! Using Axis alpha2 and .N

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Tom Jordahl
In looking at the WSDL, this is strange: http://schemas.xmlsoap.org/soap/encoding/"; /> Why is their an encoding style listed when use=literal? Is this just a bug in the WSDL? I will still take a look at this. -- Tom Jordahl Macromedia -Original Message- From: Tom Jordahl [mailto:

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Tom Jordahl
The rpc/literal case isn't handled correctly by the emitter, as you discovered. This is mostly because we treat literal use in the manner that will enhance working with .NET. I'll try to take a look at what is going wrong with the stub signatures in this case. Perhaps it will be something s

RE: (Rewriten): Setting the SOAP header through an operation...

2002-02-06 Thread St-Germain, Sylvain
IMO, the hability to set the header is crucial if you want your service's consumers to easily be able to provide, for example, credentials. I understand that this is not top priority but is certainly important when ther service involved some level of security. A question that came to my mind

RE: (Rewriten): Setting the SOAP header through an operation...

2002-02-06 Thread St-Germain, Sylvain
Thanks for the info. Sylvain. -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 5:34 PM To: [EMAIL PROTECTED] Subject: RE: (Rewriten): Setting the SOAP header through an operation... There are 2 things that we have to do in AXIS to get

.NET has problems with Axis complex types?

2002-02-06 Thread Thomas Börkel
Title: .NET has problems with Axis complex types? HI! Using Axis alpha2 and .NET final. If I have a method, which returns a Hashtable, then Axis defines this as a complex type=Map in the WSDL. If I consume then this WSDL in .NET, then it does not generate a Proxy for this service. While m

RE: Bugs in WSDL-Emitter?

2002-02-06 Thread Thomas Börkel
Title: Bugs in WSDL-Emitter? Apparantly, setUseInheritedMethods(true) works only, if you also specify allowedMethods. This is in alpha3. -Original Message-From: Thomas Börkel Sent: Montag, 4. Februar 2002 14:30To: Axis MailinglistSubject: Bugs in WSDL-Emitter? HI! I have s

RE: WSDL2Java problem with complex type ?

2002-02-06 Thread Brette, Marc
It seems that WSDL2Java generate the right classes then, but does not generate the correct signature for the binding because SoapBinding.java (for example) use a class called "vgx_realtime.GetRTQuote and vgx_realtime.GetRTQuoteResponse. Here is an error I got when I compile the generated classes :

Re: WSDL2Java problem with complex type ?

2002-02-06 Thread Russell Butek
The soap:body in the binding says use="literal". This means that the outer layer - getRTQuote/getRTQuoteResponse - is stripped and the contents of the complexType are in the parameter list instead of the complexType itself, so nothing need be generated for the complexType. Now that that's explai

RE: Using DII with complex types ??

2002-02-06 Thread Russell Butek
Be careful with this statement of removing layers. That's not strictly true. When the binding uses document literal we remove a layer (I think we do that because .NET does it). When the binding uses rpc encoding we do not remove the layer. As long as you construct classes for complexTypes prop

Session state

2002-02-06 Thread Stefan Henke
Hi, I´m wondering if it is possible to create a webservice which maintains the session state of a client. I haven´t found any info about this in the userguide. I know that Apache SOAP 2.2 supports this feature. What about axis? Or do I have to write my own solution to save data from one client be

WSDL2Java problem with complex type ?

2002-02-06 Thread Brette, Marc
Hi, I try to use WSDL2Java to generate stubs. The WSDL file defining the service is http://services.xmltoday.com/vx_engine/wsdl.vep/realtime.wsdl I tried to use the 02/05/2002 nighlty build, but no classes are generated for the complex types getRTQuote and getRTQuoteResponse, whereas they are us

AW: (Rewriten): Setting the SOAP header through an operation...

2002-02-06 Thread Dittmann Werner
All, after looking at several Web Service/SOAP implementations (.NET, BEA, Axis, SUN O.N.E.) and reading several specs (SOAP 1.1, SOAP 1.2, and XML protocol abstract model, several proposal from MS about SOAP routing, SOAP security, etc). IMO the header issue will become more relevant in the futu