<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: error when calling WCF webservice with authentication in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253451#M36780</link>
    <description>I am not sure how to make it work using eESBConsumer: where do I get the "payload" and "header" schema? Incidently, duing configuring eESBConsumer, I checked the"populate schema to repository on finish" checkbox, and I did not see schema generated anywhere in the repository, where should it be?
&lt;BR /&gt;Also, are you suggesting the exception was caused by it requiring client certificate for HTTPS (hence the need of using tSetKeystore)?
&lt;BR /&gt;I found the following link, if it is related to the implementation of tWebServiceInput component
&lt;BR /&gt;
&lt;A href="http://stackoverflow.com/questions/12072500/apache-cxf-none-of-the-policy-alternatives-can-be-satisfied" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/12072500/apache-cxf-none-of-the-policy-alternatives-can-be-satisfied&lt;/A&gt;
&lt;BR /&gt;thanks</description>
    <pubDate>Thu, 24 Oct 2013 18:09:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-24T18:09:54Z</dc:date>
    <item>
      <title>error when calling WCF webservice with authentication</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253449#M36778</link>
      <description>I am trying to use tWebServiceInput to call a web service implemented using Microsoft WCF, it is of HTTPs with authentication.
&lt;BR /&gt;I used the Advanced setting to generate routines from the WSDL (https:// .....svc/metadata?WSDL. Here are the codes I put in the advanced tab of tWebServiceInput component:
&lt;BR /&gt;===============================================
&lt;BR /&gt;routines.BasicHttpBinding_IEnrollmentServiceStub stub = (routines.BasicHttpBinding_IEnrollmentServiceStub) new routines.EnrollmentServiceLocator().getBasicHttpBinding_IEnrollmentService();
&lt;BR /&gt;stub.setUsername("user");
&lt;BR /&gt;stub.setPassword("password");
&lt;BR /&gt;routines.ResponseXYZ result = stub.getXYZ("request 123"); 
&lt;BR /&gt;===============================================
&lt;BR /&gt;I got the following exception:
&lt;BR /&gt;=================================
&lt;BR /&gt;Exception in component tWebServiceInput_2
&lt;BR /&gt;AxisFault
&lt;BR /&gt; faultCode: {
&lt;A href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurity" target="_blank" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurity&lt;/A&gt;
&lt;BR /&gt; faultSubcode: 
&lt;BR /&gt; faultString: An error occurred when verifying security for the message.
&lt;BR /&gt; faultActor: 
&lt;BR /&gt; faultNode: 
&lt;BR /&gt; faultDetail: 
&lt;BR /&gt; {
&lt;A href="http://xml.apache.org/axis/}stackTrace:An" target="_blank" rel="nofollow noopener noreferrer"&gt;http://xml.apache.org/axis/}stackTrace:An&lt;/A&gt; error occurred when verifying security for the message.
&lt;BR /&gt; at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
&lt;BR /&gt; at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
&lt;BR /&gt; at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
&lt;BR /&gt; disconnected
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
&lt;BR /&gt; at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
&lt;BR /&gt; at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
&lt;BR /&gt; at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
&lt;BR /&gt; at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
&lt;BR /&gt; at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
&lt;BR /&gt; at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
&lt;BR /&gt; at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:2767)
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:2443)
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:2366)
&lt;BR /&gt; at org.apache.axis.client.Call.invoke(Call.java:1812)
&lt;BR /&gt; at routines.BasicHttpBinding_IEnrollmentServiceStub.getProcessingStates(BasicHttpBinding_IEnrollmentServiceStub.java:537)
&lt;BR /&gt; at enterpriseservices.istaenrollment_0_1.IstaEnrollment.tWebServiceInput_2Process(IstaEnrollment.java:313)
&lt;BR /&gt; at enterpriseservices.istaenrollment_0_1.IstaEnrollment.runJobInTOS(IstaEnrollment.java:537)
&lt;BR /&gt; at enterpriseservices.istaenrollment_0_1.IstaEnrollment.main(IstaEnrollment.java:403)
&lt;BR /&gt; {
&lt;A href="http://xml.apache.org/axis/}hostname:6P0GLQ1-DEV-PC" target="_blank" rel="nofollow noopener noreferrer"&gt;http://xml.apache.org/axis/}hostname:6P0GLQ1-DEV-PC&lt;/A&gt;
&lt;BR /&gt;An error occurred when verifying security for the message.
&lt;BR /&gt; at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
&lt;BR /&gt; at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFau
&lt;BR /&gt;================================
&lt;BR /&gt;Could some one tell me what I am missing or what the proper way to invoke such web service in Talend?
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 22 Oct 2013 22:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253449#M36778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-22T22:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: error when calling WCF webservice with authentication</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253450#M36779</link>
      <description>Hi, &lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;That's a non-standard policy assertion and not marked optional Thus, CXF doesn't know what to do with it. I suspect that is because of non-standard MS policy(should put your HTTPS credentials to auth).&lt;BR /&gt;Could you please check the &lt;A href="https://help.talend.com/search/all?query=tSetKeystore&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tSetKeystore&lt;/A&gt;?&lt;BR /&gt;In addition that, is it working when you use tESBConsumer?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 24 Oct 2013 05:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253450#M36779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T05:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: error when calling WCF webservice with authentication</title>
      <link>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253451#M36780</link>
      <description>I am not sure how to make it work using eESBConsumer: where do I get the "payload" and "header" schema? Incidently, duing configuring eESBConsumer, I checked the"populate schema to repository on finish" checkbox, and I did not see schema generated anywhere in the repository, where should it be?
&lt;BR /&gt;Also, are you suggesting the exception was caused by it requiring client certificate for HTTPS (hence the need of using tSetKeystore)?
&lt;BR /&gt;I found the following link, if it is related to the implementation of tWebServiceInput component
&lt;BR /&gt;
&lt;A href="http://stackoverflow.com/questions/12072500/apache-cxf-none-of-the-policy-alternatives-can-be-satisfied" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/12072500/apache-cxf-none-of-the-policy-alternatives-can-be-satisfied&lt;/A&gt;
&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 24 Oct 2013 18:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/error-when-calling-WCF-webservice-with-authentication/m-p/2253451#M36780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T18:09:54Z</dc:date>
    </item>
  </channel>
</rss>

