Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

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>
0
ab11
Asked:
ab11
1 Solution
 
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.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now