cancel
Showing results for 
Search instead for 
Did you mean: 

PI call a third party system over HTTP calls only (no web services/wsdl)

Former Member
0 Kudos

Dear Community Members.

I am doing a scenario with PI where I want to push data from ECC (SAP) to a third party system. The issue is that third party system supports HTTP calls only. it doesn't support web services or wsdl. However, it does support a XML.

In simpler words, PI needs to make a call something like this .

http://thirdpatysystem/objectid?field 1=value 1&field2=value 2&field3=value 3.

In the above call, upto ObjectId is static and from "?" onwards, the url has to be constructed dynamically for each transmission. Alternativly, it can also support a XML payload, but it doesn't support any web services/wsdl.

In addition to above, i have one more question - CAN PI support https:// (secure) and http:// (non-secure) system in a single installation. In simpler words, some clients making call to PI only on HTTP and others making calls in HTTPS. I want to know this as one system of ours wishes to make a HTTPS call whereas all of other systems as of now are working over HTTP. We are on PI version 7.4.

In case, if it supports, what impact will it have on other systems ?

Would appreciate any help in this regard.

Thanks a lot

Dinesh

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

If the third-party support HTTP Post, it can process the XML and limit number parameters.

Regards,

Nikhil

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Dinesh,

A couple of comments:


I am doing a scenario with PI where I want to push data from ECC (SAP) to a third party system. The issue is that third party system supports HTTP calls only. it doesn't support web services or wsdl. However, it does support a XML.

In simpler words, PI needs to make a call something like this .

http://thirdpatysystem/objectid?field 1=value 1&field2=value 2&field3=value 3.

In the above call, upto ObjectId is static and from "?" onwards, the url has to be constructed dynamically for each transmission. Alternativly, it can also support a XML payload, but it doesn't support any web services/wsdl.

Based on that, you can either use HTTP adapter of SOAP Adapter in noSoapMode. The question is how long or how many parameters are you using e.g field1..n, because right now, there is a limitation of 200 characters for the SOAP Adapter dynamic configuration URL. If you would be using the HTTP_AAE, you can extend the number of URL parameters by implementing note 1873415.


In addition to above, i have one more question - CAN PI support https:// (secure) and http:// (non-secure) system in a single installation. In simpler words, some clients making call to PI only on HTTP and others making calls in HTTPS.

Yes, it does support http and https (with/without client authentication). I do not think it will impact other systems however, please keep in mind that http connections are not secure.

Regards,

Mark

Former Member
0 Kudos

Hi Mark,

Thanks for your quick response. Some follow up questions:

    Mark Quotes - "Based on that, you can either use HTTP adapter of SOAP Adapter in noSoapMode. The      question is how long or how many parameters are you using e.g field1..n, because right now, there is a      limitation of 200 characters for the SOAP Adapter dynamic configuration URL. If you would be using the      HTTP_AAE, you can extend the number of URL parameters by implementing note 1873415."


     Question - By implementing the note 1873415, how long the URL string can be ?

Also, if i use HTTP adapter or SOAP adapter in noSoapMode, how do i generate the dynamic part of URL

...../objectid/?field 1=value 1&field2=value 2&field3=value 3. (i.e. field1=value1,.......). Is that possible ? Could you throw some light on this since i am quite new to PI.


regards

dinesh

former_member183908
Active Contributor
0 Kudos

Hi

how do i generate the dynamic part of URL

Dynamic part of URL can be generated using Dynamic configuration UDF + ASMA.


In addition to above, i have one more question - CAN PI support https:// (secure) and http://(non-secure) system in a single installation. In simpler words, some clients making call to PI only on HTTP and others making calls in HTTPS

As mentioned by Mark yes it supports both HTTP and HTTPS.In case of https the client making call to your PI should deploy the certificate in their application.

Thanks

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Dinesh,

I think it can be as long as you want to. Yes, it is possible. The dynamic part can be generated by using dynamic configuration.

Regards,

Mark

iaki_vila
Active Contributor
0 Kudos

Hi Pavan,

In this note 1105368 - HTTP adapter: Dynamic URL and HTTP parameters said the total length is 200 characters, at least on http adapter, i don't know on http_aae adapter.

Regards.