cancel
Showing results for 
Search instead for 
Did you mean: 

passing WSDLGen Security

Former Member
0 Kudos

Hi, experts!

MII 12.2 SP2

I have a simple transaction (one string in and one string out) and I want to test how it can be called as a web-service.

I've tried to do it with Web-service action providing its URL with:

[http://<server>:<port>/XMII/WSDLGen/LIS/SUM_TEST|http://jcdmi.snos.ru:54600/XMII/WSDLGen/LIS/SUM_TEST]

I've tried to do it with NW WSNavigator with same URL.

In both cases I received an error

"The markup in the document following the root element must be well-formed"

I've turned off WSDLGen Security property and it started to work fine.

Why MII web-service action, provided with my own administrator credentials could not pass this WSDLSecurity?

thanks,

Petr

Edited by: Petr Balabanov on Dec 21, 2011 2:59 PM

Edited by: Petr Balabanov on Dec 21, 2011 3:08 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

suhas_nagaraju
Participant
0 Kudos

Petr,

It actually does not check whether the call is on to the same server. It only checks whether to check for credentials or not based on the WSDLGen security setting.

Thanks,

Suhas

suhas_nagaraju
Participant
0 Kudos

Hi Petr,

In the Webservice action configuration there is a dropdown to provide credential alias which will solve the issue.

The reason why it does not authenticate MII administrator credentials is because the URL need not always be of the current system that you are logged on to.

Hope this helps.

Thanks,

Suhas

Former Member
0 Kudos

Hi, Suhas,

Thanks for the answer, but I try to make a call to transaction on the same server, so those are valid credentials for this server