AnsweredAssumed Answered

While Generating WSDL getting empty namespace in WSDL file <xs:import namespace=""/>, Please help

Question asked by brathour on Mar 9, 2017
Latest reply on Jun 19, 2018 by tarun.singh178127

Dear all,

I have created an API and a Process attached to API. I have defined Input and output as XML type, When i tried generating WSDL file, it get generated well and working fine from SOAP UI but when i tried getting file in Eclipse and Trying generating Java components, getting error as WSDL is invalid.

 

Please find attached WSDL and input xml and Output xml. Please help me with the resolution if you encountered similar issue?

 

API:

Process:

Operation:

Input Profile:

Output Profile:

WSDL Error:

Final WSDL File: Attached

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.boomi.com/connector/wss" xmlns:xs="http://www.w3.org/2001/XMLSchema"name="WebServiceProvider" targetNamespace="http://www.boomi.com/connector/wss">
<wsdl:types>
<xs:schema elementFormDefault="qualified" version="1.0">
<xs:element name="Request" type="Request"/>
<xs:complexType name="Request">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="test1" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="test2" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="Test3" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="test4" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="test5" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Response" type="Response"/>
<xs:complexType name="Response">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="Test1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.boomi.com/connector/wss" version="1.0">
<xs:import namespace=""/>
<xs:element name="getCreateSTPlan" type="tns:getCreateSTPlan"/>
<xs:complexType name="getCreateSTPlan">
<xs:sequence>
<xs:element minOccurs="0" ref="Request"/>
</xs:sequence>
</xs:complexType>
<xs:element name="getCreateSTPlanResponse" type="tns:getCreateSTPlanResponse"/>
<xs:complexType name="getCreateSTPlanResponse">
<xs:sequence>
<xs:element minOccurs="0" ref="Response"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="getCreateSTPlan">
<wsdl:part element="tns:getCreateSTPlan" name="parameters"/>
</wsdl:message>
<wsdl:message name="getCreateSTPlanResponse">
<wsdl:part element="tns:getCreateSTPlanResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="WebServiceProviderPortType">
<wsdl:operation name="getCreateSTPlan">
<wsdl:input message="tns:getCreateSTPlan"/>
<wsdl:output message="tns:getCreateSTPlanResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WebServiceProviderPortBinding" type="tns:WebServiceProviderPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getCreateSTPlan">
<soap:operation soapAction="getCreateSTPlan"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WebServiceProvider">
<wsdl:port binding="tns:WebServiceProviderPortBinding" name="WebServiceProviderPort">
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Outcomes