Specify schema for web service result in service description

B

billmiami2

I'm creating an ASP.NET web service with a number of web methods. The
consumers of these web services are developers using Macromedia Flash
which comes with its own interface for web services. In order that
these developers can take full advantage of the web services, it
appears that I need to return output data types in my service
description (i.e., before the method is called and the dataset
returned), not just input data types. Note that each method returns a
dataset created from a SQL Server stored procedure.

For example, when I browse the description for one particular method, I
get the following:
________________________________________
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Organization_MenuResponse xmlns="http://tempuri.org">
<Organization_MenuResult>
<xsd:schema>schema</xsd:schema>xml</Organization_MenuResult>
</Organization_MenuResponse>
</soap:Body>
</soap:Envelope>
_________________________________________________

Instead of providing an output schema, it simply says "schema". How do
I specify an output schema for each method call? I can create xsd
files for each method but how do I make the web service incorporate
them into the SOAP body?

Bill E.
Hollywood, FL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,529
Members
45,001
Latest member
Kendra00E1

Latest Threads

Top