cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service - LOGON ERROR MESSAGE with SoapUI

Former Member
0 Kudos

Hello Experts!,

I try to test a simple web service on a with soapUI and get a request but the HTML Log says the user has no loginparameter set.

I did not find any informations here or somewhere else, so that post is my last way.

In SOAMANAGER I use the HTTPS Security and on Message Level the user and password.

In SoapUI I entered the user and pw in AUTH.

In Se80 on the web service I use a low security profile.

I also tried it with no security profile and different users (the all have the right permission).

If somebody knows a solution, please tell me. And if you need more informations, please don't hesitate to write here.

best regards,

Martin

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

If you are using SOAP UI, then follow three steps:

1. Enter your User ID & P/w of the PI system in the dialog box

2. Below the User ID & P/w section, there is a section WSS-Password type, select PasswordText from the scroll down menu

3.At the top, you can see a link starting with HTTPS, click on it and just below the link, there will be another link starting with HTTP, select that one. Now process

Former Member
0 Kudos

Hello,

Thanks for answering.

@Sourabh

I configured no Sender Soap Channel. Is this important for me?

I used the HTTP mit secure conversation Security Level.

@Madhav

Yes, I use the AUT in SoapUI.

@addhingr

Step 1 - okay

Step 2 - I see the section but the selection is empty

Step 3 - I dont find the HTTPS link??

Nevertheless, I think it is working now.

I had to konfigurate the WS Security with the Report WSS_SETUP and activate the SOAP Handler Service.

In SOAMANAGER and Web Service (SE80) I set "no security", and in SOAMANAGER I entered the ABAP User.

Now I can test successful the Webservice and I get the right request back from SoapUi.

But if I use the HTTPS Security I got an Error Message in HTTP Log.

Like "Service is not reachable" "Error 403" "Service needs SSL Communication" "virtual host was 0"

On other Security settings I get an Error like "Dereferencing of the NULL reference" "Missing security token" "Logon Error with trace key". I don't know what this says, so I have to look..

I am not sure if this is my solution but I will do some more tests.

best regards,

Martin

Former Member
0 Kudos

The link is at the top of the request in the project. It looks like HTTPS<abc.com..portXISOAPAdapter>...You should select the second one starting with HTTP..

Former Member
0 Kudos

I understand. This is the WSDL Link, I think.

On my successfull test I have in SOAMANAGER no Connection Security and no authentification security, just de ABAP User and pwd. In SoapUi the WSDL is already on http.

If I change in SOAMANAGER the Connection Security to HTTPS and no authentification security, just ABAP User + pwd, and in SoapUi with or without the AUT User and pwd. I get an Error in soapUi Log. The WSDL is on https.

"Tue Feb 28 14:55:39 CET 2012:ERROR:Exception in request: java.net.SocketException: Network is unreachable: connect

Tue Feb 28 14:55:39 CET 2012:ERROR:An error occured [Network is unreachable: connect], see error log for details

Tue Feb 28 14:55:39 CET 2012:INFO:Error getting response for [*******************:Request 1]; java.net.SocketException: Network is unreachable: connect"

After editing the WSDL Url to http, same error.

I also tried the setting user + pwd on transport level and message level. And I changed the WSDL https to http.

Same error...

Its just working without security settings.

So maybe there are missing some configurations. But I am not an expert to know what settings are missing.

I hope some of you know the "new" error and how to fix it.

erik_mertens3
Explorer
0 Kudos

Hello Martin,

Is the https service active on the SAP server? use trx SMICM, goto services. There you should see the https service.

If the https service is active then in the ICM-monitor you can use the trace-file and trace-level to further investigate the problem (very detailed and technical but maybe you can find some info there).

Best regards, Erik

Former Member
0 Kudos

Hi,

Have you mentioned the userID and Pwd in the SOAP UI tool?

if not, you can find a button AUT at below of the screen to fill the details.

Thank You,

Madhav

Former Member
0 Kudos

Dear Martin

Have you configured any Ssender Soap Channel?

What HTTP Security level have you selected?

Sourabh

Former Member
0 Kudos

This message was moderated.