2 Replies Latest reply on Sep 19, 2006 3:51 PM by thomas.diesler

    JbossXB bindings

    mauro.mellino

      Hi

      I've been looking into serializing custom java objects based on JBoss 1.0.2 using rpc style services.

      AFAIK, the jboss XB framework is being used. Furthermore i have seen from the wiki that this framework supports custom serialization based on schema annotations.

      Has anyone tried this successfully and can provide pointers?

      I have tried the following:

      <xsd:annotation>
       <xsd:appinfo>
       <jbxb:value marshalMethod="com.test.components.ValueMarshaler.marshal"/>
       </xsd:appinfo>
      </xsd:annotation>


      in the schema declaration for one of my custom types. Is this the right approach? I have had little luck on google/wiki/etc.

      Thanks for any help.