Hi

 

Currently I try my first xsd2jibx.

I have a complex type like this one in my xsd

      <xsd:complexType name="ksvLogin">

            <xsd:annotation>

                  <xsd:documentation>request Login</xsd:documentation>

            </xsd:annotation>

            <xsd:all>

                  <xsd:element name="request">

                        <xsd:complexType>

                             <xsd:sequence>

                                   <xsd:element name="payload">

                                         <xsd:complexType>

                                               <xsd:sequence>

                                                     <xsd:element
name="personId" type="string">

                                                           <xsd:annotation>

 
<xsd:documentation>manchmal auch User-Id genannt</xsd:documentation>

                                                           </xsd:annotation>

                                                     </xsd:element>

                                                     <xsd:element
name="clearingId" type="string">

                                                           <xsd:annotation>

 
<xsd:documentation>manchmal auch Identification-Id
genannt</xsd:documentation>

                                                           </xsd:annotation>

                                                     </xsd:element>

                                                     <xsd:element
name="effectiveId" type="string"

                                                           minOccurs="0" />

                                                     <xsd:element
name="password" type="string" />

                                               </xsd:sequence>

                                         </xsd:complexType>

                                   </xsd:element>

                             </xsd:sequence>

                             <xsd:attribute name="method" type="string"
use="required"

                                   fixed="ksvLogin" />

                             <xsd:attribute name="invoke" type="string"
use="optional"

                                   fixed="invoke" />

                        </xsd:complexType>

                  </xsd:element>

            </xsd:all>

      </xsd:complexType>

 

My binding will look like this:

  <mapping name="ksvLogin"
class="at.spardat.ksv.services.premium.lite.type.KsvLogin">

    <namespace uri="urn:ksv-premium-lite-type" default="elements"/>

  </mapping>

 

So from the binding state of view it is ok that my generated Java class is
empty (only Contructor)

But why it the complex type called "request" missing in the ksvLogin
mapping?

 

Thx

Georg weidenauer

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to