WSDL definitions

Discussion in 'XML' started by CSG, Jan 27, 2004.

  1. CSG

    CSG Guest

    Hi All,

    I have a simple question that I'm sure someone can explain to me. A
    wsdl file starts off like:

    <definitions name="Hello World"
    targetNamespace="http://hello.wsdl"
    xmlns:tns="http://hello.wsdl"
    etc

    My question is why do we a "targetNamespace" field and a "xmlns:tns"
    field. Are they always the same? What's the difference between them?
    Do we always have to have both?

    Thanks

    Colin
     
    CSG, Jan 27, 2004
    #1
    1. Advertising

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. Dark
    Replies:
    1
    Views:
    4,640
    milfar
    Nov 14, 2008
  2. Chris Bedford
    Replies:
    0
    Views:
    589
    Chris Bedford
    Aug 21, 2003
  3. Stephen Edgecombe

    WSDL.EXE: WSDL Import Directive

    Stephen Edgecombe, Aug 13, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    242
    Stephen Edgecombe
    Aug 13, 2003
  4. RH
    Replies:
    1
    Views:
    268
    Dino Chiesa [Microsoft]
    May 27, 2004
  5. peter

    how to control or modify the WSDL's definitions?

    peter, Mar 16, 2010, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    795
    peter
    Mar 16, 2010
Loading...

Share This Page