need advice on adding a Serialization override in web services
need advice on adding a Serialization override in web services
- Subject: need advice on adding a Serialization override in web services
- From: Daniel Morrow <email@hidden>
- Date: Thu, 19 May 2005 09:16:42 -0400
Dear list,
I'm writing a Cocoa app, which is a web-services client. It has been
communicating with a .NET based web-service, but now I'm trying to
communicate to an Axis-based web-service.
The problem is that CFDataRefs are serialized (slightly) incorrectly.
In the SOAP packet, any parameter which was passed as a CFDataRef is
Base64 encoded, and given a type of "base64". When Axis receives this
SOAP packet, it sees the type is "base64" and says "What the hell is
this? I was expecting a base64Binary" and decides not to deal with
it. The .NET solution doesn't seem to be paying attention to these
types and processes it as you'd expect.
(In 10.4 Tiger, this doesn't happen. It flags the type as
"base64Binary". But in 10.3, it's just "base64". I'd like to keep my
software requirements at 10.3 if at all possible).
So, my thought is that I could apply a serialization override to
CFDataRef? Is there a way I can point to the old function, but just
change the type? Or do I need to write a Base64 encoding routine? Any
info on this would be greatly appreciated.
Thanks,
-Dan.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden