homepage Welcome to WebmasterWorld Guest from 54.198.139.141
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Using an object when calling a webservice.
Objects and webservice.
macupryk




msg:3837745
 8:57 pm on Jan 29, 2009 (gmt 0)

[WebMethod(Description = "Perform a modify Subscriber Services for Rogers")]

public TransactionStatus modifySubscriberServices(

string transactionId,

string ctn,

string pricePlanCode,

Service[] service)

{

TransactionStatus TS = new TransactionStatus();

TS.transactionId = "01234567890123456789";

TS.englishMessage = "Modify Subscriber";

TS.frenchMessage = "Francais";

TS.errorDescription = "Error on Rogers";

TS.status = TransactionStatus.TransactionStatusStatus.apperror;

return TS;

}

If I remove Service[] service then I can see the fields when I invoke the web service.

 

httpwebwitch




msg:3838613
 9:37 pm on Jan 30, 2009 (gmt 0)

Welcome to WebmasterWorld, macupryk!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved