Hi ,

I am using JBoss4.0.2 and should make WEB Service which has WSDL
<complexType name="Address">
  |    <sequence>      
  |       <element name="city" nillable="true" type="xsd:string"/>      
  |       <element name="street" nillable="true" type="xsd:string"/>      
  |       <element name="streetNo" type="xsd:int"/>   
  |    </sequence>
  | </complexType>
  | <complexType name="ArrayOfAddress">   
  |    <complexContent>      
  |        <restriction base="soapenc:Array">         
  |            <attribute ref="soapenc:arrayType" 
wsdl:arrayType="impl:Address[]"/>      
  |        </restriction>   
  |    <complexContent>
  | </complexType>

When I try JWSDP (wscompile, wsdeploy) and receive
<complexType name="Address">   
  |    <sequence>      
  |       <element name="city" nillable="true" type="xsd:string"/>      
  |       <element name="street" nillable="true" type="xsd:string"/>      
  |       <element name="streetNo" type="xsd:int"/>   
  |    </sequence>
  | </complexType>
  | <complexType name="AddressArray">   
  |    <sequence>      
  |       <element maxOccurs="unbounded" minOccurs="0" name="addressArray" 
nillable="true" type="tns:Address"/>           
  |    </sequence>
  | </complexType>
How to do restriction base="soapenc:Array" in WSDL?

Thanks for any help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883656#3883656

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883656


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to