axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Yves Baudy <jy.ba...@free.fr>
Subject > > For ParameterInfo.java the fix concern this kind of declaration in the > schema declaration part : > ... > <xsd:element maxOccurs="1" minOccurs="0" ref="tns:Input"/> > ... > The fix avoid to have a type and variable with the same name. I still > have compilation fail when maxOccurs="unbounded"
Date Tue, 09 Mar 2004 09:42:30 GMT
 
	Please see the attched WSDL. Does it shows this "unbounded" issue ?.

 But I see that there is another issue. That is the return values of the

 method are complex type arrays
	RE: Generating wrapped doc/lit style code
 by WSDL2Ws tool
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


Susantha,

Thanks for applying patches. About array in input/output method this is 
the problem I have and I solved it in WSDL2Ws.

There is one think that make me  perplex about simpleType. In your 
sample you have simpleTypes. The actual implementation of simpleType for 
document/literal style is wrong for me (need to be confirmed).

With the current implementation the following schema declaration :

...
          <s:element name="aThing" type="s0:aThing" final="restriction"/>
           <s:simpleType name="aThing">
               <s:restriction base="s:string">
                   <s:maxLength value="255"/>
               </s:restriction>
            </s:simpleType>
..

Will produce the SOAP request ;

...
	<value>aThing Test</value>
...

But I think that for simpleType in doc/lit the value tag must be 
omitted. All the simpleTypes should be serialized and deserialazed as 
sort of PCDATA. If true the runtime will need some extra API such as 
GetAsPcData(..) and GetPcDataAsString|Int...(...).

I modified the WSDL2Ws to go in this way. But I will prefer to extend 
the runtime API.

Regards,

Jean-Yves



 >>
 >> For ParameterInfo.java the fix concern this kind  of declaration in 
 >>the
 >> schema declaration part :
 >> ...
 >> <xsd:element maxOccurs="1" minOccurs="0" ref="tns:Input"/>
 >> ...
 >> The fix avoid to have a type and variable with the same name. I still
 >> have compilation fail when maxOccurs="unbounded"

 >Please see the attched WSDL. Does it shows this "unbounded" issue ?.
 >But I see that there is another issue. That is the return values of the
 >method are complex type arrays
 >But the method in the generated code returns only 2 objects not 2 >arrays.

Mime
View raw message