So, here's my first problem :-)
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax"/>
<element name="XPath" type="string"/>
</choice>
<attribute name="Algorithm" type="anyURI" use="required"/>
</complexType>
the element "XPath" is not created as Java class, hence cannot be
Unmarshalled. The class TransformType has getter and setter for "String
getContent()" and "setContent(String)"
Is it possible to use some sort of mapping? How?
kind regards
Mike
Mike Haller schrieb:
Hi all,
i'm pretty new to Castor, currently writing my diploma thesis.
I have my own business model as XML Schema, and I use Apache Axis to
transmit the objects between clients and server. The source code is
generated by Castor, and all this works like a charm.
Now I wanted them (the business objects) to be digitally signed using
XML-Security. But after being signed, they cannot be Unmarshalled by
Castor anymore.
Is it the right way to import the XML-Security Schema into my own
business schema, and thus creating lots of additional Java classes of
the XML-Security package, or should I use another way?
My Plan is:
- Import xmldsig-core-schema.xsd into my-business.xsd
- Generate business-classes and xmldsig-classes
If anyone can push me in the right direction, i'll appreciate it :-)
kind regards
Mike
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message
to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------