Java RFC JAR file
Does any one have the JAR file link to the Java RFC
packages:
com.sap.rfc
com.sap.rfc.exceptions
If u have the link pls post. If u have the JAR file pls do email it to [email protected]
Thank you.
Also, do u have any sample code to create instances of Business Objects from Java and call the methods of the BO from java??
Similar Messages
-
Including helper classes in java proxy jar file
I must not be using the right header search criteria because I'm sure this question
has been asked before. In a Web Service File (.jws) I've imported a couple of
helper classes that function as data transfer objects. I did this to maintain
consistency with other portions of the application. The Java Proxy jar file generated
by Workshop does not include these files. Is there a way of including these dependencies
or do I need to distribute another jar file with my helper classes?Hi Naichen,
I was able to successfully run both the autotype and clientgen Ant task, on the
WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
to try with that version.
Regards,
Mike Wooten
"Naichen Liu" <[email protected]> wrote:
>
>
>
Hi,
I am having a warning message when trying to generate java proxy jar
file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this
service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following
exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United
Airlines
got an enterprise weblogic license deal with BEA, any help will be highly
appreciated.
Thanks!!!
Naichen -
Got error when trying to generate Java proxy jar file for webservice
Hi,
I am having a warning message when trying to generate java proxy jar file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United Airlines
got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
Thanks!!!
Naichen
[ModifyPNRWSContract.wsdl]Hi Naichen,
I was able to successfully run both the autotype and clientgen Ant task, on the
WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
to try with that version.
Regards,
Mike Wooten
"Naichen Liu" <[email protected]> wrote:
>
>
>
Hi,
I am having a warning message when trying to generate java proxy jar
file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this
service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following
exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United
Airlines
got an enterprise weblogic license deal with BEA, any help will be highly
appreciated.
Thanks!!!
Naichen -
Question about Java Applet Jar file signing.
These questions pertain to Java 6 Standard Edition 1.6.0_22-b04 and later.
I have gone through the Oracle Java Tutorial for generate public and private key information
to sign a jar file, and how to sign the jar itself, all at
[http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html]
, and seek some clarification on the following related questions:
-In order to "escape" the java applet sandbox that exists around the client's
copy of the applet running in their web browser, ie.
(something forbidden by default), is verification of the signed applet enough, or is a policy file required
to stipulate these details?
-using the policytool policy file generator, what do I need to add under "Principals"
(if anything) when dealing with a Java applet? Are Codebase and SignedBy simply author information?
-If I choose to use a java.security.Permission subclass object set up in equivalent fashion within the Applet,
which class within the Applet jar do I instantiate that object in? Does it need to be mentioned
in the applet's jar Manifest.MF file?
-Is the "keystore database" a java language service/process which runs in
the Server's memory and is simply accessed and started by default
by the client verifier program (appletview/web browser)?
-The public key certificate file (*.cer) is put in the webserver directory holding
the Applet jar file (ie. Apache Tomcat, for example).
-Presumably, the web browser detects the signed jar
and certificate file, and provides the browser pop up menu asking the user
about a new, non recognised certificate (initially).
Is this so?
-With this being the case, can the applet now escape
the sandbox, be it with or without the stipulated
policy permissions?848439 wrote:
-In order to "escape" the java applet sandbox that exists around the client's
copy of the applet running in their web browser, ie.
(something forbidden by default), is verification of the signed applet enough, or is a policy file required
to stipulate these details?Just sign the applet, the policy file is not necessary.
-Is the "keystore database" a java language service/process which runs in
the Server's memory and is simply accessed and started by default
by the client verifier program (appletview/web browser)?No.
-The public key certificate file (*.cer) is put in the webserver directory holding
the Applet jar file (ie. Apache Tomcat, for example).No. For a signed Jar, all the information is contained inside the Jar.
-Presumably, the web browser detects the signed jar
and certificate file, and provides the browser pop up menu asking the user
about a new, non recognised certificate (initially).
Is this so?No. It is the JVM that determines when to pop the confirmation dialog.
-With this being the case, can the applet now escape
the sandbox, ..Assuming the end-user OK's the trust prompt, yes.
..be it with or without the stipulated
policy permissions?Huh? -
How to run tools from a java archive (jar file)
I used to run Multivalent from http://multivalent.sourceforge.net/ but am now getting error messages like this:
Exception in thread "main" java.lang.NoClassDefFoundError: tools/pdf/Impose
This happens even when I'm in the directory containing the jar file.
I've never installed it by myself though so am not sure that I've done it right. I put the jar file into ~/library/java but that was a guess after reading lots of web pages that don't quite say what to do. They assume that I've read some intro material that I haven't been able to find.
Any pointers on where I can find out how to do this right?
In case it's relevant, java -version returns:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
and echo $CLASSPATH returns a blank line.Not necessarily. The -cp parameter can include a complete file spec. You can create a Unix alias for the whole command line. For example:
alias compress='java -cp ~/JarFolder/Multivalent20060102.jar tool.pdf.Compress'
I use Multivalent tools a lot for maybe a week at a time, then don't touch them for a couple of months. During the downtime I'd just forget aliases like this.
On Macs, the default classpath includes the folder /Library/Java/Extensions. If you drop the jar file into this folder then you won't need to specify an explicit CLASSPATH variable nor the -cp option.
I thought so too, but it doesn't appear to be the case on my computer. Both /Library/java/extensions and ~/library/java are on DefaultClasspath but CLASSPATH is empty. And even when the directories are specified, the jar file in it is ignored unless I specify that explicitly as well. I do not remember needing to do that in the past. It used to just work when it was in a classpath directory.
I get the impression that something has changed in how Mac Java handles the classpath. In searching for answers I noticed that many people were attributing their difficulties to a classpath change in a recent update. It is not something that I see myself dealing with in the near future. But it would be helpful to know of a primer for newcomers to Java and the OS X directory conventions so they know where to put things and what paths to set for basics like this. -
How to find directory java program .jar file is in?
I have a Java program that needs to save some configuration and data files in the same directory as the .jar file that contains the program.
If the user launches the app from that directory, it's easy.
The problem is when they do something like "java -jar /dir1/dir2/program.jar".
When they do that, HOW can I find the directory the .jar file is in - from within the program?CasaDelGato wrote:
I have a Java program that needs to save some configuration and data files in the same directory as the .jar file that contains the program.
If the user launches the app from that directory, it's easy.
The problem is when they do something like "java -jar /dir1/dir2/program.jar".
When they do that, HOW can I find the directory the .jar file is in - from within the program?There is an obscure way that basically consists of the following.
1. Get the class loader of the class (obviously one in the jar)
2. Find the 'resource' of that.
3. Resolve that to a path
4. Make it absolute if not already.
5. Extract the directory part.
2 and 3 are always the hard ones (conceptually and figuring out from the javadocs). There are examples somewhere on the forum. -
Hello list,
I am searching for the jar file for edu.sinica.iis.cscl.util.IniFile for this clas sbut after lot of google i din't found any so if anyone here can help for this will be appreciable.
thanks in advance
Regards
bharatLooking at the API, it shouldn't be too difficult to roll your own.
db -
How to bundle java help class into jar file ?
Hi, all,
I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar.
Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with command:
java -jar my.jar
It tells me couldn't find javahelp class.
What shall I do? How can I create my jar file with the jh.jar?
Thanks in advance.I think you'd be better off just adding the jh.jar as
a classpath argument and running it like that:
java -classpath /myjavalibdir/jh.jar -jar myjar.jar
...otherwise you're stepping into redistribution of
binary issues licensing-wise. That won't work either; when you run java with the -jar option, it ignores both the -classpath option and the CLASSPATH environment variable. However, it will see jh.jar automatically if you put it in the <path-to-java>/jre/lib/ext directory. But for distribution purposes, it might be simpler just to combime the contents of jh.jar into myjar.jar (if you use Ant, its <jar> task makes that very easy). Or, you can just run it this way:java -classpath myjar.jar;jar/jh.jar MyMainClassBTW, I don't think redistribution is a problem; otherwise how anyone even use JavaHelp? -
Converting .class/.java/.jar files to .dll file
I am trying to conver either class, java, or jar files into a dll so I can install my app onto a blackberry. Does anyone know how to do it? thx for your help.
Dear friend,
i too in the situation of converting java class to DLL, so that i can call java class from ASP.NET, if u know any third party control and solution, pls mail me:
[email protected] -
How to include .jar files in coldfusion code
To Integrate our cfm code with paypal jar files we do the
following steps with our local coldfusion server ,and to run and
integrate the paypal Java SDK jar files, I think we need to do the
same process on the server, can you suggest any thing to do the
following setting for my domain on the server, without setting the
class path in coldfusion administrator.
The ColdFusion application server must be configured to know
the location of the PayPal JAR
files, and your ColdFusion Markup (CFM) pages must be
configured with the absolute path to
the PayPal API certificate for the PayPal API user on whose
behalf the calls are made.
1. Install the PayPal Java SDK “Installing the
SDK”.
2. Copy a subset of the Java SDK JAR files to a location
accessible by the ColdFusion
application server. The JAR files are in SDK_root\lib and
their exact names are as
follows:
– bcmail-jdk14-128.jar
– bcprov-jdk14-128.jar
– paypal_base.jar
– paypal_stubs.jar
sax2.jar
– xerces.jar
– xpp3-1.1.3.4d_b4_min.jar
– xstream.jar-1.1.3.jar
3. With the ColdFusion Application Server Administrator, add
the absolute path of the
location you determined in Step 2 to the Java and JVM
CLASSPATH environment variable.
4. Restart the ColdFusion Application Server.
Suggest me how to include .jar files without setting
classpath.> Suggest me how to include .jar files without setting
classpath.
Copy them to {CF_HOME}\lib, where {CF_HOME} is, for example,
C:\CFusionMX7. Restart Coldfusion. -
Hi All,
i have to develop a JAVA mapping JAR file using SAX parser.
So for this in Netweaver Developer Studio, i created a new EJB project. in the ejbModule, i created a package and a JAVA class in it. But the problem is the JAVA class is not showing in EJBCandidates - so i am unable to add it to ejb-jar.xml file.............
Can anybody suggest why the JAVA class file is not appearing in EJBCandidates..........
Thanks,
Rajeev Gupta> Hi All,
>
> i have to develop a JAVA mapping JAR file using SAX
> parser.
> So for this in Netweaver Developer Studio, i created
> a new EJB project. >
Rajeeev
<b>For a JAVA MAPPING in the NWDS , you need not ceate an EJB Project.</b>
<b>Just use NEW--> JAVA Project</b> and then define a class that implements Stream Transfomratiom Interface in thsi project.
DO you coding in the execute mthod , and then finally , create a JAR file for this class / Project and then import it in your mapping uinder Imported Archives
Regards,
Bhavesh -
Question about classpath and jar file
I have a jar file (actually jhall.jar, the java help jar file). How do I uses its classes if I don't want to add it to the classpath. Currently, I have the jar file in the same directory as all my other classes.
it simply adds secondjar.jar into firstjar.jar, rather
than extracting secondjar.jar's files and put it into
firstjar.jar. How would I be able to do that?Don't do either of them. Distribute the two jar files separately, and in the manifest of the one which is meant to be your executable jar file, put a Class-Path: entry that refers to the other one. Look at the latter parts of the tutorial about jar files:
http://java.sun.com/docs/books/tutorial/jar/basics/
PC² -
Creating War , not Jar file.
I am trying to create my EJB and i created my web project. The problem seems that my JBoss will not recognize and deploy my table perhaps due to the structure of the war file.
My entities are working perfectly as they work, and have already been tested.
ANyway, what i want is some help into getting my build.xml into making a jar file and sending that one instead of the the war file..
Can someone please let me a link of where i should look ? Or what i should include in the xml file in order to create the file
sTevoo.
P.s - I am using netbeans 6
Ps - I wasnt sure if i had to post here or in the Deploying - Java Archive (JAR) Files<property name="jboss.deploy.dir" value="/home/stevoo/jboss-4.2.2.GA/server/default/deploy"/>
<property name="librarydir" value="${basedir}/lib"/>
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="dist.dir" value="dist"/>
<property name="bin.dir" value="bin"/>
<target name="prepare">
<delete dir="${bin.dir}"/>
<mkdir dir="${bin.dir}"/>
<mkdir dir="${bin.dir}/META-INF"/>
</target>
<!--Set Libs-->
<path id="libraries">
<fileset dir="${librarydir}">
<include name="*.jar"/>
<include name="*.zip"/>
</fileset>
</path>
<target name="compile1" depends="prepare">
<javac srcdir="${src.dir}" destdir="${bin.dir}">
<classpath refid="libraries"/>
</javac>
<echo message="Compile ...." />
</target>
<target name="compile" depends="compile1">
<copy file="${src.dir}/conf/log4j.properties" todir="${bin.dir}/META-INF/"/>
<copy file="${src.dir}/conf/MANIFEST.MF" todir="${bin.dir}/META-INF/"/>
<copy file="${src.dir}/conf/persistence.xml" todir="${bin.dir}/META-INF/"/>
<jar basedir="${bin.dir}" destfile="${dist.dir}/test.jar"/>
<echo message="Build...." />
</target>
<target name="run" depends="compile">
<copy file="${dist.dir}/test.jar" todir="${jboss.deploy.dir}"/>
<echo message="Run ... ${jboss.deploy.dir}"/>
</target>
After a whole day of changing and tweaking and all .... this sort of works.
Some more tweakong and done.
Just in case any one else wants this,,, -
HI,
In which jar file, I can get the following classes.
1. com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
2. com.crystaldecisions.report.web.viewer.CrystalReportViewer
Thanks & Regards,
Molay DuttaHi Molay,
As you are trying to access a .rpt report that is stored on your file system rather than on the enterprise, you need to use unmanaged RAS.
You can refer to the developer guide at:
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
Also, you can download the RAS java SDK's sample codes from the given link:
http://www.sdn.sap.com/irj/boc/index?rid=/webcontent/uuid/f0aea666-5384-2b10-ffb0-a6facef1d5e5 [original link is broken]
Try to run one of the relative sample at your end. This might help you to understand the issue in a better way.
Also, following is the procedure to run a web app to view a report using unmanaged RAS:
1. For that you need to create a web application in java and need to deploy into your Tomcat webapps folder.
2. When you are using SDKu2019s then you have to include the Jars files present in the Business Objects folder.
3. Also if you are using the SDK in business Objects then you have to include the Jars files available in the Business Objects installation folder: Program FilesBusiness Objectscommon4.0javalib
Here is the Structure of the application BO Enterprise environment in Windows:
1. In the WAR file's WEB-INF folder, create a lib folder.
2. Copy the Enterprise XI Java SDK JAR files from the appropriate location below to the WAR file's WEB-INFlib folder:
<BO Installation folder>Program FilesCommon FilesBusiness Objects4.0javalib
3. Copy the log4j.jar file from the appropriate location below to the WAR file's WEB-INFlib folder:
...Program FilesCommon FilesBusiness Objects4.0javalibexternal
4. Copy the entire crystalreportviewers12 folder from the appropriate location below to the WAR file's root folder.
...Program FilesCommon FilesBusiness Objects4.0
5. Open the web.xml file located in the WAR file's WEB-INF folder.
6. Specify the location of the utility files used by the report viewers contained in the crystalreportviewers12 folder by inserting the following code below the <display-name> and <description> tags but within the <webapp> tag definition:
<!-- Context Param -->
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>crystalreportviewers12</param-value>
</context-param>
<!-- Context Param End -->
7. Deploy the WAR file to your J2EE application server.
Regards,
Anchal -
Where is BusinessObjects Enterprise Java SDK jars located(BO XI3.1)?
We need to import Business Objects Enterprise Java SDK's jar files. However, there is no document or forum post that have the directory for version BOXI3.1.
By searching for the cecore.jar file, we find a directory that contains many Business Objects Enterprise Java SDK jar files:
D:\Business Objects\BusinessObjects Enterprise 12.0\warfiles\WebApps\BusinessProcessBI\WEB-INF\lib
Is this the correct directory for the Business Object Enterprise jar files?
We imported bellow SDK jar files:
asn1.jar
cecore.jar
celib.jar
ceplugins_client.jar
ceplugins_core.jar
ceplugins_cr.jar
cereports.jar
certj.jar
cesession.jar
ceutils.jar
clientplugins.jar
commons-codec-1.3.jar
commons-logging-1.1.jar
corbaidl.jar
ebus405.jar
flash.jar
freessl201.jar
jsafe.jar
logging.jar
pluginhelper.jar
postprocessing_oca2service.jar
publishing_oca2service.jar
rasapp.jar
rascore.jar
reporttemplate.jar
serialization.jar
SL_plugins.jar
webreporting.jar
xbean.jar
xcelsius.jar
XcelsiusSLPlugins.jar
Is this the complete list that we should import for X3.1? there are some files like commons-codec-1.3.jar, it looks a Apache jar file, not the SDK's jar file. shall i include such files as well?Don't know why I see this error when I am creating the SessionMgr object even though I have the CrystalDecisions.Enterprise.Framework and CrystalDecisions.Enterprise.InfoStore referenced:
SessionMgr sessionMgr = new SessionMgr();
Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Maybe you are looking for
-
Business Area Wise Balance Sheet activation after doing transaction in ECC6
Hi Friends, We are working in ECC 6.0. We have activated BA Area wise balance sheet settings in Company code global parameters and done transactions. We have not assigned an BA scenario to Lead ledger. So i am not able to bet BA wise balance sheet. N
-
Sending video signal to television
Is there a wireless solution to send a video signal from my mac pro to a tv monitor?
-
All, I have a safari extension 'Find Me Savings' that I cannot remove. I have read other discussions and in the library/preferences folder the relevant .com.apple.safari doesn't exist to move onto my desktop. Can somebody advise is to whether I can d
-
Again about non Latin 1 characters for XE beta
May be it is possible create beta XE universal language version? The statistic of threads shows actuality of this function for testing/education/development needs. It's not possible study/develop with XE without inserting necessary real data. It's to
-
I have upgraded to version 4. It's great because it's fast. BUT after about two weeks it refuses to quit. I have to force quit EVERY TIME! AND....my addon toolbars existed for the same amount of time and then POOF - gone. They still live in the addon