Welcome to WebmasterWorld Guest from

Forum Moderators: httpwebwitch

Message Too Old, No Replies

Using an object when calling a webservice.

Objects and webservice.



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

5+ Year Member

[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)

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

Welcome to WebmasterWorld, macupryk!

Featured Threads

Hot Threads This Week

Hot Threads This Month