on 03-21-2012 2:28 PM
Hi,
I've found the Integration Directory API which is useful to read configuration objects. But I would also like to
connect to the Enterprise Service Repository to extract for example a Service Interfaces and the used Message Types and
the Structure. Are there Webservices or a JAVA API (JAR file) to get to that information?
Thanks and best regards,
Peter
Hi Peter,
1. there is no API
2. for reading you can use simplequery:
http://wiki.sdn.sap.com/wiki/display/XI/Access+SAP+PI+objects+simply+with+SimpleQuery
to read all things from ESR (message types, etc.) - it works pretty well
let me know if you can use it,
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
I played a bit with the Simple Queries and they work quite well, but there is another small thing I would like to know. I saw that you are able to mark 2 checkboxes: Show request XML and Show Response XML.
Is it possible to send that generated Request XML as query? The reason is that I would like to be more flexible in the result list. Lets say like if I want to extract all Software Component Versions, I would like to have only the ID and name in the response.
Thanks and best regards,
Peter
Hi Michal,
Thanks for the info.
I am trying to call the http://<host>:<port>/rep/support/SimpleQuery via my HTTP Client. I am facing below two issues :
1. Whenever I am trying to call the url via my client , I am getting SAP Logon page in the response. though I had set credentials as basic authentication parameters.How to address the authentication in this scenario ?
2. How do I pass the request query to /rep/support/SimpleQuery , should I :
a. pass the request xml as body with HTTP post call
b. set the parameters in the text area 'use this request xml' and call the /SimpleQuery servlet.
Could you please explain on how did you get the required ESR details via a client application.
Really appreciate your advise and help.
Regards,
Vishal
Hi Michael
can you please show an example of how to use
http://<host>:<port>/rep/support/SimpleQuery
for or automated documentation?
is there a http post example to send a reported request xml
like this
<?xml version="1.0" encoding="UTF-8"?>
<generalQueryRequest>
<types xmlns="">
<type id="RepBProcess"/>
<type id="XI_TRAFO"/>
<type id="ifmmessage"/>
<type id="MAPPING"/>
<type id="process"/>
<type id="ifmmessif"/>
</types>
<qc xmlns="" qcType="S" delMode="N" useSyncT="true" clCtxOnly="false">
<clCxt consider="A"/>
<swcListDef def="G">
<swcInfoList>
<swc id="3c81025196de11e2c060f3460a9a1457" sp="-1" underL="true" onlyMod="false"/>
</swcInfoList>
</swcListDef>
</qc>
<condition xmlns="">
<complex/>
</condition>
<result xmlns="">
<attrib>MODIFYUSER</attrib>
<attrib>MODIFYDATE</attrib>
<attrib>RA_XILINK</attrib>
<attrib>MULTIPLICITY</attrib>
<attrib>NAME</attrib>
<attrib>NAMESPACE</attrib>
<attrib>OBJECTID</attrib>
<attrib>VERSIONID</attrib>
</result>
regards
Ralf
Hello, Ralf,
We discussed on some utility ages before 🙂
There is another one, diffo. https://github.com/chumpa/pinternals_diffo
It's purpose is cross-system objects diff, and it is in some limited usage (no SSO is supported, but for 7.1 is OK). Plugin for Eclipse is developed by my colleguae.
Write iliya.kuznetsov@gmail.com for questions.
Hi Peter,
Thanks for the info.
I am trying to call the http://<host>:<port>/rep/support/SimpleQuery via my HTTP Client. I am facing below two issues :
1. Whenever I am trying to call the url via my client , I am getting SAP Logon page in the response. though I had set credentials as basic authentication parameters.How to address the authentication in this scenario ?
2. How do I pass the request query to /rep/support/SimpleQuery , should I :
a. pass the request xml as body with HTTP post call
b. set the parameters in the text area 'use this request xml' and call the /SimpleQuery servlet.
Could you please explain on how did you get the required ESR details via a client application.
Really appreciate your advise and help.
Regards,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IMO, there is no such API to access ESR information. Currently we have only for Integration Directory. BTW, why do we need for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.