Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

WSDL. Can not access data

I try Create WSDL via Talend:

 

if i use SOAP UI - it's work fine.

 

0683p000009LvJA.jpg

But when i try use WSDL from another envoriment - There are problems with the extract of data:

In another envoriment i can't get XML. Only data.

 

I can't get value of complex type "root" and values from simple types.

Please help me fix schema in wsdl for obtain the results of data:

 

Code from another envoriment:

 

void run()
{
    wsdl.getMaxoptraSession10.BreadServicePortTypeClient getMaxoptraSession; // declare WSDL 
    wsdl.getMaxoptraSession10.NodeType NodeType; // declare node (complex type)
    wsdl.getMaxoptraSession10.ResponceType ResponceType; // declare node (complex type)
    str fld;
    ;
    // instance
    getMaxoptraSession = new  wsdl.getMaxoptraSession10.BreadServicePortTypeClient();
    // call web-service (it's worked)
    ResponceType = getMaxoptraSession.BreadServiceOperation(""); // try get <tns:BreadServiceOperationResponce xmlns:tns="http://www.talend.org/service/">
    NodeType = ResponceType.get_root(); // try get <root> ERROR HERE!
    fld = NodeType.get_sessionID(); // try get sessionID <>value
    return ;
}

 

My WSDL:

 

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="BreadService"
		xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
		xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
		xmlns:xsd="http://www.w3.org/2001/XMLSchema"
		xmlns:tns="http://www.talend.org/service/"
		targetNamespace="http://www.talend.org/service/">

	<wsdl:types>
		<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
			targetNamespace="http://www.talend.org/service/">
			<xsd:element name="BreadServiceOperationRequest">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element name="root" type="xsd:string"></xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="BreadServiceOperationResponse">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element
							name="BreadServiceOperationResponce" type="tns:ResponceType">
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		
			<xsd:complexType name="NodeType">
				<xsd:sequence>
					<xsd:element name="sessionID" type="xsd:string"></xsd:element>
				</xsd:sequence>
			</xsd:complexType>
		
			<xsd:complexType name="ResponceType">
				<xsd:sequence>
					<xsd:element name="root" type="tns:NodeType"></xsd:element>
				</xsd:sequence>
			</xsd:complexType>
		</xsd:schema>
	</wsdl:types>

	<wsdl:message name="BreadServiceOperationRequest">
		<wsdl:part name="parameters" element="tns:BreadServiceOperationRequest"></wsdl:part>
	</wsdl:message>
	<wsdl:message name="BreadServiceOperationResponse">
		<wsdl:part name="parameters" element="tns:BreadServiceOperationResponse"></wsdl:part>
	</wsdl:message>

	<wsdl:portType name="BreadServicePortType">
		<wsdl:operation name="BreadServiceOperation">
			<wsdl:input message="tns:BreadServiceOperationRequest"></wsdl:input>
			<wsdl:output message="tns:BreadServiceOperationResponse"></wsdl:output>
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:binding name="BreadServiceBinding" type="tns:BreadServicePortType">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="BreadServiceOperation">
			<soap:operation soapAction="http://www.talend.org/service/BreadServiceOperation" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:service name="BreadService">
		<wsdl:port name="BreadServicePort" binding="tns:BreadServiceBinding">
			<soap:address location="http://192.168.3.173:8090/services/BreadService" />
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>

 

Labels (1)
  • Other

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

Could you please post your current job setting screenshots here? Which webservice component are you using?

Best regards

Sabrina

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hello,

Could you please post your current job setting screenshots here? Which webservice component are you using?

Best regards

Sabrina

Anonymous
Not applicable
Author

0683p000009LvK9.jpg

I use tESBProviderRequest and tESBProviderResponce

Anonymous
Not applicable
Author

0683p000009Lv9v.jpg

So probably it will be more understandable