Page 1 of 2

xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Tue Sep 08, 2020 8:23 am
by ClaasB
Hi there,

We are trying to change from xserver to xserver2 in the SAP SOAMANGER / WebServices.

- We downloaded the wsdl file for xroute --> https://xserver2.cloud.ptvgroup.com/ser ... /2.19?wsdl
- Then we created a new Consumer Proxy using this wsdl file.
- When we try to ping this we get an error with "Web service ping failed (RC=404). Service Ping ERROR
1.png
2.png
3.png
4.png
In SRT_UTIL -> erorr messages we see the following:
5.jpg
XML-File -->
srt_xml.XML
(1.13 KiB) Downloaded 26 times
Can someone help us here?

Best regards,
Claas

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Tue Sep 08, 2020 9:26 am
by MISTERX
High Claas

Seems that you have spoiled several things:

Using WSDL and SRT points out that you like to communicate with xServer via SOAP/HTML. But why do you create a port in SOAMANAGER for REST?

PTV xServer2 Internet is always latest version (aka 2.19 actually). For what reason do you assume, that 2.18-end point is still available?

I'm quite sure, with proper settings HTTP-Statuscode 404 ("not found") will not come up anymore.

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Tue Sep 08, 2020 1:10 pm
by YNIK
Hi All and Mr.X ;) ,

I am the second person working on the PTV xServer2 integration scenario through the SOAP protocol. Sorry, the first input was too fast and with the mistakes. The right target server coming from the wsdl is ofcourse:
https://xserver2.cloud.ptvgroup.com:443 ... Route/2.19
ProxyProperties.jpg
And the main problem is the rc=403 (Forbidden Service Ping ERROR: Forbidden).
RCcode.jpg


Will be very thankfull for any further help :D

BR
YNIK.

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Wed Sep 09, 2020 2:17 pm
by MISTERX
Hi Ynik

First of all: why do you point to https://xserver2.cloud.ptvgroup.com/ser ... Route/2.19? This is the production xServer Internet (EU) and not intended to be abused for integration tests. This instance will serve "paying" PTV customers. Please use test instance of xServer Internet (https://xserver2-test.cloud.ptvgroup.co ... Route/2.19) for your actual objective.

HTTP 403 didn't point to communication problems (according to RFC 7231 https://tools.ietf.org/html/rfc7231):
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it.
Assuming that PTV has not redefined HTTP-RCs, the response does not point to any problems. My experience with SAP SOAMANAGER / SRT shows, that implementation of test functionalities for web services does not fit to particular requirements. I will try to reproduce your scenario tomorrow with one of my SAP systems. For that purpose I need to know what SAP system you are using (solution name, like ECC 6 EhP 4, TM 8.1, . . . kernel/base-version, like 720, 730, . . . or HANA version, like 1709, 1808, . . .).

Did you ran already any test request by using the proxy? Perhaps you get a valid response without any problems. :idea:

I've just tried to ping PTV xServer Internet and it timed out. Seems that PTV xServer Internet does not answer to PING by its settings . . .

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Wed Sep 09, 2020 3:45 pm
by Bernd Welter
cheers,

if you try to access the PROD URL with the test token this will hopefully explain the 403. Test tokens aren't granted access to PROD.

For access to PROD you need a specific token != test token. Get in touch with sales or order management if you wish to get a PROD token.

Does this info close the gap?

Best regards from France,
Bernd

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Wed Sep 09, 2020 3:53 pm
by MISTERX
Hi Bernd

Thx. I think your remark is really helpful.

@Ynik: Please retry with the Test xServer Internet and report - before I waste time by trying to reproduce your situation.

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Thu Sep 10, 2020 6:29 am
by YNIK
Hi All ,
I reallly appreciate your help.
Regarding the server. I just consumed the WSDL File , so this server was defined as automatically.
And I still get the rc=404.
2020-09-10 08_18_51-Mozilla Firefox.jpg
.

SAP BASIS - 754
S4CORE - 104
S4HANA - 1909

I will try also today to consume the proxy despite the mistake.
Anyway, thanks for the help.

Best regards
YNik.

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Mon Sep 14, 2020 11:53 am
by YNIK
Hi All

Trying to implement RFC Connection for REST consume I still have the problem of RC=404
2020-09-14 13_39_44-RFC Destination PTV.png
And also I have the same mistake if I do the consumption in my test program. I suppose it's not the case when it still works despite the connection mistake.
2020-09-14 13_51_10-Connection Test HTTP Destination PTV.png
Best Regards,
YNik

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Tue Sep 15, 2020 7:56 am
by YNIK
Hi All,

Finally I got the 200 response. The topic can be closed.

BR YNik

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Posted: Tue Sep 15, 2020 10:08 am
by Bernd Welter
Please let us know what caused the issue ;-)