I followed u r suggestion, able to make it successfull with soap ui with soap header authentication, i used same soap header just need to add name space following name space part of header in DS because it is auto generated in soapui. xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="
http://tempuri.org/". In DS, soap header looks like below which I am creating it as part of transformer between xml output stage and WS client stage and passing it to Input Header via user defined header.
<soapenv:Header xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="
http://tempuri.org/"><scurityContextPar ... env:Header>'
I am getting fatal error
ws_Call_InsertissTouches,0: Failure during execution of operator logic.
then
APT_CombinedOperatorController,0: Fatal Error: Fatal: 0026`:`com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception:
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1602)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:104)
at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
at com.ascentialsoftware.jds.StageFactory.runTarget(StageFactory.java:348)
Caused by: java.lang.NullPointerException
at com.ascentialsoftware.wsclient.xml.DerivationExpression._getToken(DerivationExpression.java:180)
at com.ascentialsoftware.wsclient.xml.DerivationExpression._setLastSegment(DerivationExpression.java:199)
at com.ascentialsoftware.wsclient.xml.DerivationExpression.hasMoreTokens(DerivationExpression.java:130)
at com.ascentialsoftware.wsclient.xml.DerivationParser.expr(DerivationParser.java:170)
at com.ascentialsoftware.wsclient.xml.DerivationParser.parse(DerivationParser.java:138)
at com.ascentialsoftware.wsclient.xml.TreeBuilder.compileRules(TreeBuilder.java:84)
at com.ascentialsoftware.wsclient.MappingHandler.fromArray(MappingHandler.java:304)
at com.ascentialsoftware.wsclient.InputRequest.buildRequestBodyDocument(InputRequest.java:908)
at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1625)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
... 4 more
xml file looks below in the peek
Peek_80,0: InsertissTouches_XML:<?xml version="1.0" encoding="UTF-8"?>
<!--
- Generated by Ascential Software Corporation, DataStage - XMLOutput stage -
- Tue Feb 26 23:39:01 2013
-->
<ns1:InsertISSTouches xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="
http://tempuri.org/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:ns2="
http://schemas.datacontract.org/2004/07/WinwatcherBL" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<ns1:Touches>
<ns2:Import_TouchLog>
<ns2:RCNum>
711952
</ns2:RCNum>
<ns2:DispositionID>
U
</ns2:DispositionID>
<ns2:DivisionID>
15
</ns2:DivisionID>
<ns2:Imported>
0
</ns2:Imported>
<ns2:ImportedDateTime>
2013-02-26T23:38:56
</ns2:ImportedDateTime>
<ns2:MarketID>
0
</ns2:MarketID>
<ns2:Notes>
vm
</ns2:Notes>
<ns2:OpportunityID>
0
</ns2:OpportunityID>
<ns2:TouchCode>
0
</ns2:TouchCode>
<ns2:TouchDate>
2012-10-16T12:15:51.117
</ns2:TouchDate>
<ns2:TouchID>
3132512
</ns2:TouchID>
<ns2:TouchLogDate>
2012-10-16T12:14:40.310
</ns2:TouchLogDate>
<ns2:TouchMethod>
0
</ns2:TouchMethod>
<ns2:TouchTypeID>
004
</ns2:TouchTypeID>
<ns2:UserID>
RCS
</ns2:UserID>
</ns2:Import_TouchLog>
</ns1:Touches>