Wrox Programmer Forums
|
ASP.NET 1.1 As 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
 
Old April 5th, 2004, 03:42 AM
Authorized User
 
Join Date: Apr 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use XML web service?

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?
__________________
Do better than yesterday!
 
Old April 5th, 2004, 06:16 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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?
 
Old April 5th, 2004, 07:44 PM
Authorized User
 
Join Date: Apr 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
xml text reader from Web Service djcowbell .NET Web Services 4 June 27th, 2007 08:40 AM
Calling Axis web service from .Net - XML Exchange Koushik .NET Web Services 0 October 23rd, 2006 11:40 AM
Extract data from the XML result of a web service s.hendy ASP.NET 1.0 and 1.1 Basics 0 March 16th, 2006 12:27 PM
How to send an xml to a web service agbeltekin General .NET 0 May 10th, 2004 09:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.