HighTechTalks DotNet Forums  

How to change the serialization of Parameters????

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss How to change the serialization of Parameters???? in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Carsten
 
Posts: n/a

Default How to change the serialization of Parameters???? - 07-07-2010 , 03:35 AM






I've to implement a webservice which was first implemented with java. One
Method takes an Array like this:

public List<RateResponseType> getValidRates(RatesParam[] param)

This means for the serialization that the xml would look like this:
<getValidRates xmlns="">
<param xmlns="">
<RatesParam occupancy="int" >
<RatesParam occupancy="int" >
</param>
</getValidRates>


In java the developer used three dots within the parameter which means one
or more. I would like to use the soapbody without the node param like in the
java version:

<getValidRates xmlns="">
<RatesParam occupancy="int" >
<RatesParam occupancy="int" >
</getValidRates>

So what do I have to change?

Regards

Carsten

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.