SoapExtensionReflector

S

shell77

Hi

I am trying to use SoapExtensionReflector class to remove the output message
from the wsdl:eek:peration element from my WSDL. I need the web service's wsdl
to have just this:
<wsdl:eek:peration name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
</wsdl:eek:peration>

not

<wsdl:eek:peration name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
<wsdl:eek:utput message="tns:ASyncGetDataSoapOut" />
</wsdl:eek:peration>

I was hoping to do somethis like:

ServiceDescription description = ReflectionContext.ServiceDescription;
description.PortTypes[0].Operations[0].Messages.RemoveAt(0);

but it throws an error.
Any help please?
 
J

John Saunders [MVP]

shell77 said:
Hi

I am trying to use SoapExtensionReflector class to remove the output
message
from the wsdl:eek:peration element from my WSDL. I need the web service's
wsdl
to have just this:
<wsdl:eek:peration name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
</wsdl:eek:peration>

not

<wsdl:eek:peration name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
<wsdl:eek:utput message="tns:ASyncGetDataSoapOut" />
</wsdl:eek:peration>

I was hoping to do somethis like:

ServiceDescription description = ReflectionContext.ServiceDescription;
description.PortTypes[0].Operations[0].Messages.RemoveAt(0);

but it throws an error.
Any help please?

I presume that you can't just define your method as void?
 

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
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top