Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Consuming a web service with non-primitive type parameter

Status
Not open for further replies.

xcaliber2222

Programmer
Apr 10, 2008
70
US
Hello,

I have a WebMethod that is using a non-primitive tyupe parm (actually a generict list). So, I cannot use the standard UI test harness to enter parms for testing. Can someone please show me how I could write a little test app to consume the web service. I saw this post which talks about it ( but could not find a post which actually has a walkthrough for creating a test class to consume the web service with a non-primitive type. If anyone could point me in the right direction or send me an example I would really appreciate it.

Thanks,
Alejandro
 
try consuming an array of the type, rather than a list. you may also want to look in to the json format to submit the data.

Jason Meckley
Programmer
Specialty Bakers, Inc.

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top