-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again...

I have a problem again... (I'd prefer to be helpful, but I lack the skills...)

I have a Wsdl/xsd combination which says, basically:

Service X, port Y,
Operation Z is bound to Y, document/literal

Z follows a Request/Response pattern.

the Z-Response has just one part, of ZResponseType which is defined as a 
complex type,
a maxOccurs="unbounded" sequence of type A.

My problem is:
- - Wsdl2Java generates a Z() method which returns A[] instead of ZResponseType
- - the outputted xml response is
        <ZResult >
            <item xsi:type="ns1:A" xmlns="" xmlns:ns1="bla">
                <ns2:PartOfA xmlns:ns2="fubar">content1</ns2:PartOfA>
            </item>
        </ZResult>
  but I'd expect more something like this:
        <ZResult >
            <ns1:A" xmlns:ns1="bla">
                <ns2:PartOfA xmlns:ns2="fubar">content2</ns2:PartOfA>
            </ns1:A>
        </ZResult>


What can be wrong in my setup? How could I solve these two issues? (which seem 
to be related)
I found somehow a reference to this "empty-namespace":item element in the 
ArraySerializer, but
didn't really delved into this thing.

Best regards,

Frederic
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDcfCDI2DtRxYpxaARAk1sAJ4scSodYOvVI1sZj3ovsLQP/7lb6gCfStVx
UnnOBz+8KIv6unwKbOAO/HQ=
=EUrE
-----END PGP SIGNATURE-----

Reply via email to