Skip to main content
Nintex Community Menu Bar

web service endpoint authentication

  • March 12, 2019
  • 4 replies
  • 34 views

Forum|alt.badge.img+1

Hello to all K2 masters.
I am trying to add a webservice broker to K2 five,

thing is my web service require somthing called authenticationMode="UserNameOverTransport" 

which basically means that you need to authenticate before you can see the WSDL or the methods.

i guess that is the reason i get VALIDATIONInvalid WebService WSDL error.
is there a way around it? maybe loading the wsdl as a file? 
thank alot.

 

4 replies

  • March 12, 2019

Hi k2 Developer

 

Please note that this was solved here https://community.k2.com/t5/General/VALIDATION-Invalid-Webservice-WSDL/m-p/99941#M3229

 

Kindly mark as "Solution and/or Kudo" , to contributes in helping others facing similar issue.

 

Thank you;

Widson.

 

[K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]


Forum|alt.badge.img+1
  • Author
  • March 12, 2019

Hi Widson,
thank you for your fast reply.


but this is not the same problem.

i am talking about authentication

 

Yuval


Forum|alt.badge.img+16
  • March 12, 2019

Hi Yuval,


 


Perhaps, you can export the webservice defintion to a .wsdl file and point your webservice broker to it, see below steps.


 


Test scenario:


GeocoderService free webservice from Tamu college.


https://geoservices.tamu.edu/Services/Geocode/WebService/GeocoderService_V04_01.asmx


 


1. Add ?wsdl to the end of the web service.


https://geoservices.tamu.edu/Services/Geocode/WebService/GeocoderService_V04_01.asmx?wsdl


2. Save the definition as a .wsdl file and copy to the K2 server (it doesn't seem to work with network drive from my test).


3. Register a new Endpoint Webservice and point to the location from step 2.



 


 


 


 


  • March 12, 2019

Hi Yuval

 

Thanks for the feedback.

When you register a Service Instance you need to tell K2 what authentication mode to use
The authentication mode determines what credentials are passed to the target system at runtime.

 

This doc shows detailed steps on how to select proper authentication mode(it's recommended to choose service account) that best suits your needs  https://help.k2.com/onlinetraining/bp1/default.htm#100EDI/Service-Instance-Authentication-Modes.htm

Also try to register your web service withboth URL and WSDL https://community.k2.com/t5/K2-blackpearl-Articles/How-to-register-Web-Service-endpoint-with-both-URL-and-WSDL-URL/ta-p/94895

 

 

Should you find this information useful please mark as "Kudo and/or Accepted Solution"

 

regards;

widson.

 

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.