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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SOAP Logon Request

Hi all,

 

I need to send a logon request via talend in order to authenticate against a webservice. This is how the request looks like:

 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ccn2="http://provider.framework.webservices/types" xmlns:tns="http://provider.framework.webservices/Svc">
  <soap:Body>
    <tns:LogonRequestMsg>
      <ccn2:Username>myUSER</ccn2:Username>
      <ccn2: Password>myPW</ccn2: Password>
      <ccn2:WebServiceType>myWebserviceType</ccn2:WebServiceType>
    </tns:LogonRequestMsg>
  </soap:Body>
</soap:Envelope>

  

So how can I accomplish that in talend? 

 

I tried it via tWebService but that leads me to the following error message: 

 

Exception in component tWebService_1
org.apache.cxf.binding.soap.SoapFault: 10950122|You have to enter a password that is not empty.  - at utc [ 2017-06-08   14:20:56.2 ]
	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86)
	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52)
	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
	at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
[statistics] disconnected
	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:297)
	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:197)
	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:238)
	at provider_demo.extractproductdata_0_1.extractProductData.tFixedFlowInput_1Process(extractProductData.java:883)
	at provider_demo.extractproductdata_0_1.extractProductData.runJobInTOS(extractProductData.java:1279)
	at provider_demo.extractproductdata_0_1.extractProductData.main(extractProductData.java:1136)

 0683p000009Ludx.png0683p000009Lubs.png0683p000009LueC.png

 

0683p000009LueM.png

Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi
Try tSOAP component that allows you to fill out the body message, please refer to the scenario in the component documentation.

Regards
Shong

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi
Try tSOAP component that allows you to fill out the body message, please refer to the scenario in the component documentation.

Regards
Shong
Anonymous
Not applicable
Author

And again Shong: Thanks a lot! tSOAP did the job perfecly!