Error while executing webservice genearted smartobjects


Badge +1

Hi All,

 

while i am trying to execute read method ,getting error as 

 

 

 

XWSSecurityException : Message does not conform to configured policy : no security header found

 

Please find the error message attachment.

 

Thanks in advance.

 

Vijay


15720i0E2A8B7C9127D60D.jpg

3 replies

Badge +6

Hi Vijay,


 


I have done some research regarding the error you are recieving but unfortunately i have come up empty handed. Could I ask you to please attach the latest K2HostServer log to the post. It can be found in C:Program Files (x86)K2 blackpearlHost ServerBin.


 


I want see if there are more specific errors that are present. Are you executing the read method from the SmartObject Tester?


 


Many Thanks,


 


Yannick

Badge +1

Hi Yannick,

 

 

Thanks for your reply,

we dont have access to host server file, i will try to get the log files.

 

 i will try to explain my problem more clearly

 

i want to consume the webservice methods, so i registered the webservice as endpoint webservice.then i generated the smartobjects from the service instance.

 

Now, when i try to execute the read method , throwing error as no security header found. after some reasearch i found that there is option called soaphttpclientprotocol, which is specific to the soap webservice to pass the soap header value.followed the below link to generate serilaze soap header, but still getting same error as no security header found.

 

http://help.k2.com/helppages/k2blackpearlUserGuide4.6.5/WebService_Endpoint_Service.html

 

Thanks,

Vijay

 

 

 

 

Badge +8

Are you accessing a SOAP service?  If so, did you add the SoapHttpClientProtocol as indicated in the link you posted?  If not, did you turn off Add SoapHttpClientProtocol Parameter to Methods?

Reply