Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
3183 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Call Web Service with PasswordDigest Authentication
saksheer
over 8 years ago
#Integrations
Hi All,
I need to consume a service which absolutely makes use of OASIS UsernameToken/PasswordDigest Authentication. I am unable to call this service via Call Web Service smart service or httpquery.
Has anyone ever integrated with such a service? Or does anyone know how can we generate a Username Token?
Appreciate any suggestions
OriginalPostID-255862
Discussion posts and replies are publicly visible
0
aloks0189
Certified Lead Developer
over 8 years ago
@saksheer may i know what error message are you getting
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saksheer
over 8 years ago
@alok176 I am getting an error like : \tAn error occurred while invoking the Web Service. Details: Error in extracting message properties.
Alternatively, I have tried using the Advanced Call Web Service smart service, but it again complaints about the WSDL.
Caused by: com.sun.xml.ws.policy.PolicyException: WSP0010: Unexpanded "POLICY_REFERENCE" node found referencing DigestPasswordPolicy
However the same WSDL definition works fine for SOAP UI.
Is there any alternate approach to this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
raghunandanj3904
Certified Senior Developer
over 8 years ago
Did you check in the application log for more info on the error when u tried in Call Web Service Smart service?? You may get additional/granular info on the same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sally Mason
Appian Employee
over 8 years ago
Please let us know the version of Appian and App Server you are using?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
@saksheer try checking the log, hope this will give you the clarity about exact issue
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saksheer
over 8 years ago
Server version is Appian 16.3.
I tried looking at the logs for more info, and what I could get was the below :
1) An error occurred while invoking the Web Service. Details: Error in extracting message properties (APNX-1-4044-000)
2) org.apache.ws.security.WSSecurityException: Error in converting SOAP Envelope to Document
3)java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock
On further search, it seems that these errors are because of the custom Headers in the SOAP webservice? Appian reads and parses the WSDL using Apache AXIS2 - However, Rampart and Axis2 do not accept ws security and custom headers together..?
I am not entirely sure, if this is what is causing the issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel