homepage Welcome to WebmasterWorld Guest from 54.166.255.168
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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

5+ Year Member



 
Msg#: 3837743 posted 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

WebmasterWorld Administrator httpwebwitch us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3837743 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved