Hi Sidd,
Thanks very much for your reply. By WSE proxy you mean the class ending in
Wse, right?
When I add a web reference there are two classes generated by VS, e.g.
WebService and WebServiceWse. I've just checked and I am using the Wse one.
Also when I right click on the project and go to "WSE Settings 2.0", in the
General tab the first checkbox (Enable this project for Web Service
Enhancements) is checked, and in the Diagnostics tab the "Enable Trace
Message" is checked, and input and output files are specified. I've given
full control to these files (and the directory) to all users.
Is there anything else I may have missed?
thanks,
Kostas
[quoted text, click to view] "Sidd" wrote:
> Hi Kostas,
>
> Are you actually using the WSE proxy to send these messages to the web
> services? or are you using the plain ASMX proxy to send these messages? If
> you want to get your output messages traced, you have to use the wse client
> proxy (assuming this is using http).
>
> Please let me know if this helps,
>
> Sidd [MSFT]
>
> "Kostas" <Kostas@discussions.microsoft.com> wrote in message
> news:61485A75-71E6-4D2D-8CE6-F2F1FF3D77D8@microsoft.com...
> > I have written a simple Windows form that consumes a number of web
> services.
> > I would like to see the raw XML of the requests and responses.
> > I've installed WSE 2.0, and added the following lines in my application
> > configuration file:
> > <configuration>
> > <configSections>
> > <section name="microsoft.web.services2"
> > type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
> > Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
> > PublicKeyToken=31bf3856ad364e35" />
> > </configSections>
> > <microsoft.web.services2>
> > <diagnostics>
> > <trace enabled="true"
> > input="c:\temp\inputTrace.webinfo"
> > output="c:\temp\outputTrace.webinfo" />
> > </diagnostics>
> > </microsoft.web.services2>
> > </configuration>
> >
> > I've also made sure that the c:\temp directory and the two trace files
> have
> > full permissions.
> >
> > However nothing gets written to the files. Does anyone have any ideas as
> to
> > what I'm doing wrong?
> >
> > many thanks,
> >
> > Kostas
>
>
Ah, got it. I just deleted the files and they were created and populated fine.
I was under the impression that it would append to existing files...
Kostas
[quoted text, click to view] "Kostas" wrote:
> Hi Sidd,
>
> Thanks very much for your reply. By WSE proxy you mean the class ending in
> Wse, right?
>
> When I add a web reference there are two classes generated by VS, e.g.
> WebService and WebServiceWse. I've just checked and I am using the Wse one.
> Also when I right click on the project and go to "WSE Settings 2.0", in the
> General tab the first checkbox (Enable this project for Web Service
> Enhancements) is checked, and in the Diagnostics tab the "Enable Trace
> Message" is checked, and input and output files are specified. I've given
> full control to these files (and the directory) to all users.
>
> Is there anything else I may have missed?
>
> thanks,
>
> Kostas
>
> "Sidd" wrote:
>
> > Hi Kostas,
> >
> > Are you actually using the WSE proxy to send these messages to the web
> > services? or are you using the plain ASMX proxy to send these messages? If
> > you want to get your output messages traced, you have to use the wse client
> > proxy (assuming this is using http).
> >
> > Please let me know if this helps,
> >
> > Sidd [MSFT]
> >
> > "Kostas" <Kostas@discussions.microsoft.com> wrote in message
> > news:61485A75-71E6-4D2D-8CE6-F2F1FF3D77D8@microsoft.com...
> > > I have written a simple Windows form that consumes a number of web
> > services.
> > > I would like to see the raw XML of the requests and responses.
> > > I've installed WSE 2.0, and added the following lines in my application
> > > configuration file:
> > > <configuration>
> > > <configSections>
> > > <section name="microsoft.web.services2"
> > > type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
> > > Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
> > > PublicKeyToken=31bf3856ad364e35" />
> > > </configSections>
> > > <microsoft.web.services2>
> > > <diagnostics>
> > > <trace enabled="true"
> > > input="c:\temp\inputTrace.webinfo"
> > > output="c:\temp\outputTrace.webinfo" />
> > > </diagnostics>
> > > </microsoft.web.services2>
> > > </configuration>
> > >
> > > I've also made sure that the c:\temp directory and the two trace files
> > have
> > > full permissions.
> > >
> > > However nothing gets written to the files. Does anyone have any ideas as
> > to
> > > what I'm doing wrong?
> > >
> > > many thanks,
> > >
> > > Kostas
> >
> >
Don't see what you're looking for? Try a search.