[Mono-bugs] [Bug 371859] request to Web services does not work (in 2.0 profile?)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 21 15:06:44 EDT 2008


User atsushi at ximian.com added comment

Atsushi Enomoto <atsushi at ximian.com> changed:

           What    |Removed                                         |Added
 Attachment #202646|0                                               |1
        is obsolete|                                                |

--- Comment #2 from Atsushi Enomoto <atsushi at ximian.com>  2008-03-21 13:06:44 MST ---
Created an attachment (id=203440)
 --> (https://bugzilla.novell.com/attachment.cgi?id=203440)
more proposed fix

Now I found more preferred way to fix this issue.

PageParser.GetCompiledPageInstance() currently ignores inputFile argument when
it uses BuildManager (it does in 2.0) but it should not ignore this argument.
Since It is not limited to SoapDocumentationHandler, this fix should apply to
PageParser. And as a result, existing fake path hack could be removed. (and and
IMO it should; I didn't include such a change in this patch though.)

I find another possible bug in SoapDocumentationHandler.ctor(). It does not
actually premise custom WSDL help page because it always premise path as
equivalent to machine.config (so even if a web app contains <wsdlHelpGenerator
href="blabla.aspx" />, it will result in "no such file" error). In such case
I'd pass null inputFile so that PageParser can map virtual path (to
wsdlHelpGenerator) to physical path.

FYI: "inputFile" can be null in .NET. Try the following code in simple web app
with Default.aspx:

  PageParser.GetCompiledPageInstance("Default.aspx", null, this.Context);

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list