Posted: Fri May 13, 2016 10:19 am Post subject: SOAP Asynchronous Node with HTTP Basic Authentication
Novice
Joined: 02 Feb 2014 Posts: 11
Hi All,
I wanted to use SOAP Asynchronous Request Node to call a HTTP Basic Authentication Service. I am passing the user name & password as below.
SET OutputRoot.Properties.IdentitySourceType =‘usernameAndPassword’;
SET OutputRoot.Properties.IdentitySourceToken = ‘UserName’ ;
SET OutputRoot.Properties.IdentitySourcePassword = ‘Password’;
The above settings are working with SOAP Request Node. The actual requirement is like need to implement the aggregation with SOAP Asynchronous Nodes. Below is the exception which I am getting like HTTP/1.1 401 Unauthorized.
Exception Message:
[color=red]ExceptionList
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
Line:INTEGER:1155
Function:CHARACTER:ImbDataFlowNode::createExceptionList
Type:CHARACTER:ComIbmSOAPAsyncResponseNode
Name:CHARACTER:FanIn#FCMComposite_1_3
Label:CHARACTER:FanIn.SOAP Asynchronous Response
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Node throwing exception
Insert
Type:INTEGER:14
Text:CHARACTER:FanIn.SOAP Asynchronous Response
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPAsyncResponseNode.cpp
Line:INTEGER:613
Function:CHARACTER:ImbSOAPAsyncResponseNode::validateData
Type:CHARACTER:ComIbmSOAPAsyncResponseNode
Name:CHARACTER:FanIn#FCMComposite_1_3
Label:CHARACTER:FanIn.SOAP Asynchronous Response
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3759
Text:CHARACTER:Error occurred in ImbSOAPAsyncResponseHelper::validateSOAPResponse()
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPAsyncResponseHelper.cpp
Line:INTEGER:1860
Function:CHARACTER:ImbSOAPAsyncResponseHelper::validateSOAPResponse
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3717
Text:CHARACTER:An AsyncResponse Node encountered an error whilst processing an inbound response message: 3.
Insert
Type:INTEGER:5
Text:CHARACTER:CLIENT_RQ
Insert
Type:INTEGER:5
Text:CHARACTER:GetParty
RecoverableException
File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPAsyncResponseHelper.cpp
Line:INTEGER:1042
Function:CHARACTER:ImbSOAPAsyncResponseHelper::getSOAPResponse
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:3656
Text:CHARACTER:SOAPAsyncRequest HTTP Error returned
Insert
Type:INTEGER:5
Text:CHARACTER:HTTP/1.1 401 Unauthorized
Insert
Type:INTEGER:5
Text:CHARACTER: url of client
Joined: 04 Sep 2012 Posts: 77 Location: UK beyond the meadows of RocknRoll
Quote:
Text:CHARACTER: url of client
That's your clue. Check the end points as well and ensure the user has access to that resource. _________________ A Colorblind man may appear disadvantaged but he always sees more than just colors...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum