Hi,
I am new to Eclipse development. I downloaded a Sap connector PAR project from sdn and imported it in Eclipse then i showed lots of error with portal.HTMLB, portal.connector and javax.resource.cci.connection.
I want to know where can i find the JAR file for this import? or how to resolve this problem?
Thank you
arun
Hi,
Can some experts tell me how to resolve this javax.resource.cci problem to make the Connection work?
I have solved the HTMLB problem by importing the external JAR files. Can someone tell me how to find out the JAR files for javax import?
Thank you
arun
Hi Arun,
You need to include several jar files in your Eclipse project. It's difficult to find them at times since the required jar files are not listed in the javadoc or PDK. We will hopefully remedy that situation in the near future. For now, I would suggest you include the ones listed in the thread:
conversion-from-jcoconnector-to-connection-framewo
For the HTMLB libraries, you need to include the htmlb.jar and com.sap.portal.htmlbbridge.jar. These can be found in a ZIP file in the "Downloads" section of the PDK Java Developer role.
There is also a discussion about the SAP connector in the thread
Also make sure that you include the proper services reference in the portalapp.xml:
<property name="ServicesReference" value="com.sap.portal.htmlb,com.sap.portal.ivs.connectorservice" />
<property name="releasable" value="true" />
Good luck,
Will
Hi Arun,
You can also use the Jar Class Finder plug-in of eclipse to find the class files that are present in the Jars. All you will have to then do is use the Jar finder and specify the Class File name that you are looking for. All of the Portal jars will under <Portal Install Dir>/usr
More information on Jar Class Finder plugin can be found at www.alphaworks.ibm.com/tech/jarclassfinder
Thanks
Ankur
Thanks Carlton and Jain,
I searched for the JAR files in the EP60 Installation directory usr\EP60,
.../additional-lib/connector.jar
.../additional-lib/com/sapportals/connectorframework/framework/GenericConnector.jar
.../additional-lib/com/sapportals/connectorframework/framework/ConnectorHelper.jar
.../additional-lib/jta.jar
.../portalapps/com.sap.portal.ivs.connectorservice/lib/com.sap.portal.ivs.connectorserviceapi.jar
I could find the names in the path specified by you but they are all ZIP files. When i Unzip them i could only find .class files inside them not the JAR files.
I resolved all the problems except Javax.cci import error.
If you have any idea where to find them it would help me a lot?
Thank you
arun
Thanks Will Carlton,
This solved the problem and i have made the first connection to R3 successfully.
Is there any special document to explain the different options in getting data from R3 and at different levels?
Basically the example i downloaded used an BAPI and got the output from the BAPI. What are all the other possibilities in Web programming with Eclipse?
Thank you
arun
Add a comment