|
-
October 27th, 2006, 11:19 AM
#1
Web services response question
Hi,
I'm working on a project which requires parsing the SOAP responses from webservices. All the test services I've produced in VS 2005 have returned data in the format
Code:
<soap:Envelope .....>
<soap:Body .....>
<TestServiceResponse xmlns=...>
<TestServiceResult>
... response attributes here ...
</TestServiceResult>
</TestServiceResponse>
</soap:Body>
</soap:Envelope>
So far, the program I have can parse results in that format. My question is, is it valid for a web service response to contain either
a) multiple TestServiceResponse sections
b) multiple TestServiceResult sections in a TestServiceResponse block
or would there only ever be a maximum of one of each block? (I know VS can omit the TestServiceResponse tag by changing the wrapped option).
Thanks in advance,
Adam
-
October 27th, 2006, 11:45 AM
#2
Re: Web services response question
My question is, is it valid for a web service response to contain either...
It could be depending on the webservice. Look at your WSDL and it will tell you.
-
October 30th, 2006, 05:16 AM
#3
Re: Web services response question
 Originally Posted by Mutilated1
It could be depending on the webservice. Look at your WSDL and it will tell you.
Thank you for your help. Unfortunately, this is generic software that won't be used to read from just a single web service, however just knowing it's valid is enough for me to know to account for the possiblility.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|