thanks for the pointers, I will take a look.

--- Lachlan Deck <[EMAIL PROTECTED]> wrote:

> Hi Jerry,
> 
> On 28/04/2007, at 2:03 AM, jerry porter wrote:
> 
> > I am trying to use WO to produces and consume WebServices and I am  
> > running into problems serializing and deserializing Complex Objects.
> >
> > I have looked at the mailing list archives but did not see a solution.
> >
> > I am running WO 5.22 on windows.
> 
> May as well upgrade to 5.2.4.
> 
> > Then I extended the pattern to try a Complex object such as a HashMap.
> >
> >     private static void registerHashMapSerializers() {
> >         registerMap(java.util.HashMap.class, new QName 
> > ("urn:HierarchyServices", "HashMap"));
> >     }
> >     private static void registerMap(Class bean, QName aName) {
> >         WOWebServiceRegistrar.registerFactoriesForClassWithQName 
> > (new BeanSerializerFactory(bean, aName), new BeanDeserializerFactory 
> > (bean, aName), bean, aName);
> >     }
> >
> > However I get a number of errors like:
> >          stackTrace: org.xml.sax.SAXException: Deserializing  
> > parameter 'myHashMap
> > MethodReturn':  could not find deserializer for type  
> > {urn:HierarchyServices}HashMap
> 
> I've not attempted to use maps with Axis yet - but here's what I'd be  
> looking at to make it happen:
> http://ws.apache.org/axis/java/user-guide.html#XMLJavaDataMappingInAxis
> - http://ws.apache.org/axis/java/user- 
> guide.html#HowYourJavaTypesMapToSOAPXMLTypes
> - http://ws.apache.org/axis/java/user- 
> guide.html#WhatAxisCanNotSendViaSOAP
> - http://ws.apache.org/axis/java/user- 
> guide.html#EncodingYourBeansTheBeanSerializer
> - http://ws.apache.org/axis/java/user- 
> guide.html#WhenBeansAreNotEnoughCustomSerialization
> And perhaps:
> - http://ws.apache.org/axis/java/user-guide.html#UsingWSDLWithAxis
> 
> with regards,
> --
> 
> Lachlan Deck
> 
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/jep9816%40yahoo.com
> 
> This email sent to [EMAIL PROTECTED]
> 


---- Being human is the strangest thing I have ever done.

Jerry Porter
IT Distribution MS 34-202
Lincoln Financial Group
One Commerce Square
2005 Market Street
Philadelphia, PA 19103
(215) 255-7031

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to