WSDL: What do I do with it? Add service Reference? Noobie question

Posted by Johnny on Stack Overflow See other posts from Stack Overflow or by Johnny
Published on 2010-06-16T16:08:40Z Indexed on 2010/06/16 16:42 UTC
Read the original article Hit count: 403

Filed under:
|
|

Hey guys! I have been given a WSDL with all the method requests and responses, and all the objects I'll need to use for creating a few webmethods.

The thing is, I don't know what to do with it. I've added the WSDL as a Service Reference. I can see the methods and structures, I can instantiate them, it's all there, but the project doesn't build as soon as I add the WSDL.

"Error 2 The type name 'ServiceReference1' does not exist in the type 'WSPELab.WSPELab' C:\Users\JJ\Documents\Visual Studio 2008\Projects\WSPELab\WSPELab\Service References\ServiceReference1\Reference.cs 21 111 WSPELabSLN

Is it a stupid namespace error on my part?

EDIT : Forgot to add this. With the WSDL added, can I used the structures it contains directly? Or are they just "listings" for me to implement?

Thanks!

© Stack Overflow or respective owner

Related posts about web-services

Related posts about wsdl