• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems setting up wo app to consume webservices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems setting up wo app to consume webservices


  • Subject: Re: Problems setting up wo app to consume webservices
  • From: jerry porter <email@hidden>
  • Date: Fri, 27 Apr 2007 17:13:32 -0700 (PDT)

thanks for the pointers, I will take a look.


--- Lachlan Deck <email@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>


---- 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Problems setting up wo app to consume webservices (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Problems setting up wo app to consume webservices
  • Next by Date: JDBC Error
  • Previous by thread: Re: Problems setting up wo app to consume webservices
  • Next by thread: Re: Problems setting up wo app to consume webservices
  • Index(es):
    • Date
    • Thread