xServer2 - SAP SOAMANAGER issue, RC=404

This space is dedicated to SAP users - administrators and programmers who want to integrate PTV Developer (native), the PTV xServers or the SAP Hana Spatial Services (HSS). Topics which require specific SAP based knowhow or which deal with SAP based mechanisms will be collected here.
ClaasB
Posts: 3
Joined: Wed Jul 08, 2020 1:21 pm

xServer2 - SAP SOAMANAGER issue, RC=404

Post 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 27 times
Can someone help us here?

Best regards,
Claas
User avatar
MISTERX
Posts: 59
Joined: Mon Jun 02, 2014 11:50 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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.
Last edited by MISTERX on Wed Sep 09, 2020 1:13 pm, edited 1 time in total.
Mr. X
  • Integration PTV <> SAP
  • Senior Consultant

________________________________________________

Optimism is only a lack of data!
YNIK
Posts: 6
Joined: Tue Sep 08, 2020 7:16 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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.
User avatar
MISTERX
Posts: 59
Joined: Mon Jun 02, 2014 11:50 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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 . . .
Mr. X
  • Integration PTV <> SAP
  • Senior Consultant

________________________________________________

Optimism is only a lack of data!
User avatar
Bernd Welter
Site Admin
Posts: 3014
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
MISTERX
Posts: 59
Joined: Mon Jun 02, 2014 11:50 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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.
Mr. X
  • Integration PTV <> SAP
  • Senior Consultant

________________________________________________

Optimism is only a lack of data!
YNIK
Posts: 6
Joined: Tue Sep 08, 2020 7:16 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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.
YNIK
Posts: 6
Joined: Tue Sep 08, 2020 7:16 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post 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
YNIK
Posts: 6
Joined: Tue Sep 08, 2020 7:16 am

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post by YNIK »

Hi All,

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

BR YNik
User avatar
Bernd Welter
Site Admin
Posts: 3014
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xServer2 - SAP SOAMANAGER issue, RC=404

Post by Bernd Welter »

Please let us know what caused the issue ;-)
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply