TIA for considering these questions.

I am working through the note at <!--http://www.w3.org/TR/2001/NOTE-wsdl-20010315-->, but mapping it to my understanding of what I'm seeing gives rise to questions (and frustrations).

 1) How does a wsdl indicate that headers are required?

2) Fragment of existing wsdl which appears to be incorrect:
<s:element name="AdminAuthHeader" type="s0:AdminAuthHeader"/>
<s:complexType name="AdminAuthHeader">
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="sAdminLogin" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="sPassword" type="s:string"/>
<s:element maxOccurs="1" minOccurs="1" name="nExSysID" type="s:int"/>
<s:element maxOccurs="1" minOccurs="1" name="nMajorVersion" type="s:int"/>
<s:element maxOccurs="1" minOccurs="1" name="nMinorVersion" type="s:int"/>
</s:sequence>
</s:complexType>


a) Shouldn't this have an end </s:element> tag and not have the "/" in the leading element tag before the <s:complexType> tag?
b) Shouldn't minOccurs="1" indicate a required parameter?


 3) Fragment of existing wsdl:
    <definitions
    targetNamespace="http://yyy.ourname.xxx/webservices/";
    xmlns="http://schemas.xmlsoap.org/wsdl/";
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
    xmlns:s="http://www.w3.org/2001/XMLSchema";
    xmlns:s0="http://yyy.ourname.xxx/webservices/";
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
    xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";>

a) Wouldn't it be better to import the additional namespaces using the <import> tag?
b) Shouldn't the "s" namespace designated above be "xsd" and point to "http://www.w3.org/2001/10/XMLSchema";?
c) Shouldn't the "soapenc" namespace be "SOAP-ENC"?


I've been told that wsdl is generated automatically, but if it is the tool seems inadequte. (NOT Axis!)

Final question for this:

 4) Am I on the right track with the wsdl?

REALLY APPRECIATE the input,
Elaine


<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Computers are useless. They can only give you answers. | -- Pablo Picasso -- <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






Reply via email to