JavaUtils.xmlNameToJava and special characters

2002-02-06 Thread Dave Dunkin
Title: JavaUtils.xmlNameToJava and special characters The xmlNameToJava function munges strings so that they only contain letters and numbers. However, other characters (such as '$' and '_') are valid in Java identifiers. Instead of using the Character.isLetter() and Character.isLetterOrDigit(

classloader problems

2002-02-06 Thread Dave Dunkin
Title: classloader problems I'm having a problem with axis throwing a ClassNotFoundException when I try to access a deployed service. It chokes on [Lservice1._RecordType; (see the attached wsdl). I traced it down to the getLanguageSpecificType method in WSDDTypeMapping.     public Class getLa

RE: Help with soap header serialization (bean serialization) (code)

2002-02-06 Thread Tom Boulos
I am still having problems with bean serialization. The order of my getter and setters is: - to - timeout - topic As you notice in the message previously sent, the serialized order became: - timeout - to - topic At this time, with additional code changes, but no changes to that bean class it is

RE: Subsystem responsibilities: WSDD

2002-02-06 Thread Sedukhin, Igor
Resending msg again. Didn't see it on the list for some reason... -Original Message- From: Sedukhin, Igor Sent: Wednesday, February 06, 2002 10:23 AM To: '[EMAIL PROTECTED]' Subject: RE: Subsystem responsibilities: WSDD Glyn, >Handlers (including Chains) would then have to cope with b

WSDD problem (3rd attempt)

2002-02-06 Thread CHEN,SHIH-CHANG (HP-NewJersey,ex2)
I found a problem about the WSDD that the parameters of transport pivot are not populated to the java instnace. However, in the schema of wsdd, it looks like parameters are allowed for transport ... I wonder this is by design or a bug. Following is an example of client-config.wsdd: http://xml.

cvs commit: xml-axis/java/samples/echo deploy.wsdd

2002-02-06 Thread scheu
scheu 02/02/06 14:50:20 Modified:java/samples/echo deploy.wsdd Log: Fixed typo. Revision ChangesPath 1.13 +4 -4 xml-axis/java/samples/echo/deploy.wsdd Index: deploy.wsdd === RCS file: /h

RE: cvs commit: xml-axis/java/test/wsdl/filegen AllOptionTestCase .java FileGen.wsdl FileGenTestCase.java

2002-02-06 Thread Tom Jordahl
I think Glen and I brow-beat Russell on IRC in to not emitting code for non-Soap bindings, but he held on to emitting all the portType interfaces, even if they are referenced only by non-Soap bindings. -- Tom Jordahl -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] S

RE: cvs commit: xml-axis/java/test/wsdl/filegen AllOptionTestCase .javaFileGen.wsdl FileGenTestCase.java

2002-02-06 Thread Russell Butek
For those that care, Tom and Glen and I had a chat and I've been mostly convinced. Stuff generated from non-SOAP bindings (stub, skeleton) should never be generated. But those bindings might refer to a portType. The interface for that portType SHOULD be generated if --all is turned on. Tom (an

RE: cvs commit: xml-axis/java/test/wsdl/filegen AllOptionTestCase .javaFileGen.wsdl FileGenTestCase.java

2002-02-06 Thread Russell Butek
I think I disagree. If they really really want to generate everything, let them have everything. As to whether it compiles, the code generated from filegen.wsdl does (after a minor fix). If there's a chance we're generating code that WON'T compile, then I might willingly back off from my disagr

cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava Emitter.java

2002-02-06 Thread butek
butek 02/02/06 13:24:29 Modified:java/src/org/apache/axis/wsdl/toJava Emitter.java Log: Oops. Neglected to delete a comment when I deleted the function that comment referred to. This function moved from Emitter to JavaWriterFactory so that I could get --all functionality to

cvs commit: xml-axis/java/src/org/apache/axis/utils JavapUtils.java

2002-02-06 Thread butek
butek 02/02/06 13:21:51 Modified:java/src/org/apache/axis/utils JavapUtils.java Log: Fix from Thomas Boerkel ([EMAIL PROTECTED]). WIthout this fix Java2WSDL would hang it a directory in the CLASSPATH contained spaces. Revision ChangesPath 1.4 +1 -1 xml-ax

RE: WSDL2JavaAntTask - skeleton=true?

2002-02-06 Thread Glen Daniels
+1 > -Original Message- > From: Tom Jordahl [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 4:20 PM > To: '[EMAIL PROTECTED]' > Subject: RE: WSDL2JavaAntTask - skeleton=true? > > > > +1 to making it default to false. > > -Original Message- > From: Russell Butek

RE: cvs commit: xml-axis/java/test/wsdl/filegen AllOptionTestCase.java FileGen.wsdl FileGenTestCase.java

2002-02-06 Thread Tom Jordahl
-if (binding.isUndefined() || -bEntry.getBindingType() != BindingEntry.TYPE_SOAP) { +if (binding.isUndefined()) { continue; Russell, I don't think you should ever emit any code for non-Soap bindings

RE: cvs commit: xml-axis/java/test/wsdl/filegen AllOptionTestCase.java FileGen.wsdl FileGenTestCase.java

2002-02-06 Thread Glen Daniels
> Log: > I added --all to WSDL2Java. I thought it would be quick > and easy. Silly me. This > option exposed some bugs I had to fix. Woo! > I also added a quick test. Woo hoo! :) --G

RE: WSDL2JavaAntTask - skeleton=true?

2002-02-06 Thread Tom Jordahl
+1 to making it default to false. -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 4:09 PM To: [EMAIL PROTECTED] Subject: WSDL2JavaAntTask - skeleton=true? Just curious. Why is the default for skeleton true? I would have expected th

WSDL2JavaAntTask - skeleton=true?

2002-02-06 Thread Russell Butek
Just curious. Why is the default for skeleton true? I would have expected that all the defaults in this task would mirror the defaults in WSDL2Java itself. I'm thinking of changing it and the entries in WSDL2JavaTestCase.xml that might depend on it (low priority, I just added it to my todo list

cvs commit: xml-axis/java/test/wsdl/filegen AllOptionTestCase.java FileGen.wsdl FileGenTestCase.java

2002-02-06 Thread butek
butek 02/02/06 13:08:55 Modified:java/src/org/apache/axis/utils resources.properties java/src/org/apache/axis/wsdl WSDL2Java.java java/src/org/apache/axis/wsdl/toJava Emitter.java JavaWriterFactory.java PortTypeEntry.java

cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava SymbolTable.java

2002-02-06 Thread tomj
tomj02/02/06 13:00:20 Modified:java/src/org/apache/axis/wsdl/toJava SymbolTable.java Log: Update the handling of literal message parts to handle either the element= or type= declaration (e.g. ). Revision ChangesPath 1.25 +44 -34xml-axis/java/src/org/apache

cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser BeanDeserializer.java

2002-02-06 Thread tomj
tomj02/02/06 12:58:01 Modified:java/src/org/apache/axis/encoding/ser BeanDeserializer.java Log: Check the Java mangled XML name when looking for bean elements. WSDL2Java mangles the element names per JAX-RPC, but we wont find those names in the XML we process. This chang

RE: Attachment support Diffs for review (Message & Part & SOAPPart af fected)

2002-02-06 Thread Taras Shkvarchuk
Totally understand, specially since there is some design change. Hope you find these changes useful. :) Thanks! > -Original Message- > From: Rick Rineholt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 8:07 AM > To: [EMAIL PROTECTED] > Subject: Re: Attachment support Dif

RE: WSDL2Java and xsd:simpleTypes

2002-02-06 Thread David Altenburg
Title: RE: WSDL2Java and xsd:simpleTypes Works great.  Thanks! David Altenburg [EMAIL PROTECTED] >-Original Message- >From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, February 05, 2002 4:44 PM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Re: WSDL2Java a

Re: AXIS/SOAP Interop Test Summary

2002-02-06 Thread R J Scheuerle Jr
See below. Thanks for your help Sam. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) Sam

RE: Help with soap header serialization

2002-02-06 Thread Glen Daniels
Heh, I was just typing up a response but you beat me to it. It is intentional that EVERYTHING is sent as multiref, because we "stream" our serialization. In other words, if we're serializing an Object which MIGHT be referred to later in the graph of this message, we serialize an HREF instead

cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser ArraySerializer.java

2002-02-06 Thread scheu
scheu 02/02/06 11:00:20 Modified:java/samples/echo deploy.wsdd java/src/org/apache/axis/encoding/ser ArraySerializer.java Log: Change the samples/echo/deploy.wsdd to register type mapping for ArrayOfSOAPStruct. This should result in a better interop result for

RE: Help with soap header serialization

2002-02-06 Thread Tom Boulos
I just answered my own question to the first: by using call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); So my questions changes: Is it intentional that the default behavior for headers is that they are sent as multiRef? -Original Message- From: Tom Boulos Sen

Re: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sam Ruby
R J Scheuerle wrote: > > i) Sending type="ArrayOfSOAPStruct" over the wire may be 'more correct' but > is less interoperable. So I think we should continue to send type="soapenc:Array" > over the wire...but I will make a comment in the array serializer explainly the > pro's and con's. +1 Ain't

Re: AXIS/SOAP Interop Test Summary

2002-02-06 Thread R J Scheuerle Jr
I ran some tests per (2) in my previous note. Here are interesting results for echoStructArray ServerSOAPAxis Sandbox Axis type="ArrayOfSOAPStruct" Axis FAILOK FAIL' Frontier FAILOK FAIL' Gl

Help with soap header serialization

2002-02-06 Thread Tom Boulos
I am using the client.Call object to set headers. When I do this it is serialized with the contents in a multiRef element, and the header is refering to it. The element is only used by that single header, but I do not see how to avoid the multiref serialization. Also, I am using the BeanSeriali

RE: emitAll option in WSDL2Java

2002-02-06 Thread St-Germain, Sylvain
+1 for #2 --all refers to elements in the immediate WSDL file but not in imported Sylvain. -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 11:25 AM To: [EMAIL PROTECTED] Subject: Re: emitAll option in WSDL2Java Questions about a --al

RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava JavaDeployWriter.java

2002-02-06 Thread R J Scheuerle Jr
Glen, We talked about this. We wanted to make the generated WSDD resemble JSR 109 as much as possible. is not part of JSR 109, but is. Plus users will need to use to register arrays and such...so it seems reasonable to steer them towards for all registration. Comments? Rich Scheuerle XML &

RE: emitAll option in WSDL2Java

2002-02-06 Thread Russell Butek
Glen wrote: > > > What is the relationship between --all and --noImports? We can say a > > couple things: > > 1. --all supercedes --noImports > > 2. --all refers to elements in the immediate WSDL file but > > not in imported > > files. > > I think I prefer #2. > > I think --all simply means "do

RE: emitAll option in WSDL2Java

2002-02-06 Thread R J Scheuerle Jr
I prefer -emitAll. A -all option could be interpretted in a number of different ways (i.e. accept all) Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115)

RE: emitAll option in WSDL2Java

2002-02-06 Thread Tom Jordahl
I think that the switch name --all is fine. I think that --all should just turn off the reference checks entirely and emit the whole shabang. Including registering types in deploy.wsdd. I also prefer option #2 for --all and --noImports. -- Tom Jordahl -Original Message- From: Russe

RE: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava JavaDeployWriter.java

2002-02-06 Thread Glen Daniels
Why are we not emitting the syntax for bean mappings? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 11:56 AM > To: [EMAIL PROTECTED] > Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava > JavaDeployWriter.j

cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava JavaDeployWriter.java

2002-02-06 Thread scheu
scheu 02/02/06 08:55:54 Modified:java/src/org/apache/axis/wsdl/toJava JavaDeployWriter.java Log: I changed WSDL2Java to emit the stanzas within the stanza in the deploy.wsdd. Previously the stanzas were emitted into the deploy scope, which cause the stanzas for differ

Re: AXIS/SOAP Interop Test Summary

2002-02-06 Thread R J Scheuerle Jr
Thanks Sam, 1) I'll change the echoTest deploy.wsdd to register the appropriate type mappings for the arrays. That should be done regardless. 2) I agree that sending the more specific type information is useful in the overloaded method case. So it may be more appropriate to serialize the specifi

Re: Bug in JavaWriter?

2002-02-06 Thread gcasper
Yes, my server side runs Axis alpha 3. Thanks Guido -- Open Source Group sunShine - Lighting up e:Business = Guido Casper, S&N AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-87  [EMAIL PROTECTED] - http:

RE: emitAll option in WSDL2Java

2002-02-06 Thread Glen Daniels
> Do we call it --all or --emitAll? I prefer --all for > brevity. Neither "a" > nor "e" have been used in the shorthand version of any other > option, so we > have no restrictions there. +1 for --all > What is the relationship between --all and --noImports? We can say a > couple things: > 1

RE: Subsystem responsibilities: WSDD

2002-02-06 Thread Glyn Normington
Igor, I like the general drift of your proposal, except that I think it need not involve the EngineConfigurationFactory. Let me play it back in abstract form to make sure we are in synch. 1. EngineConfiguration should provide a method which returns a "version stamp" representing the *current* co

Re: emitAll option in WSDL2Java

2002-02-06 Thread Russell Butek
Questions about a --all flag: Do we call it --all or --emitAll? I prefer --all for brevity. Neither "a" nor "e" have been used in the shorthand version of any other option, so we have no restrictions there. What is the relationship between --all and --noImports? We can say a couple things: 1.

RE: cvs commit: xml-axis/java/src/org/apache/axis/utils resources.properties

2002-02-06 Thread Russell Butek
I can certainly optimize this code, do ONE check for startsWith("javax") before doing all the other checks. But if we change to use the JAX-RPC properties in place of our own, then we'll go down the full verification path anyway. I don't think you're being paranoid. I think JAX-RPC is being par

RE: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sadiq, Waqar
I just looked at the iterop matrix and the ASP.NET array test passed. So I will go and look at my tests again. ___ Waqar Sadiq EDS EIT EASI - Enterprise Consultant MS: H3-4C-22 5400 Legacy Drive Plano, Texas 75024 phone: +01-972-797-8408 (8-83

Re: Bug in JavaWriter?

2002-02-06 Thread R J Scheuerle Jr
How recent is your copy of axis. When I run Java2WSDL, a "void" part is not emitted in the response message. Thanks, Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115)

Re: Attachment support Diffs for review (Message & Part & SOAPPart affected)

2002-02-06 Thread Rick Rineholt
Taras, Just so you know this is not being ignored; however, because these are not just the 1 line obvious fix type patches, I'll need time to review. Thanks >Here are some changes I made to Attachments implementation. (diffs attached) >**

RE: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sam Ruby
Waqar Sadiq wrote: > > That is true if your client is C# or VB program. You have greater control. > However, if your client is a browser based program written in ASP.NET, you > don't seem to have the same kind of control. I have written ASP.Net programs using that attribute. But in any case, yo

Re: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sam Ruby
R J Scheuerle wrote: > > I have some questions... > > So a runtime could send an array using "style A": > > > > Or a runtime could send an array using "style B": > > > > Apache SOAP is sending "style B"; I believe it used to send "style A". > Apache Axis sends "style A". Apache SOAP wi

RE: cvs commit: xml-axis/java/src/org/apache/axis/utils resources.properties

2002-02-06 Thread Glen Daniels
Hm. I'm getting very concerned about performance as more and more string compares on strings like "javax.xml.rpc..." need to be done during critical-path code. Am I being paranoid about this? --G > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wedne

RE: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sadiq, Waqar
That is true if your client is C# or VB program. You have greater control. However, if your client is a browser based program written in ASP.NET, you don't seem to have the same kind of control. ___ Waqar Sadiq EDS EIT EASI - Enterprise Consultant

RE: Subsystem responsibilities: WSDD

2002-02-06 Thread Sedukhin, Igor
Glyn, >Handlers (including Chains) would then have to cope with being instantiated >or modified during the processing of a request. For example, a Handler would >have to cope with being driven for onFault() when it has not been driven for >the corresponding invoke(). Handlers (et al) deal wit

cvs commit: xml-axis/java/test/session TestSimpleSession.java

2002-02-06 Thread glyn
glyn02/02/06 07:27:43 Modified:java/samples/transport/tcp AdminClient.java java/src/org/apache/axis EngineConfigurationFactory.java java/src/org/apache/axis/configuration DefaultEngineConfigurationFactory.java java

RE: setMaintainSession vs setProperty

2002-02-06 Thread Glen Daniels
I am (along with Sam, I believe) not a big fan of bags in general. When there is a call for APIs which really don't know what the options are going to be, certainly the generic property structure is useful, but I think we should keep the setMaintainSession() call at least as a convenience met

RE: cvs commit: xml-axis/java/src/org/apache/axis/utils resources.properties

2002-02-06 Thread Tom Jordahl
> Should we keep setMaintainSession? I vote to keep it. -- Tom Jordahl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: cvs commit: xml-axis/java/src/org/apache/axis/utils resources.properti

cvs commit: xml-axis/java/src/org/apache/axis/utils resources.properties

2002-02-06 Thread butek
butek 02/02/06 07:17:17 Modified:java/src/org/apache/axis/client Call.java Stub.java java/src/org/apache/axis/utils resources.properties Log: We now verify the standard JAX-RPC properties in both Call and Stub objects. ToDo: replace the AXIS properties with JA

Re: AXIS/SOAP Interop Test Summary

2002-02-06 Thread R J Scheuerle Jr
Sam/axis-dev, Thanks Sam for providing the wire dumps. I have some questions... So a runtime could send an array using "style A": Or a runtime could send an array using "style B": Apache SOAP is sending "style B"; I believe it used to send "styl

RE: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sam Ruby
Waqar Sadiq wrote: > > I was wondering if anyone has tested interoperability with .NET for passing > arrays. I had an EJB service which was deployed using axis. The method > required an array of string parameter. When I called it from .NET client, > it defined the array as separate element and

emitAll option in WSDL2Java

2002-02-06 Thread BEERS,NANCY (HP-NewJersey,ex2)
Hi, We've been using Axis for our client proxy generation for the last two weeks and have been very pleased with the results. I noticed in a previous thread on this list that there was discussion about adding an emitAll option to WSDL2Java which would generate all of the classes (complex types,

Re: small patch for a more thorough boolean test

2002-02-06 Thread Sam Ruby
R J Scheurle wrote: > >You are right. The code in Axis does not have this bug, but I noticed that >the deserializer code is extremely lame. switch (source.charAt(0)) { Hey! ;-) Unlike the code that it replaced, the code gets all of the correct cases right and... Nelson Minar wrote: > > Hah,

RE: Today's chat log

2002-02-06 Thread Sam Ruby
Tom Jordahl wrote: > > I guess that would be me. > What does it mean to "implement the test"? Just write a client > app against the WSDL file? Or implement both client and server? > > My guess is its the latter. You sound so thrilled. ;-) My preference is that we have full samples (both clien

cvs commit: xml-axis/java/test/encoding TestDeser.java

2002-02-06 Thread rubys
rubys 02/02/06 06:42:54 Modified:java/test/encoding TestDeser.java Log: "small patch for a more thorough boolean test" Submitted by: Nelson Minar <[EMAIL PROTECTED]> Revision ChangesPath 1.24 +6 -0 xml-axis/java/test/encoding/TestDeser.java Index: Test

RE: AXIS/SOAP Interop Test Summary

2002-02-06 Thread Sadiq, Waqar
I was wondering if anyone has tested interoperability with .NET for passing arrays. I had an EJB service which was deployed using axis. The method required an array of string parameter. When I called it from .NET client, it defined the array as separate element and referenced it from the metho

RE: Subsystem responsibilities: WSDD

2002-02-06 Thread Glyn Normington
Igor, You wrote: >I agree that Engine does not have to make any choices. For the >Engine it is always the config interfaces that we define. They >will always assume versioning. Like >EngineConfigurationProvider.getConfig(versionStamp) and >.getCurrentVersionStamp(). It's just that some simple >

Bug in JavaWriter?

2002-02-06 Thread gcasper
Hi, I changed Calculator.jws to return void (just a test). "/axis/Calculator.jws?WSDL" looks ok to me: http://localhost:81/axis/Calculator.jws"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:serviceNS="http://localhost:81/axis/Calculator.jws"; xmlns:ns1="java" xmlns:soap="http://sc