cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to import WSDL into XI

Former Member
0 Kudos

Hi All,

I am unable to import the given wsdl file into XI. This wsdl refers to other XSDs which were also imported. The WSDL gets generated for all the imports. The corresponding names of the external definitions also get updated in the External References tab. But when we import it in the message mapping only 3 nodes like header, header2 and body are visble without the structure.

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.opentravel.org/OTA/2002/11" xmlns:tns="https://webservices.sabre.com/websvc" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" targetNamespace="https://webservices.sabre.com/websvc">
	<types>
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:import namespace="http://www.opentravel.org/OTA/2002/11" schemaLocation="SessionCreateRQRS.xsd"/>
			<xsd:import namespace="http://www.ebxml.org/namespaces/messageHeader" schemaLocation="msg-header-2_0.xsd"/>
			<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
			<xsd:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
			<xsd:import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="envelope.xsd"/>
			<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
			<xsd:import namespace="http://schemas.xmlsoap.org/ws/2002/12/secext" schemaLocation="wsse.xsd"/>
		</xsd:schema>
	</types>
	<message name="GetSessionCreateInput">
		<part name="header" element="eb:MessageHeader"/>
		<part name="header2" element="wsse:Security"/>
		<part name="body" element="xsd1:SessionCreateRQ"/>
	</message>
	<message name="GetSessionCreateOutput">
		<part name="header" element="eb:MessageHeader"/>
		<part name="header2" element="wsse:Security"/>
		<part name="body" element="xsd1:SessionCreateRS"/>
	</message>
	<portType name="SessionCreatePortType">
		<operation name="SessionCreateRQ">
			<input message="tns:GetSessionCreateInput"/>
			<output message="tns:GetSessionCreateOutput"/>
		</operation>
	</portType>
	<binding name="SessionCreateSoapBinding" type="tns:SessionCreatePortType">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="SessionCreateRQ">
			<soap:operation soapAction="OTA"/>
			<input>
				<soap:header message="tns:GetSessionCreateInput" part="header" use="literal"/>
				<soap:header message="tns:GetSessionCreateInput" part="header2" use="literal"/>
				<soap:body parts="body" use="literal"/>
			</input>
			<output>
				<soap:header message="tns:GetSessionCreateOutput" part="header" use="literal"/>
				<soap:header message="tns:GetSessionCreateOutput" part="header2" use="literal"/>
				<soap:body parts="body" use="literal"/>
			</output>
		</operation>
	</binding>
	<service name="SessionCreateRQService">
		<port name="SessionCreatePortType" binding="tns:SessionCreateSoapBinding">
			<soap:address location="https://webservices.sabre.com/websvc"/>
		</port>
	</service>
</definitions>

Can you please help me out?

Thanks in advance,

Geetha

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Raj,

Yes, I have done all that. In the wsdl, in the messages tag

<message name="GetSessionCreateInput">
		<part name="header" element="eb:MessageHeader"/>
		<part name="header2" element="wsse:Security"/>
		<part name="body" element="xsd1:SessionCreateRQ"/>
</message>

there are 3 parts. If I remove 2, then the structure of that one alone appears in message mapping. But the problem is when I use all the 3 parts.

Thanks,

Geetha

Former Member
0 Kudos

Hi Raj,

Yeah I have imported all the files. And the name also gets updated in the external reference tab. Just that the structure is not visible in the message mapping.

Geetha

justin_santhanam
Active Contributor
0 Kudos

Geetha,

Just one more confirmation. After importing the 7 xsd files , did you chose the category as <b>xsd</b>. In the <b>Source</b> text box field give the same name as

<b>SessionCreateRQRS.xsd

msg-header-2_0.xsd

xmldsig-core-schema.xsd

xlink.xsd

envelope.xsd

xml.xsd

wsse.xsd</b>

raj.

Former Member
0 Kudos

Hi Raj,

I am able to upload the file, but unable to see the embedded structure when I import the message in Message Mapping.

Thanks,

Geetha

justin_santhanam
Active Contributor
0 Kudos

Geetha,

Well. Go to External Reference tab, there you can see 7 xsd file names. Do you have them?

raj.

justin_santhanam
Active Contributor
0 Kudos

Geetha,

I can upload them into XI as WSDL file!! What error are u facing?

raj.

Former Member
0 Kudos

Hi,

I did. The wsdl does not give any errors.

Geetha

Former Member
0 Kudos

HI,

first check the WSDL using the stylo studio or XML spy then only import it into external definition.

It will give u the error while checking

Thnx

Chirag Gohil