ASP.NET 1.1As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
in the same path, i have my MathService.asmx,MathService.wsdl,MathService.vb,M athServiceClient.aspx, but when i run the MathServiceClient.aspx, error occured. All my code is correct, to use web service, what else i have to do?
MathServiceClient.aspx isn't a web service. It's a web page. What are you trying to do on that page? To use the web service, you use the web service "page" MathService.asmx.
Perhaps you are attempting to consume the web service on that page. What error(s) are you getting?
The error is:
row 22:Dim Service As MathServiceVB.MathService = New MathServiceVB.MathService()
undefined type of "MathServiceVB.MathService".
but after i do the command line:wsdl /l:VB /n:MathServiceVB /out:MathService.vb MathService.wsdl
i can find "Namespace MathServiceVB" in the MathService.vb file.