12 years ago
SOAP UI error during ADD WSDL
I am getting below error when doing ADD WSDL :
"Base type for this simple type restriction is not simple"
pls find my wsdl below:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://webservices.braathens.no/TemplateMaintenanceServices" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservices.braathens.no/TemplateMaintenanceServices" xmlns:intf="http://webservices.braathens.no/TemplateMaintenanceServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://template.domain.braathens.no" xmlns:tns2="http://notification.domain.braathens.no" xmlns:tns3="http://notificationmessage.domain.braathens.no" xmlns:tns4="http://response.domain.braathens.no" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="http://notification.domain.braathens.no" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://template.domain.braathens.no"/>
<import namespace="http://notificationmessage.domain.braathens.no"/>
<import namespace="http://response.domain.braathens.no"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<simpleType name="CommunicationType">
<restriction base="soapenc:string">
<enumeration value="SMS"/>
<enumeration value="EMAIL"/>
<enumeration value="ALL"/>
</restriction>
</simpleType>
</schema>
<schema targetNamespace="http://notificationmessage.domain.braathens.no" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://template.domain.braathens.no"/>
<import namespace="http://notification.domain.braathens.no"/>
<import namespace="http://response.domain.braathens.no"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MessageType">
<sequence>
<element name="cost" type="xsd:double"/>
<element name="currencyCode" nillable="true" type="soapenc:string"/>
<element name="description" nillable="true" type="soapenc:string"/>
<element name="displayCommunicationType" type="xsd:boolean"/>
<element name="displayCreatedAt" type="xsd:boolean"/>
<element name="displayCreatedBy" type="xsd:boolean"/>
<element name="displayCreationOfficeId" type="xsd:boolean"/>
<element name="displayDestination" type="xsd:boolean"/>
<element name="displayMessage" type="xsd:boolean"/>
<element name="displayPnrReference" type="xsd:boolean"/>
<element name="id" type="xsd:int"/>
<element name="messageTypeCategory" nillable="true" type="soapenc:string"/>
<element name="messageTypeCostId" type="xsd:int"/>
<element name="typeCode" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://template.domain.braathens.no" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://notificationmessage.domain.braathens.no"/>
<import namespace="http://notification.domain.braathens.no"/>
<import namespace="http://response.domain.braathens.no"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MessageTemplate">
<sequence>
<element name="communicationType" nillable="true" type="tns2:CommunicationType"/>
<element name="id" type="xsd:int"/>
<element name="localeCode" nillable="true" type="soapenc:string"/>
<element name="messageType" nillable="true" type="tns3:MessageType"/>
<element name="template" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
<complexType name="TemplateTag">
<sequence>
<element name="id" type="xsd:int"/>
<element name="messageType" nillable="true" type="tns3:MessageType"/>
<element name="tagName" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
"Base type for this simple type restriction is not simple"
pls find my wsdl below:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://webservices.braathens.no/TemplateMaintenanceServices" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservices.braathens.no/TemplateMaintenanceServices" xmlns:intf="http://webservices.braathens.no/TemplateMaintenanceServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://template.domain.braathens.no" xmlns:tns2="http://notification.domain.braathens.no" xmlns:tns3="http://notificationmessage.domain.braathens.no" xmlns:tns4="http://response.domain.braathens.no" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="http://notification.domain.braathens.no" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://template.domain.braathens.no"/>
<import namespace="http://notificationmessage.domain.braathens.no"/>
<import namespace="http://response.domain.braathens.no"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<simpleType name="CommunicationType">
<restriction base="soapenc:string">
<enumeration value="SMS"/>
<enumeration value="EMAIL"/>
<enumeration value="ALL"/>
</restriction>
</simpleType>
</schema>
<schema targetNamespace="http://notificationmessage.domain.braathens.no" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://template.domain.braathens.no"/>
<import namespace="http://notification.domain.braathens.no"/>
<import namespace="http://response.domain.braathens.no"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MessageType">
<sequence>
<element name="cost" type="xsd:double"/>
<element name="currencyCode" nillable="true" type="soapenc:string"/>
<element name="description" nillable="true" type="soapenc:string"/>
<element name="displayCommunicationType" type="xsd:boolean"/>
<element name="displayCreatedAt" type="xsd:boolean"/>
<element name="displayCreatedBy" type="xsd:boolean"/>
<element name="displayCreationOfficeId" type="xsd:boolean"/>
<element name="displayDestination" type="xsd:boolean"/>
<element name="displayMessage" type="xsd:boolean"/>
<element name="displayPnrReference" type="xsd:boolean"/>
<element name="id" type="xsd:int"/>
<element name="messageTypeCategory" nillable="true" type="soapenc:string"/>
<element name="messageTypeCostId" type="xsd:int"/>
<element name="typeCode" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://template.domain.braathens.no" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://notificationmessage.domain.braathens.no"/>
<import namespace="http://notification.domain.braathens.no"/>
<import namespace="http://response.domain.braathens.no"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="MessageTemplate">
<sequence>
<element name="communicationType" nillable="true" type="tns2:CommunicationType"/>
<element name="id" type="xsd:int"/>
<element name="localeCode" nillable="true" type="soapenc:string"/>
<element name="messageType" nillable="true" type="tns3:MessageType"/>
<element name="template" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
<complexType name="TemplateTag">
<sequence>
<element name="id" type="xsd:int"/>
<element name="messageType" nillable="true" type="tns3:MessageType"/>
<element name="tagName" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>