Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Using an object when calling a webservice.

Objects and webservice.

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

New User

10+ Year Member

joined:Jan 29, 2009
votes: 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.

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

Senior Member from CA 

WebmasterWorld Senior Member httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 29, 2003
votes: 0

Welcome to WebmasterWorld, macupryk!