gudii9
asked on
why XSD apart from WSDL
for consuming web service apart from WSDL why we need to provide XSD of XML again?
WSDL it self has all information about request and responses right?
in <wsdl:types> element of wsdl has the xsd name in it?
xmls:tns means what in wsdl
what is
xmlns:soap means?
targetNamespace="http://xyz.com/courses"> means what?
in <wsdl:types> what is <xs:complexType name="courseDetails"> means?
why we use it?
Please advise with any good links, references, code examples, video tutorials etc
WSDL it self has all information about request and responses right?
in <wsdl:types> element of wsdl has the xsd name in it?
xmls:tns means what in wsdl
what is
xmlns:soap means?
targetNamespace="http://xyz.com/courses"> means what?
in <wsdl:types> what is <xs:complexType name="courseDetails"> means?
why we use it?
Please advise with any good links, references, code examples, video tutorials etc
ASKER
The WSDL, without the <types> element, does not define the types, only the operations. If you want to define the types you need to use the <types> element with an embedded or external schema (xsd).
Type element defined in WSDL right not XSD
Lets say i develop web service application and i need to expose to my client named xyz
In this case why i have to give xyz XSD as well apart from WSDL
Any end to end examples, links, resources on this
Please advise
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In this case why i have to give xyz XSD as well apart from WSDL
Because there is no other way to define the type of the xyz service. You either define the schema in the WSDL file itself, or externally.
ASKER
Because there is no other way to define the type of the xyz service. You either define the schema in the WSDL file itself, or externally.is it either wsdl or xsd
But i was thinking it must be bot wsdl and xsd
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
that make sense now thank you
The xmlns:soap means that the types are taken from the soap namespace.
For understanding schema namespaces have a look here.