Re: gzip support

2002-12-19 Thread Chris Schaefer
HTTP has the option of some sort of compression. (zip, gzip? ) So in theory the entire SOAP message can be compressed during transit. In thinking about it, it's possible that this might be more a function of Tomcat ( assuming that's what's hosting your axis servlet ), than of Axis. Finally if you

Re: gzip support

2002-12-19 Thread Toshiyuki Kimura
Hi Brian, (B (B Do you mean that you want to transfer a gzip file via AXIS (Bby using SOAP? If I understood what you said properly, you've (Bjust to implement a SwA(SOAP Messages with Attachments). (B (B Here is the spec: (B (B In addition, you wil

Re: Interoperability Axis with .NET

2002-12-19 Thread Percival
hello chris, Have you tried using the wsdl from your .NET service to generate a stub class in java? This way, invoking a .NET service will be just like calling a local function. Hope this helps. ( ^_^' Regards, Percival Cebu, Philippines On Thu, 19 Dec 2002 11:52:04 +0100, Christian Buchol

RE: Java2WSDL Enum handling question

2002-12-19 Thread Steve Kinsman
If you're using the "typesafe Enum" idiom I'm not sure why you want a default public constructor. Really you only want a private (or protected) constructor which accepts whatever arguments you need for your enum instances, e.g. a description. A default public constructor is needed for BeanSerial

RE: Design question on using Java classes v/s hashes or arrays

2002-12-19 Thread Rajal Shah
I see your point.. If business functionality changes though, then maybe you need to change the method name or something and deprecate the old method.. to solve the issue you bring up. (and work on your SLAs with the clients to make them understand the new behavior or provide both business logic opt

RE: Dynamic Invocation w/ Axis

2002-12-19 Thread Anne Thomas Manes
Vinu, You should use the JAX-RPC DII (see javax.xml.rpc.call) to construct dynamic invocations. A WSDL may have any number of services, bindings, portTypes, and messages. Anne > -Original Message- > From: Vinu Murugesan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 3:28

RE: AdminClient

2002-12-19 Thread Cory Wilkerson
Mike, This looks completely reasonable == I shall give it a run later this evening. For now, I'm going to go the Apache SOAP route I believe -- then come back at it with Axis when I get a few free minutes (deadlines and all). Thanks again, Cory -Original Message- From: Daleiden, Mike

RE: AdminClient

2002-12-19 Thread Daleiden, Mike
Cory - I've implemented code similar to this to deploy/register my service: String opts[] = new String[1]; opts[0] = "-l"; <== e.g., http://localhost:8080/myapp/services/AdminService try { serviceOptions = new Options(opts); } catch (Exception e) { serviceOptions

Re: Dynamic Invocation w/ Axis

2002-12-19 Thread Aleksander Slominski
hi Vinu, WSIF uses WSDL4J to work with WSDL documents and AXIS to execute SOAP bindings - to look on WSIF check its new homepage http://xml.apache.org/axis/wsif/ we are now in process of making first official release you can find current beta version (and tomorrow release candidate) in downlo

RE: AdminClient

2002-12-19 Thread Cory Wilkerson
As a side note -- I should also mention that I've integrated Axis with my pre-existing web-app located at http://localhost. That may be a nice detail to know. Thanks, Cory -Original Message- From: Cory Wilkerson Sent: Thursday, December 19, 2002 2:47 PM To: [EMAIL PROTECTED] Subject: A

AdminClient

2002-12-19 Thread Cory Wilkerson
All, With Apache SOAP I was able to invoke the org.apache.soap.server.ServiceManager client with a url (rpcrouter) at which to register a serivce as described by my descriptor. I don't seem to be able to find the analogous process in AXIS service deployment, ie, I see AdminClient but I don't s

RE: Dynamic Invocation w/ Axis

2002-12-19 Thread Chen, Tony
I am trying to do the same thing. I am using WSIF to do it. You may take a look at the DynamicInvoker example to get an idea. Right now it seems like handling complex data types is the biggest challenge to me. I haven't seen any good example with open source components. I am also new to Web servi

Dynamic Invocation w/ Axis

2002-12-19 Thread Vinu Murugesan
Hello there, I'm trying to create a generic invoker for web services using Axis. If all that you are given is the WSDL file, then how do you go about getting and setting the individual parameters for operations in a SOAP call? I've had some success using the WSDL4J framework for manipulating the W

gzip support

2002-12-19 Thread Brian W. Young
I believe someone posted this question a couple weeks ago with no reply. Perhaps I'll have better luck. Does Axis support gzip streams? This is very important to me, because I am sending a lot of data. With home-grown code, I've witnessed a 2 meg document get compressed to 56K for an incredi

Re: Problems with PROP_SEND_XSI

2002-12-19 Thread Brian Ewins
I only sent the one example in the logs because thats the only thing that axis ever sends, no matter what I do!! But to be explicit: >> 15453 [Thread-4] DEBUG org.apache.axis.client.Call - >> version="1.0" encoding="UTF-8"?> >> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; >> x

Re: Design question on using Java classes v/s hashes or arrays

2002-12-19 Thread Steve Loughran
- Original Message - From: "Rajal Shah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 10:27 Subject: RE: Design question on using Java classes v/s hashes or arrays > Referring to more discussions on the Internet about versioning of web > services, this is

Re: property PROP_SEND_XSI

2002-12-19 Thread Dennis Sosnoski
That looks like the case I mentioned in my previous email, where the SOAP spec requires some form of type on an array definition. I don't think this can be omitted from a SOAP message without invalidating it. - Dennis BOURLON Agnès wrote: Dennis, I don't know if it 's that you need ... but t

Re: Problems with PROP_SEND_XSI

2002-12-19 Thread Dennis Sosnoski
Hi Brian, I don't know about the schema issue. On the xsiTypes issue it'd be useful if you could show what gets sent by Axis when you turn off PROP_SEND_XSI to show what's causing the problem (without your patching anything other than turning off the flag). Axis will still send types at times

RE: Design question on using Java classes v/s hashes or arrays

2002-12-19 Thread Rajal Shah
Referring to more discussions on the Internet about versioning of web services, this is what I recommend:   We need to create a versioning plan for our service that is extensible and one that also guarantees backward compatibility. I've tried out several approaches and that the best practic

RE: Java2WSDL Enum handling question

2002-12-19 Thread Rajal Shah
Exactly.. I used the WSDL2Java tool to convert a Enum declaration to a Java class and I saw these 3 methods in it.. And you need to have one method at least which return "YourEnumClass" to get the schema in the WSDL, I think.. The thing is that, the outputted Java class from WSDL2Java did not have

RE: Reusing Serializer/Deserializer for generic XML loading?

2002-12-19 Thread David Altenburg
Title: RE: Reusing Serializer/Deserializer for generic XML loading? Joel, I've done exactly what you're describing, for the purpose of testing. We've found that using XML tools that can automaticall populate an instance document (such as XML spy), we're able to generate a lot of test data re

Problems with PROP_SEND_XSI

2002-12-19 Thread Brian Ewins
I am trying to get Axis to talk to a web service written by a third party which uses the 1999 Schema. I seem unable to convince Axis to use the 1999 schema, or to turn off sending the xsi:type info, which is causing a validation error at the other end. This whole PROP_SEND_XSI/SEND_TYPE_ATTR is

Re: Is axis support anyType ?

2002-12-19 Thread Benjamin Tomasini
In my understanding, the serialization / deserialization depends on knowing what the type is. Asking Axis to deserialize anyType is just not possible. You would open the door to a large amount of runtime errors. I think your last email said that the method would always return null. If so, I wou

Re: Design question on using Java classes v/s hashes or arrays

2002-12-19 Thread Bill de hÓra
Garbis, Jason wrote: Your option 1 below, is pretty distasteful, since you're bypassing any typechecking, and (more importantly) excluding important information from the WSDL metadata. That is, a user would have to consult some external metadata to understand what is and isn't valid input. Thi

RE: Design question on using Java classes v/s hashes or arrays

2002-12-19 Thread Garbis, Jason
Hi folks, Rajal, you've hit on one of the difficulties of using WS for building a distributed system. WS is not a design center, it's a set of communication protocols. That is, there's no "there" there. Unlike OO systems (like CORBA, or COM, or even EJB) there's nothing to "hang your hat on"

RE: Can't JMS Sample

2002-12-19 Thread David payam
hi Kamesh: Thanks for your advice, I will try the sun j2ee. The JMS Jar file was downloaded from SUN website. Regards David --- Kameshwar Jayaraman <[EMAIL PROTECTED]> wrote: > David, > > MyCF is an Jndi name for the Connection Facotory and > I think you are > using SunOne JMS Provider so p

Re: Returning an Array of Strings...quick start pointers

2002-12-19 Thread James Black
Ken Reek wrote: > I need to retun an array of strings as a result of a call. Any quick > start ideas or pointers...?? I use java2wsdl, and in there I return arrays of strings, and it works fine.

Passing a DataHandler as a Parameter and returning a DataHandler

2002-12-19 Thread Shrotriya, Sumit
Hi All,    I need to pass a DataHandler as a Parameter and return a DataHandler from a service over Axisany quick start pointers or ideas?   Thanks, Sumit  

Reusing Serializer/Deserializer for generic XML loading?

2002-12-19 Thread Joel Grenon
Title: Message I've used WSDL2Java to generate a number of wrappers. Each of those wrappers contains all the code to marshall and unmarshall the object from/to XML. I'd like to reuse this code to help automate my JUnit tests. I have a bunch of test data in XML, which are using the same schem

Re: Stopping the process of invocation by a Handler

2002-12-19 Thread Toshiyuki Kimura
Hi Sepo, (B (B You can find some sample handlers of JAX-RPC implementation (Bat "axis-1_1beta/samples/jaxrpc/hello" in your system. (BI recommend you should refer ONLY source code (*.java) in this (Bdirectory. If you want a sample of HandlerChain definition, (Byou'd better see "axis-1_1beta/

AxisFault or Exception are always printing stack trace

2002-12-19 Thread Sebastian . Beyer
Hi there, my problem is, that if I am throwing an Exception inside a remote called method, the stack trace is always printed on client side. That happens with my own client files, but also with the ones generated by wsdl2java. After the stack trace is printed my catch-blocks are performed as well.

Re: property PROP_SEND_XSI

2002-12-19 Thread BOURLON Agnès
Dennis, I don't know if it 's that you need ... but this is a sample that our client generate : The only complex type specified the "first" object and in this object, the only xsi specified parameters are the arrays (Foo[]) .. http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="urn:MyServic

Interoperability Axis with .NET

2002-12-19 Thread Christian Bucholdt
Hi,   Few days ago I've developed an .NET Webservice with same Methods.   Now I want to use this Methods from a java client. If I call one of the methods without a parameter it works fine.   But, if I want to use a method with a parameter, I get a NullPointerException from the services method

Re: property PROP_SEND_XSI

2002-12-19 Thread Dennis Sosnoski
BOURLON Agnès wrote: Do you know if it can work (no xsi type) with GLUE Server or Apache SOAP Server? I haven't tried eliminating xsi type with either of those, but from what I've seen I think GLUE supports untyped RPC but Apache SOAP does not. Perhaps someone with more experience on these tw

Is axis support anyType ?

2002-12-19 Thread Dongsheng Song
Hi, Is axis support anyType ? If so, give me some examples. Thanks.

Re: property PROP_SEND_XSI

2002-12-19 Thread BOURLON Agnès
Hi Dennis, Thanks for your reply. I know how configure the client to send envelope without xsi types : call.setOption(AxisEngine.PROP_SEND_XSI, new Boolean("false")); I just would like to know if we take the decision to authorize the client to send envelope without xsi types towards our Axis

AW: Stopping the process of invocation by a Handler

2002-12-19 Thread Sebastian . Beyer
Hi toshi, thanks for that detailed answer. If I understood you right it is like this: if I want to stop the chain and return with an error message to the client, this is not possible with the axis-implementation?! So probably I will just set a session-parameter in my handler, that I have to look f

RE: Java2WSDL Enum handling question

2002-12-19 Thread Steve Kinsman
Hi, I missed previous posts on this, and I'm not sure what your exact problem is but maybe the following will help. I develop using Java2WSDL then WSDL2Java, and found that for this to work with enums correctly the original java source needed to have: - a getValue() method - String getValue() -

AW: Returning an Array of Strings...quick start pointers

2002-12-19 Thread Sebastian . Beyer
Title: Nachricht Just try to set your Array as returnvalue of your webservice-method. You should get an Object[] on client side and can simply cast the elements to string -Ursprüngliche Nachricht-Von: Ken Reek [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 18. Dezember 2002

RE: Java2WSDL Enum handling question

2002-12-19 Thread Eirik.Wahl
Hi Rajal! I'm aiming at doing the same, but have had no time yet to look into this. Since nobody else has answered, I wanted to give you this hint (although no solution ... yet): Maybe a way to go is to try this text in your WSDL file, and use WSDL2Java to see what kind of Java code it generate