# Complex Type in SOAP Webservice

**URL:** https://forum.kirupa.com/t/complex-type-in-soap-webservice/331871
**Category:** flash
**Created:** [November 13, 2013, 10:31am UTC](https://forum.kirupa.com/t/complex-type-in-soap-webservice/331871 "2013-11-13T10:31:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Chicopi](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@Chicopi](https://forum.kirupa.com/u/Chicopi)
#### Post date: [November 13, 2013, 10:31am UTC](https://forum.kirupa.com/t/complex-type-in-soap-webservice/331871/1 "2013-11-13T10:31:07Z")

</div>

Hi guys,  
Need some help regarding with Complex types in webservice (SOAP).  
I tried using Kirupa’s web service tutorial and worked great, but I have no idea how to use it with complex data types.

Below is the SOAP’s xml structure  
\<name\>  
\<pickUp\>  
\<ServiceType\>string\</ServiceType\>  
\<FirstName\>string\</FirstName\>  
\<LastName\>string\</LastName\>  
\<MiddleName\>string\</MiddleName\>  
\<Address1\>string\</Address1\>  
\<Address2\>string\</Address2\>  
\<Address3\>string\</Address3\>  
\<Address4\>string\</Address4\>  
\<Address5\>string\</Address5\>  
\<Address6\>string\</Address6\>  
\<ZipCode\>string\</ZipCode\>  
\<EmailAddress\>string\</EmailAddress\>  
\<LandLine\>string\</LandLine\>  
\<MobileNo\>string\</MobileNo\>  
\<PreferredPickUpSchedule\>string\</PreferredPickUpSchedule\>  
\<DocumentQuantity\>int\</DocumentQuantity\>  
\<DocumentLength\>int\</DocumentLength\>  
\<DocumentWidth\>int\</DocumentWidth\>  
\<DocumentHeight\>int\</DocumentHeight\>  
\<ParcelQuantity\>int\</ParcelQuantity\>  
\<ParcelLength\>int\</ParcelLength\>  
\<ParcelWidth\>int\</ParcelWidth\>  
\<ParcelHeight\>int\</ParcelHeight\>  
\<BoxesQuantity\>int\</BoxesQuantity\>  
\<BoxesLength\>int\</BoxesLength\>  
\<BoxesWidth\>int\</BoxesWidth\>  
\<BoxesHeight\>int\</BoxesHeight\>  
\</pickUp\>  
\<CreatedBy\>string\</CreatedBy\>  
\<UserId\>string\</UserId\>  
\</name\>

Hope someone can help me here 🙂

Thanks!  
CJ
