Compare IBM to Apache

2002-07-01 Thread Johnson, Michael1 [IT]
What are the advantages to using apache SOAP vs say IBMs SOAP bundled with websphere or MS SOAP bundled with .NET? -MJ -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Confusing issue on Maps

2002-07-01 Thread Chris Francis
Not quite, if the type is a Map then a new Hashtable is created with the maps contents. This hashtable is then serialized. At least this is what happened in 2.2. -Original Message- From: Niclas Hedhman [mailto:[EMAIL PROTECTED]] Sent: 01 July 2002 06:21 To: [EMAIL PROTECTED] Subject: Con

Re: Confusing issue on Maps

2002-07-01 Thread Scott Nichol
Niclas, Have you written and executed code that is giving you an error, or are you just raising the issue based on reading code? Chris is quite correct about serialization, and that should work just fine. I am concerned about de-serialization, though, since it appears you will get back a Hashta

Re: Confusing issue on Maps

2002-07-01 Thread Indrasish N Basuroychowdhury
Scott, Can you point me to an example of how to Serialize/Deserialize a Vetor of Objects and send/receive them. Thanks, Indrasish. Scott Nichol wrote: > Niclas, > > Have you written and executed code that is giving you an error, or are you > just raising the issue based on reading code? Chri

Re: Compare IBM to Apache

2002-07-01 Thread Scott Nichol
While this is no definitive, expert comparison, here are some things that come to mind. .NET 1. Best interop with other .NET, including Microsoft extensions to standards 2. You can code in nearly every language but Java (with J# coming soon) 3. With Visual Studio.NET, developers barely need

RE: Compare IBM to Apache

2002-07-01 Thread Johnson, Michael1 [IT]
For myself I was looking at using apache SOAP on websphere. I was look for reasons why it would be beneficial rather than just using what IBM created. Thanks -MJ -Original Message- From: Scott Nichol [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 11:35 AM To: [EMAIL PROTECTED] Su

RE: Compare IBM to Apache

2002-07-01 Thread James M Snell
Apache SOAP is what IBM uses (and originally created... IBM donated it to Apache a while back). - James M Snell/Fresno/IBM Web services architecture and strategy Internet Emerging Technologies, IBM 544.9035 TIE line 559.587.1233 Office 919.486.0077 Voice Mail [EMAIL PROT

Re: Confusing issue on Maps

2002-07-01 Thread Scott Nichol
To clarify something: MapSerializer serializes and deserializes Maps. On the serializer side, this means you can serialize anything that implements Map. On the deserializer side, this means you get something that implements a Map, but you have no control over the actual class. So, you can use a

Re: Confusing issue on Maps

2002-07-01 Thread Niclas Hedhman
On Monday 01 July 2002 23:15, Scott Nichol wrote: > Niclas, > > Have you written and executed code that is giving you an error, or are you > just raising the issue based on reading code? Chris is quite correct about > serialization, and that should work just fine. I am concerned about > de-seria

Re: Confusing issue on Maps

2002-07-01 Thread Niclas Hedhman
On Tuesday 02 July 2002 09:22, Niclas Hedhman wrote: > I'll regenerat the exception in a moment. 2002-07-01 17:26:28,742 ERROR [Module-Actions] ts.TargetSpecificationWizardIterator (TargetSpecificationWizardIterator.java:306) - Unable to create Target Specification. [SOAPException: faultCode=S

Re: Confusing issue on Maps

2002-07-01 Thread Niclas Hedhman
On Tuesday 02 July 2002 09:22, Niclas Hedhman wrote: > On Monday 01 July 2002 23:15, Scott Nichol wrote: > > Have you written and executed code that is giving you an error, or are > > you just raising the issue based on reading code? Also in HashtableSerializer it has a NICE comment at the top;

Re: Confusing issue on Maps

2002-07-01 Thread Scott Nichol
To get a TreeMap or HashMap to serialize using MapSerializer, you can either register the MapSerializer for those types, or specify the parameter as having a Java type of Map, e.g. TreeMap myMap; Vector params = new Vector(); params.addElement(new Parameter("myMap", Map.class, myMap,

Re: Confusing issue on Maps

2002-07-01 Thread Niclas Hedhman
On Tuesday 02 July 2002 09:45, Scott Nichol wrote: > To get a TreeMap or HashMap to serialize using MapSerializer, you can > either register the MapSerializer for those types, or specify the parameter > as having a Java type of Map, e.g. > > TreeMap myMap; > Vector params = new Vector(); >

Re: Confusing issue on Maps

2002-07-01 Thread Scott Nichol
It is "inherent", but only for an exact match of the type Map. When the Parameter instance is created, the type specified there is used to determine the serializer. Specifying the type using HashMap.class does not match the serializer for Map, which is registered using Map.class. Alternatively,

Re: Confusing issue on Maps

2002-07-01 Thread Niclas Hedhman
On Tuesday 02 July 2002 10:00, Scott Nichol wrote: > It is "inherent", but only for an exact match of the type Map. When the > Parameter instance is created, the type specified there is used to > determine the serializer. Specifying the type using HashMap.class does not > match the serializer fo

Re: Confusing issue on Maps

2002-07-01 Thread Scott Nichol
- Original Message - From: "Niclas Hedhman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 01, 2002 10:26 PM Subject: Re: Confusing issue on Maps > On Tuesday 02 July 2002 10:00, Scott Nichol wrote: > > It is "inherent", but only for an exact match of the type Map. When

RE: Confusing issue on Maps

2002-07-01 Thread SoumenS
The idea that "Apache SOAP forces you to be explicit about type" is a barrier in good system design. This breaks abstraction. I should be able to use a serializer for HashMap class where a serializer for Map is expected. Some runtime interaction causes search for Map serializer. If there is one --

Re: Confusing issue on Maps

2002-07-01 Thread Scott Nichol
Soumen, I am not a CORBA expert. When calling a method on a remote object, is the IDL for the method used to determine how to marshal the parameters, or is an instance of a type in a particular language always marshalled the same way? Something that distinguishes SOAP from, say, RMI is that the

RE: Confusing issue on Maps

2002-07-01 Thread SoumenS
Scott, Neither am I a CORBA expert. However, as a OO Software developer with CORBA experience, I can answer your first question with the following statements: SOAP is a XML based messaging protocol -- it does not care what kind of higher software layer is using it. However, a higher lay

Re: Confusing issue on Maps

2002-07-01 Thread Niclas Hedhman
On Tuesday 02 July 2002 13:36, [EMAIL PROTECTED] wrote: > I will conclude by totally agreeing with your last paragraph -- the scope > of application of SOAP is not clear to some. If one likes transparency at a > distributed OO programming level use EJB/CORBA. There are "distributed concerns" that

Sample application using soap

2002-07-01 Thread Sridhar
Hi ,   I would like to first start with a sample soap application, can anybody guide me throught the process   what do i need to downl load and where do i get the examples??   Best Regards, Sridha