Proxy class name should be same in all env. Correct ?
Hi Friends,
We have ECC development, quality and production system. We already did the proxy settings in ECC dev and it is connected to PI. It is fine.
In SPROXY, we created class for our outbound interface in ECC dev system. While the class is created we saved this in package (to be transported to ECC quality).
We will do SPROXY config in ECC quality system to connect to PI.
PI system is same for both development ECC and quality ECC.
Now, my doubt is, 1) do we need to create again class through SPROXY in ECC qulaity for the same OB interface ?
2) If it is 'yes', is it required to transport the class to from ECC dev to ECC quality ?
My understanding is a) we need to create class in quality ecc (SPROXY). b) The class name should be same as in ecc dev 3) It need not required to transport the class from ecc DEV to quality since we did not do anything for the class.
Can you kindly clarify friends.
Kind regards,
Jegathees P.
I do not get your points.
> I agreed your point. My query is once the proxy class transported into QUALITY, how the call/execution will happen ?
The same way as in dev.
> It means how it understands it needs send data to XI system when this class is called through Z abap program in Quality.
Yes.
> How this is differentiated from normal class call & proxy class call?
There is no difference. You call the proxy class the same way as any other class that you create with SE24.
The only difference is, that this class is generated.
So the whole transport mechanism applies for the ABAP proxy as well.
In our system I put ABAP proxy and calling program in same package and transport them together. But this is up to you.
Similar Messages
-
Why public class name should be same as the java file name
Hi,
I would like to know, why public class name should be same as the its java file name. Iam in the process of finding the answer to this question. Can someone help me out in finding the explanation.
Thanks in advance,
ManojThis is a requirement of the Java reference compiler released by Sun. I have used compilers that did not require this, but most seem to follow the reference compiler (which is a very good idea). I am NOT sure if this is specified in the Java Language Specification. Some of the other regulars who are more familiar with the JLS than I may be able to tell you.
? {? -
Why it is necessary that public class name should same as filename in java
hi,
why it is necessary that public class name should same as filename in java.
As I know that it is a convention, but I want the information why this convention is made.
thanx.user13445117 wrote:
but suppose if i am creating a java file with default access modifire then we do not need to save the file name as a class name.So, your question is "Why does the rule about top-level classes being in a file of the same name apply +only+ to public classes"?
If it were applied to all classes, then we could never have two top-level classes in the same file. Doing that is generally not a good idea, but it might be useful from time to time. EJP already told you why it applies to public classes, and, since these are the most common by far, it's a fair compromise that it apply to them but not to other classes.
Was this the reason the original designers did it that way 15 or so years ago? Don't know, don't care, but it's one plausible explanation. Maybe it was just a balance between simplicity and clarity on the one hand, and flexibility on the other.
It's certainly not something I can see caring that much about, unless you're doing an in-depth history on Java, or writing an in-depth treatise on computer language and compiler theory. -
XI mail adapter - File name should be same in attachment
Hi all,
Here is our scenario:
First part of our scenario involves picking *.pgp (e.g. addressB.pgp) file from partner FTP server and after decrypting put it on local Unix path - This part works ok
In second part, we send this file by mail to static mail receivers as attachment
(Message Protocol - XIPAYLOAD, Use Mail Package and Keep Attachments unchecked)
When we receive this file as attachment, the attachment name is some random value, we need to keep the attachment name same.
i.e. If we are picking and sending file "addressB.txt" then in mail attachment name should be "addressB.txt"
Please suggest how this can be done
Thanks
GirishHi Girish,
We have a same scenario where XI is picking file from R/3 directory and sending it as a mail attachment without any mapping,the attachment name was supposed to be same,ex: abc.csv.
I had the same problem,that every time I used to receive a randon attachment name like att34.txt,etc (recipient might be afraid that this is a virus )
To resolve this,please add these modules in your mail receiver:
1 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean Transform
Transform Transform.ContentDisposition attachment;filename="abc.csv"
Transform Transform.ContentType text/plain;charset="UTF-8"
If you use this,your attachment name will always be abc.csv.
Kindly let us know if this works for you.
Thanks.
Regards,
Shweta -
Class name and file name should be same??
Hi All,
I am having tweo public classes in a file like this:
public class A
// Class body
public class B extends A
// Class body
public static void main(String args[])
// Function body
when I compile its giving the following error:
B.java:1: class A is public, should be declared in a file named A.java
Why it is so.whats wrong in this.
Thanks in advance,
Jana.In C you have to write a "make-file" for your project (or it's written for you).
In java there are no "projects". If the JVM needs a class it is looking for a file with this name in the classpath. -
I have been having this problem since I had my phone... I have numerous artists that are separated because of a small change such as having "The" or even just a space at the end of the artists name. I fixed this issue with my gf's iPod 2 months ago by painstakingly going through each and every artist ensuring that the name was spelled the exact same way as all the other songs by the same artist. I did the same for my iTunes and although it shows up fine in iTunes, even after I delete all my music off my phone and resync, the issue persists. I am super anal about things just like this and it is driving me to the point where I don't want to use my phone as an iPod (I rarely used my existing iPod but I thought it would be nice to have one I would always have on me) because to listen to an artist all the way through I have to change halfway.
The title of my initial post is a bit misleading. I already took a chance deleting one of the iPhones, hoping if I deleted the wrong one, I can still reauthorize it (all with the same Apple ID acct, so not subject to 90-day waiting period, right?) The iTunes database just updated itself, and it says I have 4 "devices" "in the Cloud", but 5 "computers" associated w my account. How can I find out what computers are associated? Isn't there a list I can see? I dont have a clue what computers they might be. If I use the "Deauthorize All" option, is it a pain to add them all back in. I assume I would have to log in from each computer to reauthorize each one. Would I have to be running the newest OS or version of iTunes to reauthorize? I think I have a PowerBook G4 Titanium with an older OS and iTunes. I'd like to keep that authorized, if possible.
-
Source and target directory file name should be same
Hi,
How can i generate the same file name in target directory without date and Timestamp.
for eg., Source File name : yeswanth.txt
and target File name also : yeswanth.txt
Note : here source side the file yeswanth.txt is constant and whenever it moves to target directory...should be overwrite.
Reward points for useful answers.
Thanks & Regards,
yeswanth.Hi Mugdhal,
am getting this error when i sent the same file again.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException:
Yeswanth.txt: Cannot create a file when that file already exists. : com.sap.aii.adapter.file.ftp.FTPEx: 550
Yeswanth.txt: Cannot create a file when that file already exists.
But, here it should be overwrite the existing file.
Regards,
Yeswanth. -
Why class name must be same as its file name?
just curious
http://forum.java.sun.com/thread.jspa?forumID=54&threadID=613486
http://forum.java.sun.com/thread.jspa?forumID=256&threadID=452360
http://forum.java.sun.com/thread.jspa?forumID=513&threadID=516940 -
Why the name of our source file should be same as the 'public class' name
Hi all,
I am very new in java and have a question in my mind.
I read somewhere , our souce file name should be same as public class in that file.
but i don't know the reason for this.
Can anybody help me out with this .
Thanks,HMRPanchal wrote:
Thanks,
Can you give me some link or documents from where I can go through this article.
because I am not clear with what you are saying( makefiles , automatic recompilation etc).
I am a new in Java .The fact that you don't have to worry about those things is what makes it A Good Thing. -
Class name of stub for EJBHome Impl
Hi,
I am doing a context.lookup to find the EJBHome stub and I print the class name
of the object that is looked up, every time a diffrent name comes up.
Object obj = ic.lookup("ejb/test");
System.out.println(hh.getClass().getName());
I get $Proxy1
and when I add the two more lines
Object obj1 = ic.lookup("javax/jms/QueueConnectionFactory");
System.out.println(obj1.getClass().getName());
Object obj = ic.lookup("ejb/test");
System.out.println(obj.getClass().getName());
and re-run only my client I get:
weblogic.jms.client.JMSConnectionFactory
$Proxy2
I understand that weblogic generates the stub dynamically, but how come (class name
of) a object bound to JNDI tree keeps changing?
and why does that happen for the connection factory(is that not a RMI stub too)?
viswaviswa <[email protected]> wrote:
Hi,
I am doing a context.lookup to find the EJBHome stub and I print the class name
of the object that is looked up, every time a diffrent name comes up.
Object obj = ic.lookup("ejb/test");
System.out.println(hh.getClass().getName());
I get $Proxy1
and when I add the two more lines
Object obj1 = ic.lookup("javax/jms/QueueConnectionFactory");
System.out.println(obj1.getClass().getName());
Object obj = ic.lookup("ejb/test");
System.out.println(obj.getClass().getName());
and re-run only my client I get:
weblogic.jms.client.JMSConnectionFactory
$Proxy2
I understand that weblogic generates the stub dynamically, but how come (class name
of) a object bound to JNDI tree keeps changing?You can look at java/lang/reflect/Proxy.java to see how proxy class names are generated.
BTW, it looks like WebLogic 7.0 doesn't use JDK dynamic proxies anymore and generates
stub/skeleton bytecode by itself, so Stub class names are no longer $Proxy123 but xxx_WLStub.
and why does that happen for the connection factory(is that not a RMI stub too)?My guess is that the actual stub reference is buried somewhere else.
viswa--
Dimitri -
Why a public class name and file name same?
All of us know that, a public class should be declared in a file which has the same name of that class. What is the underlying concept behind this..Can someone give a clear explanation?
Thanx..
Sandeep Joseph
Paragon Solutions
[email protected]Another issue, it was said that the file must be named
after the class to find the class's code when
compiling dependent classes. Doesn't this apply to
non-public classes too (with the dependent class being
located in the same package)?This applies to all top-level classes ...
You can define multiple classes in one file though:
class A {
class B {
}It's perfectly valid to have both classes defined in the same file (named A.java if A is the first class to be defined in that file).
You will get a compiler warning as soon as you reference a non-top-level class from a class that is defined in another file, though. -
Proxy class sometimes generate bean class by webmethod name
Hi,
I have designed a wrapper for my proxy classes for our project Web logic integration into Siebel
I found that during generation of proxy classes, the generated proxy class contain a bean class which is named same as the exposed web service method name, which I use to get the parameter name of method thru reflection from this generated bean class. But sometimes it doesn't generate this bean class at all, i don't know the reason why it does so.
Can any one let me know why this happens so,or is there any way that i can get this bean class in the name of exposed web service method name get generated always.
Also I want to know how to keep generated the webparam annotation for the for the exposed webemethods> Is that controlled by the web service provider?
Thanks
Krishnakumar (Siebel Core - Web logic integration)
[email protected]It depends on the service style used by the WSDL, the class wrapping the webservice operation is generated only for document literal wrapper style.
-
Receiver file name should contain the same plant value as sender filename
Hi All,
I have a requirement in PI 7.0 and the scenario is synchronous which is as follows:
- XI will read a flat file which has the naming convention Plant_100.txt where 100 is the plant number , after reading the file XI will trigger standard BAPI call to ECC system.
- ECC system will return an response message back to XI , XI need to need write this message in to a log file and the file name should be Plant_100_logs.txt.
- Here plant value 100 is neither passed to ECC system nor this value will be returend back from ECC system . So , is there anyway where we can make sure that plant value can be added to the log file without using an BPM in between ??
Regards
Vinay P.Hi,
Using Dynamic configuration in Message mapping you can read the source file name and creta the target file name as same as source file.
For BAPI call in Mapping you can use RFC lookup.
So crete a scenario FILE to log FILE
In mapping using RFC lookup make a BAPI call.
And use dynamic configuration to set the file name.
Refer this
http://www.****************/Tips/XI/ASMA/Index.htm -
Hi Guys,
First of all thanks in advance any help much appriciated.
I am new in scripting and excel, i am looking for below solution as my job requires daily work of this kind and i came to know by automating this work lots of time can be saved.
Compare Server Names in Excel sheet from column1 with column 2 and exact matched server names should be saved in column 3 in same Excel sheet.
Looking solutions first using excel i.e.vlookup itself so that it will not require any approval in my job else using powersell ,vbscript.
Once again Thanks for you guys.
/Regards
Nitesh24inHi Edward,
Thanks once again
I have only changed excel file path and after that this is saved as below , i am not sure which three lines should be together in one line. Please advise.
$excel = New-Object -ComObject Excel.Application
$Workbook = $excel.Workbooks.Add("F:\NewDocsToReadNitesh26-May2013\Excel\test.xls")
$WorkSheet = $Workbook.Worksheets.Item(1)
$WorkSheet.Activate() | Out-Null
For ($i=1;$i -le $worksheet.UsedRange.Rows.Count;$i++) {
If ($worksheet.cells.item($i,1).value2 -eq $worksheet.cells.item($i,2).value2) {
$worksheet.cells.item($i,3).value2 = $worksheet.cells.item($i,1).value2
}$Workbook.Save()$excel.Quit()[System.Runtime.InteropServices.Marshal]::ReleaseComObject([System.__ComObject]$excel) | Out-Null
Thanks and Regards
Nitesh24in -
File upload Name -- Attachment Name should be the same as the File Name!!!
Hi,
Im trying to upload a file in my custom OAF page, I need to read the file that iam trying to upload and need to display that name.Currently its displaying as "view"
and I also need to disable clear button.
I have gone through the jdev doc ,forums and i have checked with some standard OAF pages and written the follwing code:
DataObject dataobject = pageContext.getNamedDataObject("AttachData");
String s7 = (String)dataobject.selectValue(null, "UPLOAD_FILE_NAME");//
System.out.println("s7"+s7);
Till this point, s7 is printing correctly (i,e what ever file name im trying to upload its displaying correctly).
when i add the below line its giving error :
BlobDomain blobdomain = (BlobDomain)fileUploadData.selectValue(null, s7);
Can not find the variable "fileUploadData" the class ....
I have also tried the below one:
OADataBoundValueViewObject displayNameBoundValue =
new OADataBoundValueViewObject(uploadBean, "FileName");
uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
Even after importing all the required packages, still its throwing error:
Can not find "uploadBean" the class ....
can some one help me in this.
Thanks,
Mahesh
Edited by: user8996062 on Aug 23, 2010 3:55 PMHi Ajay,
I'm getting the following error.I have written this code in PFR when user clicks "Save" button.
Please let me know how to resolve this error.
(This developer mode error is thrown instead of being registered due to the lack of the page context object.) The OA passivation framework coding standard has been violated. Web bean properties cannot be modified in the controller processFormData or processFormRequest method. Web bean properties should be modified in the processRequest method only. An attempt to modify a web bean has been made in the following call stack: java.lang.Throwable at oracle.apps.fnd.framework.OACommonUtils.getCallStack(OACommonUtils.java:784) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1773) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1803) at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.setAttributeValue(OAWebBeanFormElementHelper.java:1992) at oracle.apps.fnd.framework.webui.beans.message.OAInlineMessageBean.setAttributeValue(OAInlineMessageBean.java:203) at xxafp.oracle.apps.qp.pricelistrebate.webui.XxafpEepRebateCreateCO.processFormRequest(XxafpEepRebateCreateCO.java:410) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418) at OA.jspService(OA.jsp:40) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
Thanks,
Mahesh
Maybe you are looking for
-
Application Category view in Finder
I rather like the Application category view in Finder but it is not currently of much use because so many of my applications fall into the 'Other' category. I assume this is an attribute of the file and can be found and changed somehow. Does anyone k
-
Problems printing duplex, page 1 on sheet 1 but pages 2 and 3 on sheet 2
When I am printing documents in duplex form page 1 ends up on sheet 1, but pages 2 and 3 are on sheet 2. Why does it always skip one page? Please help me, I am out of options...
-
SAP CRM 2007 - How to Access a Table from one view to another via ABAP BSP
Hi experts, I need your help. I am working in SAP CRM 2007 developing code modifiying views using transaction "BSP_WD_CMPWB" and my problem is the following: After the "Account Identification" process I go to "Create Case" and click in "Complaints" o
-
I cant connect my bluetooth earpiece with my BB curve 9320
helpppp we are winners naturally so alwaz excel
-
I created PO with excise duty Rs,100/- but while posting excise invoice i changes to Rs,80/- only. When i am posting vendor invoice changing tax value its giving error message and not able to save invoice. When i tick tax tab in MIRO on basic data i