• 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: Webservice Serializing/Deserializing WOStringKeyMap fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webservice Serializing/Deserializing WOStringKeyMap fails


  • Subject: Re: Webservice Serializing/Deserializing WOStringKeyMap fails
  • From: Mike Schrag <email@hidden>
  • Date: Thu, 27 Apr 2006 18:46:53 -0400

5.3.x and wsdl generation DOES work. This is actually one of the few things that IS on the wikibook :)
http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Services/ Web_Service_Provider


Let me know if there is still something that isn't clear after this and I'll revise it.

ms

On Apr 27, 2006, at 6:00 PM, Pierre Frisch wrote:

Mike,

Are you working with 5.3.x or 5.2.x? Are you using D2WebServices? or do it custom? Does your wsdl generation work?

Pierre

On 27-Apr-06, at 11:45 AM, Mike Schrag wrote:

WO definitely supports non-primitive types with Axis ... We have several custom object types that I register with:

public static void registerType(Class _class, QName _qName) {
WOWebServiceRegistrar.registerFactoriesForClassWithQName(new BeanSerializerFactory(_class, _qName), new BeanDeserializerFactory (_class, _qName), _class, _qName);
}


ms

On Apr 27, 2006, at 2:38 PM, Trond Kandal wrote:

Kristof Cossement wrote:
Hey everyone,
I try to create a webservice with one input parameter of type WOStringKeyMap.
WOStringKeyMap has a serializer and a deserializer class ! However exchanging the hash through webservices is not working in Webobjects!
Has anyone experienced this too? Does anyone have a workaround ?

no, i do not have a workaround but i think that axis which is used in wo only supports primitive object-types( which is defined in java.lang and arrays of these objects). the problem is that WOStringKeyMap is a object that is only defined in the wo-framework. i think you will have to write a replacement for axis in order to serialize custom objects like WOStringKeyMap.


trond. -- Trond Kandal Organisasjonsavd. voice: +47 73597497 Integrasjonsgruppa NTNU mobile:+47 91897110 IT-seksjonen 7491 Trondheim fax: +47 73598200 http://www.itea.ntnu.no/integrasjon

This is Unix land.
In quiet nights you can hear M$-Windoze machines reboot.
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@spearway.com


This email sent to email@hidden



_______________________________________________ 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: 
 >reproduction of mailing list posts (From: Mike Schrag <email@hidden>)
 >Re: Webservice Serializing/Deserializing WOStringKeyMap fails (From: Mike Schrag <email@hidden>)
 >Re: Webservice Serializing/Deserializing WOStringKeyMap fails (From: Pierre Frisch <email@hidden>)

  • Prev by Date: Re: Webservice Serializing/Deserializing WOStringKeyMap fails
  • Next by Date: Problem loading the D2W assistant
  • Previous by thread: Re: Webservice Serializing/Deserializing WOStringKeyMap fails
  • Next by thread: Scheduled WOApps not scheduled
  • Index(es):
    • Date
    • Thread