1 Reply Latest reply on Jul 29, 2009 8:14 AM by PaVeL NN

    Trouble when importing wsdl

    PaVeL NN

      Hi,


      I have a SOAP server and am trying to import the wsdl into Flex Builder. When I attempt the import, there is nothing in the resulting service selector dialog. I've included the WSDL below, and am wondering if there is something in the WSDL that is making Flex Builder error.

       

      Flex Builder version: 3.0.194161

       

      Untitled picture.png

      <?xml version="1.0" encoding="utf-8"?><xs:schema elementFormDefault="qualified" targetNamespace="http://www.nortel.com/soa/oi/ccma/service" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.nortel.com/soa/oi/ccma/service"><xs:import schemaLocation="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/Nortel.Applications.CCMA.OpenInterfaces"/><xs:import schemaLocation="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><xs:element name="BasicTest"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="text" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="BasicTestResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="BasicTestResult" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="addAgent"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="addAgentResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="addAgentResult" type="xs:boolean"/><xs:element minOccurs="0" name="agentLocalID" type="xs:int"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="addSupervisor"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="addSupervisorResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="addSupervisorResult" type="xs:boolean"/><xs:element minOccurs="0" name="supervisorLocalID" type="xs:int"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getAgentDetails"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="agentLocalUserID" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getAgentDetailsResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getAgentDetailsResult" type="xs:boolean"/><xs:element minOccurs="0" name="agent" nillable="true" type="tns:AgentFullDetails"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:complexType name="AgentFullDetails"><xs:complexContent mixed="false"><xs:extension base="tns:AgentBasicDetails"><xs:sequence><xs:element minOccurs="0" name="contactTypesAndSkillsets" nillable="true" type="tns:ArrayOfContactTypeAndRelatedSkillsets"/><xs:element minOccurs="0" name="isLoggedIn" type="xs:boolean"/><xs:element minOccurs="0" name="superLocalID" type="xs:int"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="AgentFullDetails" nillable="true" type="tns:AgentFullDetails"/><xs:complexType name="AgentBasicDetails"><xs:sequence><xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="localID" type="xs:int"/><xs:element minOccurs="0" name="phoneSetLoginID" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="type" type="q1:AGENT_TYPE" xmlns:q1="http://schemas.datacontract.org/2004/07/Nortel.Applications.CCMA.OpenInterfaces"/></xs:sequence></xs:complexType><xs:element name="AgentBasicDetails" nillable="true" type="tns:AgentBasicDetails"/><xs:complexType name="ArrayOfContactTypeAndRelatedSkillsets"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="ContactTypeAndRelatedSkillsets" nillable="true" type="tns:ContactTypeAndRelatedSkillsets"/></xs:sequence></xs:complexType><xs:element name="ArrayOfContactTypeAndRelatedSkillsets" nillable="true" type="tns:ArrayOfContactTypeAndRelatedSkillsets"/><xs:complexType name="ContactTypeAndRelatedSkillsets"><xs:complexContent mixed="false"><xs:extension base="tns:ContactType"><xs:sequence><xs:element minOccurs="0" name="isAssigned" type="xs:boolean"/><xs:element minOccurs="0" name="skillsetsOfThisContactType" nillable="true" type="tns:ArrayOfSkillsetFullDetails"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="ContactTypeAndRelatedSkillsets" nillable="true" type="tns:ContactTypeAndRelatedSkillsets"/><xs:complexType name="ContactType"><xs:sequence><xs:element minOccurs="0" name="ID" type="xs:int"/><xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element name="ContactType" nillable="true" type="tns:ContactType"/><xs:complexType name="ArrayOfSkillsetFullDetails"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="SkillsetFullDetails" nillable="true" type="tns:SkillsetFullDetails"/></xs:sequence></xs:complexType><xs:element name="ArrayOfSkillsetFullDetails" nillable="true" type="tns:ArrayOfSkillsetFullDetails"/><xs:complexType name="SkillsetFullDetails"><xs:complexContent mixed="false"><xs:extension base="tns:Skillset"><xs:sequence><xs:element minOccurs="0" name="Priority" type="xs:int"/><xs:element minOccurs="0" name="Status" type="q2:SkillsetStatus" xmlns:q2="http://schemas.datacontract.org/2004/07/Nortel.Applications.CCMA.OpenInterfaces"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="SkillsetFullDetails" nillable="true" type="tns:SkillsetFullDetails"/><xs:complexType name="Skillset"><xs:sequence><xs:element minOccurs="0" name="ContactTypeID" type="xs:int"/><xs:element minOccurs="0" name="ID" type="xs:int"/><xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/></xs:sequence></xs:complexType><xs:element name="Skillset" nillable="true" type="tns:Skillset"/><xs:element name="getSupervisorDetails"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="supervisorLocalID" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getSupervisorDetailsResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getSupervisorDetailsResult" type="xs:boolean"/><xs:element minOccurs="0" name="supervisor" nillable="true" type="tns:SupervisorFullDetails"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:complexType name="SupervisorFullDetails"><xs:complexContent mixed="false"><xs:extension base="tns:AgentBasicDetails"><xs:sequence><xs:element minOccurs="0" name="NumAssignedAgents" type="xs:int"/><xs:element minOccurs="0" name="assignedAgentsLocalIDs" nillable="true" type="q3:ArrayOfint" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="SupervisorFullDetails" nillable="true" type="tns:SupervisorFullDetails"/><xs:element name="getAgentsAssignedToSkillset"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="skillsetID" nillable="true" type="xs:string"/><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getAgentsAssignedToSkillsetResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getAgentsAssignedToSkillsetResult" type="xs:boolean"/><xs:element minOccurs="0" name="agents" nillable="true" type="tns:ArrayOfAgentFullDetails"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:complexType name="ArrayOfAgentFullDetails"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="AgentFullDetails" nillable="true" type="tns:AgentFullDetails"/></xs:sequence></xs:complexType><xs:element name="ArrayOfAgentFullDetails" nillable="true" type="tns:ArrayOfAgentFullDetails"/><xs:element name="getAgentsList"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getAgentsListResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getAgentsListResult" type="xs:boolean"/><xs:element minOccurs="0" name="agents" nillable="true" type="tns:ArrayOfAgentFullDetails"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getSupervisorList"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getSupervisorListResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getSupervisorListResult" type="xs:boolean"/><xs:element minOccurs="0" name="supervisors" nillable="true" type="tns:ArrayOfAgentBasicDetails"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:complexType name="ArrayOfAgentBasicDetails"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="AgentBasicDetails" nillable="true" type="tns:AgentBasicDetails"/></xs:sequence></xs:complexType><xs:element name="ArrayOfAgentBasicDetails" nillable="true" type="tns:ArrayOfAgentBasicDetails"/><xs:element name="getSkillsetsList"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="ccmsIPAddress" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:element name="getSkillsetsListResponse"><xs:complexType><xs:sequence><xs:element minOccurs="0" name="getSkillsetsListResult" type="xs:boolean"/><xs:element minOccurs="0" name="skillsets" nillable="true" type="tns:ArrayOfSkillset"/><xs:element minOccurs="0" name="errorMsg" nillable="true" type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:complexType name="ArrayOfSkillset"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="Skillset" nillable="true" type="tns:Skillset"/></xs:sequence></xs:complexType><xs:element name="ArrayOfSkillset" nillable="true" type="tns:ArrayOfSkillset"/></xs:schema>
      

       

      Thanks in advance...

        • 1. Re: Trouble when importing wsdl
          PaVeL NN Level 1

          Oh, sorry, wrong xml...

          here is the correct one wsdl.

           

          <?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="SOAP" targetNamespace="http://www.nortel.com/soa/oi/ccma/service" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="http://www.nortel.com/soa/oi/ccma/service" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"><wsdl:import namespace="http://tempuri.org/" location="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?wsdl=wsdl0"/><wsdl:types><xsd:schema targetNamespace="http://www.nortel.com/soa/oi/ccma/service/Imports"><xsd:import schemaLocation="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?xsd=xsd0" namespace="http://www.nortel.com/soa/oi/ccma/service"/><xsd:import schemaLocation="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/Nortel.Applications.CCMA.OpenInterfaces"/><xsd:import schemaLocation="http://ctidpp22/WebServices/OpenInterfaces/soap.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></xsd:schema></wsdl:types><wsdl:message name="soap_BasicTest_InputMessage"><wsdl:part name="parameters" element="tns:BasicTest"/></wsdl:message><wsdl:message name="soap_BasicTest_OutputMessage"><wsdl:part name="parameters" element="tns:BasicTestResponse"/></wsdl:message><wsdl:message name="soap_addAgent_InputMessage"><wsdl:part name="parameters" element="tns:addAgent"/></wsdl:message><wsdl:message name="soap_addAgent_OutputMessage"><wsdl:part name="parameters" element="tns:addAgentResponse"/></wsdl:message><wsdl:message name="soap_addSupervisor_InputMessage"><wsdl:part name="parameters" element="tns:addSupervisor"/></wsdl:message><wsdl:message name="soap_addSupervisor_OutputMessage"><wsdl:part name="parameters" element="tns:addSupervisorResponse"/></wsdl:message><wsdl:message name="soap_getAgentDetails_InputMessage"><wsdl:part name="parameters" element="tns:getAgentDetails"/></wsdl:message><wsdl:message name="soap_getAgentDetails_OutputMessage"><wsdl:part name="parameters" element="tns:getAgentDetailsResponse"/></wsdl:message><wsdl:message name="soap_getSupervisorDetails_InputMessage"><wsdl:part name="parameters" element="tns:getSupervisorDetails"/></wsdl:message><wsdl:message name="soap_getSupervisorDetails_OutputMessage"><wsdl:part name="parameters" element="tns:getSupervisorDetailsResponse"/></wsdl:message><wsdl:message name="soap_getAgentsAssignedToSkillset_InputMessage"><wsdl:part name="parameters" element="tns:getAgentsAssignedToSkillset"/></wsdl:message><wsdl:message name="soap_getAgentsAssignedToSkillset_OutputMessage"><wsdl:part name="parameters" element="tns:getAgentsAssignedToSkillsetResponse"/></wsdl:message><wsdl:message name="soap_getAgentsList_InputMessage"><wsdl:part name="parameters" element="tns:getAgentsList"/></wsdl:message><wsdl:message name="soap_getAgentsList_OutputMessage"><wsdl:part name="parameters" element="tns:getAgentsListResponse"/></wsdl:message><wsdl:message name="soap_getSupervisorList_InputMessage"><wsdl:part name="parameters" element="tns:getSupervisorList"/></wsdl:message><wsdl:message name="soap_getSupervisorList_OutputMessage"><wsdl:part name="parameters" element="tns:getSupervisorListResponse"/></wsdl:message><wsdl:message name="soap_getSkillsetsList_InputMessage"><wsdl:part name="parameters" element="tns:getSkillsetsList"/></wsdl:message><wsdl:message name="soap_getSkillsetsList_OutputMessage"><wsdl:part name="parameters" element="tns:getSkillsetsListResponse"/></wsdl:message><wsdl:portType name="soap"><wsdl:operation name="BasicTest"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/BasicTest" message="tns:soap_BasicTest_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/BasicTestResponse" message="tns:soap_BasicTest_OutputMessage"/></wsdl:operation><wsdl:operation name="addAgent"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/addAgent" message="tns:soap_addAgent_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/addAgentResponse" message="tns:soap_addAgent_OutputMessage"/></wsdl:operation><wsdl:operation name="addSupervisor"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/addSupervisor" message="tns:soap_addSupervisor_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/addSupervisorResponse" message="tns:soap_addSupervisor_OutputMessage"/></wsdl:operation><wsdl:operation name="getAgentDetails"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getAgentDetails" message="tns:soap_getAgentDetails_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getAgentDetailsResponse" message="tns:soap_getAgentDetails_OutputMessage"/></wsdl:operation><wsdl:operation name="getSupervisorDetails"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getSupervisorDetails" message="tns:soap_getSupervisorDetails_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getSupervisorDetailsResponse" message="tns:soap_getSupervisorDetails_OutputMessage"/></wsdl:operation><wsdl:operation name="getAgentsAssignedToSkillset"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getAgentsAssignedToSkillset" message="tns:soap_getAgentsAssignedToSkillset_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getAgentsAssignedToSkillsetResponse" message="tns:soap_getAgentsAssignedToSkillset_OutputMessage"/></wsdl:operation><wsdl:operation name="getAgentsList"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getAgentsList" message="tns:soap_getAgentsList_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getAgentsListResponse" message="tns:soap_getAgentsList_OutputMessage"/></wsdl:operation><wsdl:operation name="getSupervisorList"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getSupervisorList" message="tns:soap_getSupervisorList_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getSupervisorListResponse" message="tns:soap_getSupervisorList_OutputMessage"/></wsdl:operation><wsdl:operation name="getSkillsetsList"><wsdl:input wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getSkillsetsList" message="tns:soap_getSkillsetsList_InputMessage"/><wsdl:output wsaw:Action="http://www.nortel.com/soa/oi/ccma/service/soap/getSkillsetsListResponse" message="tns:soap_getSkillsetsList_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:service name="SOAP"><wsdl:port name="SoapEndpoint" binding="i0:SoapEndpoint"><soap:address location="http://ctidpp22/WebServices/OpenInterfaces/soap.svc"/></wsdl:port></wsdl:service></wsdl:definitions>