Error when calling add method of UDO object
Hi all
i've created a UDO object. when i invoke the method "add" i get the following error message: "Ref count for this object is higher then 0"
anyone can tell me how to fix this?
appreciate the help
Yoav
Hi YECHIEL SCHUSSEIM ,
This message will come unless u have garbage collect ur objects,
After u have created ur fields u have to collect ur bojects as
'/////********************* after all fields are added succesfully
' to release the object
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
GC.Collect() 'Release the handle to the table
Now u r going to create UDO
'///*************************************** after the udo is successfully created u have garbage collect the ob ject as
' to release the object
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserObjectMD)
GC.Collect() 'Release the handle to the table
I hope it helps
Regards
V.Rangarajan
Similar Messages
-
JAX-WS client error when calling web method
My JAX-WS client is getting the following error when calling a web method:
Exception in thread "main" javax.xml.ws.WebServiceException:
No Content-type in the header!
I'm using Eclipse as my development environment. I use the CXF facet to generate a WSDL from Java code. I then use the New -> Web Service Client to generate client side code from the WSDL.
The following fully describes my environment:
Windows XP
JDK 1.6.0_22
Java EE 6
Eclipse Helios
Apache CXF 2.3.0 (runtime)
Tomcat 6.0
I have found several post on the net that describe this problem and a solution for JBoss, but I have been unable to find anything that addresses this error on Tomcat.
I can provide source code if needed. The app is a simple Hello World web service. I'm using it to try and get familiar with developing web services with all the components listed above.
ThanksHi Anders,
The resolution of the crossdomain problem is not to store an cross-domain-policy file at the [SAP] webservice side; but instead it needs to be done at the (every...) webservice client. In case the client is an IIS based webapplication (and thus the ultimate end-users are accessing it via their browser), this is not such an issue. It there is sufficient to put an crossdomain.xml policy file in the IIS main virtual root of your 'client' .net webapplication (c:\inetpub\wwwroot). It also can be required or at least helpful to put a clientaccesspolicy.xml file; both at the main virtual root and in the virtual root of the specific webapplication
In case of SharePoint application, the crossdomain.xml file must be stored in the WSS virtual root of that site; c:\inetpub\wwwroot\wss\virtualdirectories\<your SharePoint webapp>
Best regards, William. -
Error when calling a method inside a form routine...
Hello experts,
I am trying to call a method inside a form but it is giving me an error. The error is:
Access not possible using 'NULL' object reference.
Anyway, below is my code guys:
START-OF-SELECTION.
DATA: main TYPE REF TO lcl_main,
old_and_new TYPE REF TO lcl_old_and_new,
check_changes TYPE REF TO lcl_check_changes,
messages TYPE REF TO lcl_messages.
CREATE OBJECT: main, old_and_new, check_changes, messages.
FORM get_orig_contents_of_zts0001 *
FORM get_orig_contents_of_zts0001.
CALL METHOD main->export_old_recs.
ENDFORM.
Help would be greatly appreciated. Thanks a lot and take care!Before the "START-OF-SELECTION " just add this sentense :
<b>class lcl_main definition deferred.</b>
CLASS Definition.
ENDCLASS.
CLASS Implementation.
ENDCLASS.
START-OF-SELECTION.
*Do your coding here
<b>in this way we are deferring the class definition for later</b> -
Getting Bad Type Error when calling a method in the proxy class
Hi,
I have generated the proxy classes from wsdl.
When I am calling the methods in the proxy class from one of external class, I am getting following error.
Can anyone please help me in resolving this issue.
javax.xml.ws.soap.SOAPFaultException: org.xml.sax.SAXException: Bad types (interface javax.xml.soap.SOAPElement -> class com.intraware.snetmgr.webservice.data.SubscribeNetObjectReference) Message being parsed:
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
at $Proxy176.find(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
at $Proxy173.find(Unknown Source)
at com.xxx.fs.FNServices.findAccountWs(FNServices.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:92)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:74)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:151)
at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.invoke(EndpointMethodHandlerImpl.java:268)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:403)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:532)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:253)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
at weblogic.wsee.jaxws.WLSServletAdapter.handle(WLSServletAdapter.java:171)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:708)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.wsee.util.ServerSecurityHelper.authenticatedInvoke(ServerSecurityHelper.java:103)
at weblogic.wsee.jaxws.HttpServletAdapter$3.run(HttpServletAdapter.java:311)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:336)
at weblogic.wsee.jaxws.JAXWSServlet.doRequest(JAXWSServlet.java:95)
at weblogic.servlet.http.AbstractAsyncServlet.service(AbstractAsyncServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Thanks
AnoopHi Vlad,
The service has not been changed since i have generated the proxy.
I tried calling the service from soapUI and I am getting the following error now.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uri="uri:webservice.subscribenet.intraware.com" xmlns:uri1="uri:subscribenet.intraware.com">
<soapenv:Header>
<uri:SessionHeader>
<uri:SessionID>hjkashd9sd90809dskjkds090dsj</uri:SessionID>
</uri:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<uri:Find>
<uri:SubscribeNetObjectReference>
<uri1:ID></uri1:ID>
<uri1:IntrawareID></uri1:IntrawareID>
<uri1:SharePartnerID></uri1:SharePartnerID>
</uri:SubscribeNetObjectReference>
</uri:Find>
</soapenv:Body>
</soapenv:Envelope>
Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>org.xml.sax.SAXException: WSWS3279E: Error: Unable to create JavaBean of type com.intraware.snetmgr.webservice.data.SubscribeNetObjectReference. Missing default constructor? Error was: java.lang.InstantiationException: com.intraware.snetmgr.webservice.data.SubscribeNetObjectReference. Message being parsed:</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Thanks
Anoop -
Error when calling the method in service
Now I know how to give certain parameters to the service when invoking the call asked in the previous thread, but I got errors when I try to run it:
namespace mismatch require http://myservices.supermarket found none
java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at supermarket.myservices.SupermarketClient.parseXmlFile(SupermarketClient.java:80)
at supermarket.myservices.SupermarketClient.run(SupermarketClient.java:60)
at supermarket.myservices.SupermarketClient.main(SupermarketClient.java:219)
Exception in thread "main" java.lang.NullPointerException
at supermarket.myservices.SupermarketClient.parseDocument(SupermarketClient.java:96)
at supermarket.myservices.SupermarketClient.run(SupermarketClient.java:63)
at supermarket.myservices.SupermarketClient.main(SupermarketClient.java:219)
And below is my client program's code:
public void invokeWebService(){
try{
this.isID = new String("selected");
this.isBrand = new String("selected");
this.isName = new String("selected");
this.isWeight = new String("selected");
this.isPrice = new String("selected");
this.isSpecialPrice = new String("selected");
this.isMemberPrice = new String("selected");
this.isType = new String("seletced");
//service address
String endpoint = "http://localhost:8080/axis2/services/Supermarket";
//initialize web service call
Service service = new Service();
Call call = (Call) service.createCall();
Object[] params = new Object[]{isID, isBrand, isName, isWeight, isPrice, isSpecialPrice, isMemberPrice, isType};
//set web service address
call.setTargetEndpointAddress(new java.net.URL(endpoint) );
//set operation name
call.setOperationName(new QName("execute"));
//call the service and get the result ret
String ret = (String)call.invoke(params);
initialReader(ret);
catch (Exception e)
System.err.println(e.toString());
}What's wrong with it? I really don't have any idea on it......Hi ,
Please check :
SAP Note 1286149 - Configuration Wizard: PI Self Test for NetWeaver
SAP Note 1477280 - PI CTC: J2EE User for Self Tests needs PI Admin Rights
You will find which roles need to be assigned.
Award points if useful.
Thanks,
Ravi -
Getting an error when calling the method of the bean
Hi,
I have the following problem:
From my action class I'm calling a method on EJB through Business Object and getting the following error:
org.apache.struts.action.RequestProcessor Unhandled Exception thrown: class gov.nyc.fisa.wbas.exceptions.ServerException
[3/6/08 13:53:44:700 EST] 1acdd938 WebGroup E SRVE0026E: [Servlet Error]-[SERVER EXCEPTION CALLING searchBenefitGroups() METHOD ]: gov.nyc.fisa.wbas.exceptions.ServerException: SERVER EXCEPTION CALLING searchBenefitGroups() METHOD
The following are parts of my code:
In Action Class:
BenefitGroupBO bo = new BenefitGroupBO();
BenefitGroupsColView cView = new BenefitGroupsColView();
try{
cView = bo.searchBenefitGroups(transferObject,true);
catch (ServerException e){
throw new ServerException("SERVER EXCEPTION CALLING searchFunds() METHOD ",e);
In Business Object:
private BenefitGroupImpl benGrpImpl = null;
try{
System.out.println("1. BenefitGroupBO - searchBenefitGroups()");
collectionView = benGrpImpl.searchBenefitGroups(transferObject, isSearch);
System.out.println("2. BenefitGroupBO - searchBenefitGroups()");
catch (RemoteException e){
throw new ServerException("Remote exception calling BenefitGroupImplBean: searchBenefitGroups()", e);
.....It never executes the second print statement in the method
In Remote Interface:
public BenefitGroupsColView searchBenefitGroups(BenefitGroupVO transferObject, boolean isSearch)
throws ServerException, java.rmi.RemoteException;
In the EJB
public BenefitGroupsColView searchBenefitGroups(BenefitGroupVO transferObject, boolean isSearch){
throws ServerException
System.out.println("1. BenefitGroupImplBean - searchBenefitsGroups() method");
BenefitGroupsColView collectionView = new BenefitGroupsColView();
System.out.println("2. BenefitGroupImplBean - searchBenefitsGroups() method");
return collectionView;
.....It never executes first Print statement in that method and I do not think it ever goes into the actual EJB class.
Can anyone tell me what am I doing wrong?
Thank you
Edited by: SolutionsQuest on Mar 6, 2008 11:14 AM
Edited by: SolutionsQuest on Mar 6, 2008 11:15 AMHi,
Refer below threads:
You are trying to access a page that is no longer active
You are trying to access a page that is no longer active.
You are trying to access a page that is no longer active.
--Sushant -
XML Deserialization Error when calling WebService-method
Hi all,
when calling a WebService-method from my WebDynpro-application, I get the following error message:
"Deserializing fails. Nested message: XML Deserialization Error. Can not create instance of class [com.karmann.ApplMan.dto.SoftwareKomponenteDTO] when deserializing XML type [urn:com.karmann.ApplMan.dto][SoftwareKomponenteDTO].."
SoftwareKomponenteDTO is a class that I have implemented. It implements Serializable and overwrites the methods "equals()" and "hashcode()". It contains members of types long, String and java.sql.Date.
The method I call needs an argument of type SoftwareKomponenteDTO. Other methods which return something of type SoftwareKomponenteDTO do not make any problems.
The same error message appears when I test the WebService-method in the WebService-navigator. So I assume that the problem is not the way I call the method from WebDynpro.
Thanks for help,
ChristophHi all,
I found what my problem was. The complex type that I deliver to my method (i.e. SoftwareKomponenteDTO) must have a public constructor without parameters. I think that this is slightly confusing, because in the other direction (method delivers complex type as return value) this is not neccessary. Anyway, my problem's solved now.
Regards,
Christoph -
I am new to DAQmx and .NET.
In my application I need to activate a clock out on counter 2 (HW pci 16 E 4).
I went through all the steps like the sampling examples but instead of Analog input
I used counter output , and setup the pulse ratios.
When I click the switch in the user interface ( a user control databinded to the clock output)
the output works. Since I need to activate it programmatically I tried to call the daQmxUserControl11.Start()
method but this causes the following error :
An unhandled exception of type 'NationalInstruments.DAQmx.DaqException' occurred in nationalinstruments.daqmx.dll
Additional information: Specified operation cannot be performed while the task is running.
Task Name: DAQmxTask1
Status Code: -200479
Any ideas on what am I doing wrong?
Thanks DavidThanks a lot,
I also discovered that dragging the user control onto my user interface doesn't allow alternate activation.
( I actually tried stopping and then starting but the result was the same )
Calling the routines as indicated in the header comments also gave some hiccups ( I had to remark some code to get the system working progrtammatically.
public void Start()
#region Update UI
this.switch1.Caption = "On";
this.switch1.Value = true;
#endregion
daqmxTask.Start();
public void Stop()
#region Update UI
this.switch1.Caption = "Off";
this.switch1.Value = false;
#endregion
daqmxTask.Stop();
#region Methods -
FUNCTION NOT IMPLEMENTED error when calling C# method from SAP, why?
Hi,
I've build a server stub in order to get SAP calling my own methods that exist in the C# world, for that I developed several methods in a class that extends SAPServer and then implemented them...
I added the special custom properties needed (Abap Name, length, etc) to the function and to its parameters, I've made the ABAP code required to call it...
I've checked, every parameters that I place in ABAP (importing, exporting and tables) are also defined in C# (its 53 parameters) with the same name (in C# they are in capital letters and in a diferent order but I tried this before and it didn't matter)...
The name of the function is the same...
How can I get the 'FUNCTION NOT IMPLEMENT' error in SAP?
What's going wrong when I get this error?
Can anyone tell me?
Is there any place in this site that has a error description and possible reasons?
When I get a parameter wrong I get a different error (I tried to make smaller functions and they work fine).
Thanks for the help,
Nuno Felino
Message was edited by: Nuno FelinoHi,
I'll explain what I'm doing:
- we have a set of services made in a C and VB that are available using an API in C#, these services must be available to SAP. So I have a program that will see what parameters the API service requires and makes a proxy so that SAP can call these services.
To do this I must map SAP types with C#, build the function signature and then implement it. So I cannot use the wizard to do this
Now, back to the question, what kind of customer attributes I got wrong to get that exception? The most logic is the AbapName of the function but they are equal (the one called in SAP and the one in the customer attributes of the function)...
Thanks for the answer, can you give me any more hint? -
Receiving null pointer exception when calling a method of the object
class Employee {
private String name;
private int age;
private double salary;
private String dob;
public void setEmp(String name, int age, double salary, String dob){ //setter method
this.name = name;
this.age = age;
this.salary = salary;
this.dob = dob;
public Employee getEmp(){ //getter method
return this;
public class EmployeeDemo {
public static void main(String[] args) {
String str1 = "John_Stone251000.0005051975";
String str2 = "Jane Doe 242000.0006071980";
String str3 = "Will Smith356000.5005051960";
String[] str = {str1,str2,str3};
Employee[] emp = new Employee[3];
String emp_name, emp_dob;
int emp_age;
double emp_sal;
for(int i=0;i<str.length;i++){
emp_name=str.substring(0,10);
emp_age=Integer.parseInt(str[i].substring(10,12));
emp_sal=Double.parseDouble(str[i].substring(12,19));
emp_dob=str[i].substring(19,26);
emp[i].setEmp(emp_name,emp_age,emp_sal,emp_dob); //NullPointerException error
After compiling both classes and running:
output error: Exception in thread "main" java.lang.NullPointerException
at EmployeeDemo.main(EmployeeDemo.java:21)I don't understand why I am getting the NullPointerException error and how to fix it?I expect the following program to output the String "Victor Shakapopulis":
public class Test
public static void main (String[] args)
String[] data = new String[3];
System.out.println(data[0]);
}Will it? Or will the program output the String "hello world". If neither of those, what will the program output?
Have the program output data[1] and data[2] as well. What can you conclude about the contents of an array after you create it? -
NoSuchMethodError when call JPublisher method
Im getting a java.lang.NoSuchMethod error when calling a method within
a Java class generated by JPublisher.Hi Larry,
thanks for the answer:
DB Version is:
select * from v$version:
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.0.1.4.0 - 64bit Production
PL/SQL Release 9.0.1.4.0 - Production
CORE 9.0.1.2.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.0.1.4.0 - Production
NLSRTL Version 9.0.1.4.0 - Production
Is there a possibility to get out if intermedia is installed? I really think it is because the methods work. I can process the image - the problem is that somehow a error occurs but the the method worked. The image written to the filesystem has the correct values.
describe ordsys.ordimage leads to the expected output:
SQL> describe ordsys.ordimage;
Element Type
SOURCE ORDSYS.ORDSOURCE
HEIGHT INTEGER
WIDTH INTEGER
CONTENTLENGTH INTEGER
FILEFORMAT VARCHAR2(4000)
CONTENTFORMAT VARCHAR2(4000)
COMPRESSIONFORMAT VARCHAR2(4000)
MIMETYPE VARCHAR2(4000)
INIT FUNCTION
COPY PROCEDURE
PROCESS PROCEDURE
PROCESSCOPY PROCEDURE
SETPROPERTIES PROCEDURE
CHECKPROPERTIES FUNCTION
GETHEIGHT FUNCTION
GETWIDTH FUNCTION
GETFILEFORMAT FUNCTION
GETCONTENTFORMAT FUNCTION
GETCOMPRESSIONFORMAT FUNCTION
SETLOCAL PROCEDURE
CLEARLOCAL PROCEDURE
ISLOCAL FUNCTION
GETUPDATETIME FUNCTION
SETUPDATETIME PROCEDURE
GETMIMETYPE FUNCTION
SETMIMETYPE PROCEDURE
GETCONTENTLENGTH FUNCTION
GETCONTENT FUNCTION
GETBFILE FUNCTION
DELETECONTENT PROCEDURE
SETSOURCE PROCEDURE
GETSOURCE FUNCTION
GETSOURCETYPE FUNCTION
GETSOURCELOCATION FUNCTION
GETSOURCENAME FUNCTION
IMPORT PROCEDURE
IMPORTFROM PROCEDURE
EXPORT PROCEDURE
PROCESSSOURCECOMMAND FUNCTION
OPENSOURCE FUNCTION
CLOSESOURCE FUNCTION
TRIMSOURCE FUNCTION
READFROMSOURCE PROCEDURE
WRITETOSOURCE PROCEDURE
MIGRATEFROMORDIMGB PROCEDURE
MIGRATEFROMORDIMGF PROCEDURE
GETPROPERTIES PROCEDURE
I do not want to use a database link. everything is stored in that one database. I really have no clue why plsql thinks I want to.
Regards,
Markus -
Error when calling a Webservice's public method in Forms10g
Hi,
I'm getting the following error when calling a webservice's public method, i'm using Forms10g 10.1.2.3
java.rmi.RemoteException; nested exception is: HTTP transport error javax.xml.soap.SOAPException
java.security.PrivilegedActionException javax.xml.soap.SOAPException
Message send failed javax.net.ssl.SSLException SSL handshake failed X509CertChI have added the Jar containing the client proxy in both Classpaths(system variable and default.env), the jar has been made with jdk 1.4
I also have tested the client proxy from jDeveloper and it's working there, but in Forms i'm getting this error.
I guess my problem might be that i'm calling a webservice that is secured since the url starts with https
what should i do to fix this ??
Regards
CarlosI understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
I do not know how they achieve it. I know that they work without a client DC.
Cheers,
PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
Edited by: Prabodh on Dec 5, 2012 8:36 PM -
Error when calling method INIT in class cl_hrxss_rem for salary statements
after configuring the our hrform to work with the new ess system in ecc 6.0 we configured the hrfor decision tree to $cedt$ and pointed the form variant to the edtin feature.
Now we are getting a class error.
com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when calling method INIT of class CL_HRXSS_REM
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:525)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:374)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:292)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:256)
at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:198)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:258)
at com.sap.xss.hr.rem2.selection.VcRem2Selection.onInit(VcRem2Selection.java:245)
at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2Selection.onInit(InternalVcRem2Selection.java:249)
at com.sap.xss.hr.rem2.selection.VcRem2SelectionInterface.onInit(VcRem2SelectionInterface.java:161)
at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface.onInit(InternalVcRem2SelectionInterface.java:144)
at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface$External.onInit(InternalVcRem2SelectionInterface.java:220)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:748)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:283)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1246)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:354)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:547)
at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:591)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:822)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
ThanksHi,
Maintain the EDTIN feature
&CEDT$
And UR problem solve -
Generically calling a method on an object
Hello,
I am trying to write a small utility method to generically call a method on an object.
This is what I have.
public static void doCall(Object o, String methodName, Object ... args){
Class[] types = new Class[args.length];
int i = 0;
for(Object arg : args){
types[i] = arg.getClass();
try {
Method m = o.getClass().getMethod(methodName, types);
m.invoke(o, args);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Error dynamically calling method " + methodName + " on " + o.toString());
}It doesn't work because it can't find the method. If I hard code the parameter types as "new Object[] {Double.TYPE}" it works fine (on methods that take a double).
So, my question is, how can I generically set up the parameter types based on the types of the arguments?
Thanks,
~EricThe problem is not on calling agr.getClass(), your primitive double is already autoboxed to a Double object. It is the doCall(...) method who expects an object, not a primitive. So when giving it a primitive value, java autoboxes it to the corresponding object type.
This means your attempt will only work if the methods to call do not have any primitives as parameters.
Test this code:
public class GenericMethodCaller {
public static void doCall(Object o, String methodName, Object ... args){
Class[] types = new Class[args.length];
int i = 0;
for(Object arg : args){
types[i++] = arg.getClass();
try {
Method m = o.getClass().getMethod(methodName, types);
m.invoke(o, args);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException("Error dynamically calling method " + methodName + " on " + o.toString());
public static void main(String[] args) {
Callable callee = new Callable();
callee.callabelMethod(10d);
GenericMethodCaller.doCall( callee, "callabelMethod", 10d ); // 10d gets autoboxed to a Double object.
class Callable {
public void callabelMethod(Double o) {
System.out.println("callabelMethod(Double o) called");
public void callabelMethod(double o) {
System.out.println("callabelMethod(double o) called");
}The output will be:
callabelMethod(double o) called
callabelMethod(Double o) called
- Roy -
Javascript Error when calling EPCM.raiseEvent
Hi all!
I'm having a Javascript error when calling EPCM.raiseEvent function. The error is :
'The object does not accept the method or property'
Maybe the traslation is not perfect (I'm using spanish for my browser). Here is my call:
EPCM.raiseEvent('myPar','myEvent','myParam');
What can be wrong?
Thanks in advance, and sorry for my terrible english.Hi!
This error is very strange... I accidentally changed the event name at consumer, but not at producer.... and the error didn't appear... Obviuslly it did'nt work, but it's so strange that if the event is not cought, there is no error (but nothing happens)
I also noticed that doesn't matter which event I raise (I have two of them), the error is thrown at the same line, and they have totally different caller and receiver functions....
Thanks In advance.
Message was edited by:
Eneko Rodriguez
Maybe you are looking for
-
Bought a new mac pro but when i log in to my itunes account my music is not in my iTunes
bought a new mac pro. I authorized the laptop. But I don't see my music when I logged in to my itunes account. I'm not sure what else I need to do.
-
Hi, When i try to open a file(a driver to an OSA from Agilent) appears a error message, saying that the source´s version is too old(5.1.1), when my labview is 8.6. Anybody knows something about it?
-
More frequent Kernel Panics on late 2013 iMac
For the last couple of weeks I have been experiencing random iMac restarts with the kernel panic message (http://core0.staticworld.net/images/article/2013/02/kernel-panic-pre-ml_300-1000 24407-medium.png). I have not installed anything suspicious, I
-
Which is the difference between Windows server on IA64 and on x64?
Hello, I want to download the last update of MaxDB 7.6 on servers 32bit and 64bit. For the version 32bit there exists only for Windows server IA32. For the version 64bit there exists for Window server IA64 and x64. Which is the difference between Win
-
How to restore database if customer has no good backups?
Customer lost database recently and no good backups. Is there a possible way to restore and recover database in this scenario? Thanks B. Scott