Re: Webservice Serializing/Deserializing WOStringKeyMap fails
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