DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 8 Aug 2007 04:28:02 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    shell77
          2    John Saunders [MVP] john.saunders at trizetto.com


SoapExtensionReflector   
Hi

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

not

  <wsdl:operation name="ASyncGetData">
      <wsdl:input message="tns:ASyncGetDataSoapIn" /> 
      <wsdl:output message="tns:ASyncGetDataSoapOut" /> 
  </wsdl:operation>

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?
Date:Wed, 8 Aug 2007 04:28:02 -0700   Author:  

Re: SoapExtensionReflector   
"shell77"  wrote in message 
news:866CF04A-AF17-4119-BCD5-F77B6102D0C1@microsoft.com...

> Hi
>
> I am trying to use SoapExtensionReflector class to remove the output 
> message
> from the wsdl:operation element from my WSDL. I need the web service's 
> wsdl
> to have just this:
> <wsdl:operation name="ASyncGetData">
>      <wsdl:input message="tns:ASyncGetDataSoapIn" />
>  </wsdl:operation>
>
> not
>
>  <wsdl:operation name="ASyncGetData">
>      <wsdl:input message="tns:ASyncGetDataSoapIn" />
>      <wsdl:output message="tns:ASyncGetDataSoapOut" />
>  </wsdl:operation>
>
> 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?
-- 
John Saunders [MVP]
Date:Wed, 8 Aug 2007 12:25:15 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us