cancel
Showing results for 
Search instead for 
Did you mean: 

what's wrong with the wsdl

Former Member
0 Kudos

We are trying to create a proxy from the following wsdl file and getting an error message: illegal syntax: API:Parameter BINDING has initial value

The webservice that we are trying to consume is from TIBCO .

Can someone please help me to find out what's wrong with the wsdl.


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

<!--Created by TIBCO WSDL-->
<wsdl:definitions name = "Untitled" targetNamespace = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
	<wsdl:types/>
	<wsdl:service name = "TIBCO__ABAP">
		<wsdl:port binding = "tns:SOAPEventSourceBinding" name = "SOAPEventSource">
			<soap:address location = "http://192.168.9.58:10001/TIBCO_ABAP"/>
		</wsdl:port>
	</wsdl:service>
	<wsdl:portType name = "PortType">
		<wsdl:operation name = "Operation">
			<wsdl:input message = "tns:Input"/>
			<wsdl:output message = "tns:Output"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name = "SOAPEventSourceBinding" type = "tns:PortType">
		<soap:binding style = "document" transport = "http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name = "Operation">
			<soap:operation soapAction = "http://192.168.9.58:10001/TIBCO_ABAP" style = "document"/>
			<wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
			<wsdl:output>
        <soap:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:message name = "Input">
		<wsdl:part name = "Param1" type = "xs:int"/>
		<wsdl:part name = "Param2" type = "xs:int"/>
	</wsdl:message>
	<wsdl:message name = "Output">
		<wsdl:part name = "Result" type = "xs:int"/>
	</wsdl:message>
</wsdl:definitions>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Léon Hoeneveld's response works for me. You will need to download a tool that allows you to edit the WSDL and reorder the values.

I've used a freeware tool like notepad++ collapsed all the levels and opened up the <wsdl:definitions xmlns:wsdl... segment and reordered the subgroups beneath it accordingly.

1. types

2. message

3. portType

4. binding

5. service

Thanks again Léon!

Former Member
0 Kudos

Thanks James, and thanks Léon your responses resolved my issue.

l_hoeneveld
Explorer
0 Kudos

I've had the same problem and found the following error:

The order of content elements is incorrect for the element "/definitions("Untitled")": "types, service, portType, binding, message, message"Check the selected category

The order should be: types;message;portType, binding; service then you should have no problem.

Regards, Léon Hoeneveld

carlos_rodriguez4
Active Participant
0 Kudos

It worked! Thanks a lot!