cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with WSDL import

Former Member
0 Kudos

I imported the .wsdl file but it encountered a problem:

Unable to convert imported document to WSDL

Reason: Tag Envelope is not permitted as a root element. definitions is expected

Check the selected category

The top of my wsdl file is

<?xml version="1.0" encoding="ISO-8859-1"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

What is wrong here?

Accepted Solutions (1)

Accepted Solutions (1)

rohit_goel
Participant
0 Kudos

Hi Rokie,

I think you are trying to upload an XML file to integration repository.

You have to upload WSDL file.This file should be saved as extension .wsdl locally on to your system then upload to IR.check the format of the file in XML spy..

Regards,

Rohit

Dont forget to rewards points if found useful...:)

Answers (4)

Answers (4)

prateek
Active Contributor
0 Kudos

<soapenv:Envelope

This tag is used for SOAP envelop. Ur wsdl is incorrect. U r using a SOAP message instead of using a proper wsdl

Regards,

Prateek

Former Member
0 Kudos

Hi Rokie,

You are for sure not using WSDL which is defintion but you are trying to import a request file. Main element in wsdl is <wsdl:definitions>

Best regards,

Wojciech

Former Member
0 Kudos

In the External Defination select the category as WSDL.

Also the extension of the file should ne .wsdl and it should be validated. Use XML spy to chek the syntax of the WSDL file.

Thanks

Farooq

Former Member
0 Kudos

Hi,

Have u checked the WSDl using XML-SPY.

First check it and then import is and select the WSDL as a import function.

Thnx

Chirag