Adhering to a particular WSDL - basics

Discussion in 'ASP .Net Web Services' started by Sinex, Apr 25, 2007.

  1. Sinex

    Sinex Guest

    Hi !
    Am writing a webservice that will be called by another web service. Now, I
    understand that we have to agree on a contract before the two web services
    can talk to each other. How should I proceed?

    I've been given a WSDL specifying the types and messages. Now, how do I
    write my webservice such that it adheres to this WSDL?

    One use case is:
    Client will call my web service requesting for a list of employees. I'm
    retrieving the records from my DB and now have to send it back to the
    client. There is a type in the WSDL that defines "Employee". So, do i have
    to define a class in my code matching this type definition in WSDL? After
    that do I just serialize the employee record into xml and send it back to
    the client?

    Any samples/links to samples will be helpful !

    regards,
    Sinex
     
    Sinex, Apr 25, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brendan Illingworth

    Book on VHDL basics and HDL based design

    Brendan Illingworth, Jan 13, 2006, in forum: VHDL
    Replies:
    2
    Views:
    2,248
    Ralf Hildebrandt
    Jan 13, 2006
  2. Dark
    Replies:
    1
    Views:
    4,936
    milfar
    Nov 14, 2008
  3. Chris Bedford
    Replies:
    0
    Views:
    769
    Chris Bedford
    Aug 21, 2003
  4. Stephen Edgecombe

    WSDL.EXE: WSDL Import Directive

    Stephen Edgecombe, Aug 13, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    468
    Stephen Edgecombe
    Aug 13, 2003
  5. RH
    Replies:
    1
    Views:
    569
    Dino Chiesa [Microsoft]
    May 27, 2004
  6. mrnu

    wsdl.exe fails with WebMethods generated wsdl file

    mrnu, Jun 7, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    457
  7. Generate verbose WSDL from WSDL with imports

    , Apr 26, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    380
  8. Replies:
    3
    Views:
    722
    John Saunders
    Oct 7, 2008
Loading...