all groups > dotnet remoting > april 2008 >
You're in the

dotnet remoting

group:

Web Service


Web Service Peter Bradley
4/2/2008 9:16:12 AM
dotnet remoting:
I'm not sure if this is the correct forum for posting queries about .NET
Web services. If it isn't, please point me in the right direction, and
I'll trouble you no more.

I have to write an application that will interact with a Web service
exposed by a partner organisation. Unfortunately the Web service will
not be available until late summer: too late for us to develop a client.

Ideally, therefore, I'd like to develop a client from the wsdl, which is
available. For your information, I've posted to wsdl files on my
personal Web site:

http://www.peredur.uklinux.net/slcxsd/HEICourseDBWebService.wsdl
http://www.peredur.uklinux.net/slcxsd/HEICourseDatabaseMessages.wsdl

As you will see, the first file imports the second.

In order to get something to work with, I have tried to construct an
interface for the Web service using the wsdl.exe utility:

C:\XmlProjects\SlcDatabaase>wsdl.exe /serverinterface
heicoursedbwebservice.wsdl

This fails with the following message:

Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: Cannot find definition for
http://www.slc.co.uk/course/messages/1.0:CourseDatabaseServicePortType.
Service Description with namespace
http://www.slc.co.uk/course/messages/1.0 is missing.
Parameter name: name

Can anyone see where I'm going wrong?

Many thanks



Re: Web Service [SOLVED] Peter Bradley
4/3/2008 9:16:36 AM
[quoted text, click to view]
<snip />

I realised that I could put all the files up on a Web server and create
a Web reference in a VS project.

The reference.cs file give me all I need.

Thanks


AddThis Social Bookmark Button