You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2008/10/03 22:55:44 UTC
[jira] Issue Comment Edited: (AXISCPP-1002) Support for xsd:anyType
[ https://issues.apache.org/jira/browse/AXISCPP-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628780#action_12628780 ]
nadiramra edited comment on AXISCPP-1002 at 10/3/08 1:54 PM:
--------------------------------------------------------------
For xsd:anyType, we will create a new primitive datatype, xsd__anyType, that is basically a string.
Stay tuned.
was (Author: nadiramra):
The current implementation for xsd:any element is to map it to the following c++ structure:
The current implement for xsd:any element is to map it to following c++ class:
class STORAGE_CLASS_INFO AnyType
{
public:
AnyType();
~AnyType();
/**
* _array Contains an array of xml encoded strings.
*/
XML_String* _array;
/**
* _size Contains how many xml strings are there in _array
*/
int _size;
};
I have used the same structure for xsd:anyType's. Stage one has been completed in SVN revision 696485 (http://svn.apache.org/viewvc?view=rev&revision=696485). Basically stage one does not handle arrays of anyType's. That will be forthcoming.
> Support for xsd:anyType
> -----------------------
>
> Key: AXISCPP-1002
> URL: https://issues.apache.org/jira/browse/AXISCPP-1002
> Project: Axis-C++
> Issue Type: New Feature
> Components: Serialization
> Affects Versions: 1.6 Beta
> Environment: Windows XP client (AXIS/C++ version 1.6b ), VMware ESX 3.0 server (Axis/Java version 1.2.1)
> Reporter: Matt Love
> Attachments: patch, vimsdk.zip
>
>
> Axis/C++ currently doesn't seem to allow me to send the typename of a complex object down to the serializer. This is causing problems when trying to serialize a 'derived' object, as the server cannot identifiy the correct derived type without xsi:type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org