cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass the URL to Element in PI

Former Member
0 Kudos

Hi Experts,

I have requirement where i need to pass the URL to the element and elelment type should be Geometry i am not sure how we can pass the URL to the Element .I can provid the example of XML how it should look like after passing the value.

Please  let me know how can i get similar structure in SAP PI.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Rammohan, You may want to black-out any company identifying data from the xml.

iaki_vila
Active Contributor
0 Kudos

Hi Rammohan,

May be i misunderstood your problem, you can set the tag value to any tag with a simple mapping using a constant for example. (SAPTechnical.COM - Message Mapping concepts and introduction to Queues)

What is you scenario?. Is the sender an ABAP system?, do you consume a SOAP service?.

Regards.

Former Member
0 Kudos

Hi

My scenario is Proxy to SOAP.Sender system is ABAP and reeving system is web service.

I need to pass the information from ABAP system with this URL,the receiver system is GIS system so i need to pass this URL so that i can get the response with co-ordinates.

I created similar structure as SOAP message (as per my screen XML attached) data type ,but i am noe sure how can i pass this URL in search shape parameter.

Thanks

iaki_vila
Active Contributor
0 Kudos

Hi Rammohan,

Then, your problem is how use the SOAP service, there is not SAP PI problem because you will have the same problem if you test by SOAPui, you need to know how the SOAP service works, isn it?, do you have the WSDL? is it from here SOAP SDK?.

Regards.

Former Member
0 Kudos

HI

Sorry for the confusion , the attached XML file is the request ,so i created the similar data type in PI.

I tested with SOAP UI with the same request and i am getting the response.

But the issue is how can i pass the URL in the Search shape element as you see in the XML.

for example:

<SearchShape xmlns:q4="http://www.esri.com/schemas/ArcGIS/10.0" xsi:type="q4:PointN" xmlns="">

<X>362549.68599999975</X>

<Y>5023770.5098999999</Y>

</SearchShape>


In the search shape i need to pass this URL and type Point N.I am able to pass the values to the X Y coordinates.


i am not good interpreter may be.


Thanks,

Mohan

former_member184720
Active Contributor
0 Kudos

When you say URL, are you refferring to namespace declaration "xmlns:q4="http://www.esri.com/schemas/ArcGIS/10.0" ?


If so you got two options to add this namespace.


Either go for an xslt mapping and add namespace.

http://scn.sap.com/thread/2062939

or follow the below blog to add it