cancel
Showing results for 
Search instead for 
Did you mean: 

wsdl

former_member206760
Active Contributor
0 Kudos

Hi guys,

I am trying to test a WSDL from a 3rd party with altova xml spy.....when I click on the wsdl tab it says

"cannot show wsdl...a wsdl doc has to start with a <definition> in namespace "http://schemas.xmlsoap.org/wsdl" or

a <description> in namespcae "http://www.w3.org/ns/wsdl"

my wsdl is as follows.

<?xml version="1.0" encoding="UTF-8"?>

<!--

Salesforce.com Enterprise Web Services API Version 21.0

Generated on 2011-02-17 12:06:36 +0000.

Copyright 1999-2011 salesforce.com, inc.

All Rights Reserved

-->

<definitions targetNamespace="urn:enterprise.soap.sforce.com"

xmlns="http://schemas.xmlsoap.org/wsdl/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:tns="urn:enterprise.soap.sforce.com"

xmlns:fns="urn:fault.enterprise.soap.sforce.com"

xmlns:ens="urn:sobject.enterprise.soap.sforce.com">....................

.

what must be the issue

Accepted Solutions (0)

Answers (2)

Answers (2)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Look below link for a sample WSDL.. Check if you missing something..

http://www.wdvl.com/Authoring/Languages/XML/WebServices/WSDL/Essentials/wse1_2.html

Regards

Aashish Sinha

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Looks like your wsdl might have some syntax issues... Best thing is use XMLSPY and do validate the WSDL first. If the validation is sucess then we can go for further steps.