S
shell77
Hi
I am trying to use SoapExtensionReflector class to remove the output message
from the wsdl
peration element from my WSDL. I need the web service's wsdl
to have just this:
<wsdl
peration name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
</wsdl
peration>
not
<wsdl
peration name="ASyncGetData">
<wsdl:input message="tns:ASyncGetDataSoapIn" />
<wsdl
utput message="tns:ASyncGetDataSoapOut" />
</wsdl
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 am trying to use SoapExtensionReflector class to remove the output message
from the wsdl
to have just this:
<wsdl
<wsdl:input message="tns:ASyncGetDataSoapIn" />
</wsdl
not
<wsdl
<wsdl:input message="tns:ASyncGetDataSoapIn" />
<wsdl
</wsdl
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?