cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL ERROR

Former Member
0 Kudos

Hi Experts

Unable to convert imported document to WSDL

Reason: Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8))

Check the selected category

when i am trying to import the WSDL FIle in in External Defi once import i am getting these error what should i need to do.

Regd's

Raj

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Raj,

I had the same problem but i got rid of this by changing the encoding from UTF-8 to ISO. Try that and see

Regards,

Raj

ravi_raman2
Active Contributor
0 Kudos

you might also want to add the soap envelope, soap header ..elements to it...before parsing it again

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Body>

<m:getAvailableDataSources xmlns:m="http://arcweb.esri.com/v2">

<group xsi:type="xsd:string">ArcWebForDev</group>

<service xsi:type="xsd:string">MapImage</service>

<token xsi:type="xsd:string">MyToken</token>

</m:getAvailableDataSources>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Regards

Ravi Raman

Former Member
0 Kudos

this clearly says the WSDL file is not valid,try to open your file in Altova XML spy,also make sure you don't have any invalid characters in it,secondly what is the encoding of file?

also if its not a security concern then post the WSDL here

Thanx

Aamir

Message was edited by:

Aamir Suhail