Understanding WSDL file...

Hi !

Here is a portion from some WSDL file (from MS SOAP SDK 2 documentaion).  There are couple of things, which concern name spaces / schemas definition, that I don't understand very clear.

1. My major confusion here is that I am not sure where the namespace declaration ends and where the schemas declaration begins. I guess, that after <types> there are "schemas", but if it's true, then why do we have "xmlns" identifires the line after.

2. As far as understnd, in contrast to "namespace URL", schmas URL should point to real location, where the schema exists. In the examples, which I saw, the schema was specified with explicit file name, for example: htpp:\\.....\MySchema.xsd". Here there is no such specification.

Thanks for your help.


<definitions  name ='DocSample1'   targetNamespace = 'http://tempuri.org/wsdl/'
    xmlns:wsdlns='http://tempuri.org/wsdl/'
    xmlns:typens='http://tempuri.org/type'
    xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns:stk='http://schemas.microsoft.com/soap-toolkit/wsdl-extension'
    xmlns='http://schemas.xmlsoap.org/wsdl/'>
  <types>
    <schema targetNamespace='http://tempuri.org/type'
      xmlns='http://www.w3.org/2001/XMLSchema'
      xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
      xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>
    </schema>
  </types>
  ...
  ...
  ...
</definitions>
ab11Asked:
Who is Participating?
 
MoondancerCommented:
150 points refunded to you so you can ask this again, if you like, to draw current attention.

This item closed by moving to the PAQ at zero points.

Check the ALL TOPICS link below if you'd like to see all the new topic areas we added today.

Moondancer
Community Support Moderator @ Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.