Call a Webservice method from DotNetApplication
Hi all,
I have created One web service using Axis. My WebServices are below:
import java.util.*;
public class NHLService {
HashMap standings = new HashMap();
public NHLService() {
// NHL - part of the standings as per 04/07/2002
standings.put("atlantic/philadelphia", "1");
standings.put("atlantic/ny islanders", "2");
standings.put("atlantic/new jersey", "3");
standings.put("central/detroit", "1");
standings.put("central/chicago", "2");
standings.put("central/st.louis", "3");
public String getCurrentPosition(String division, String team) {
String p = (String)standings.get(division + '/' + team);
return (p == null) ? "Team not found" : p;
}Its name is NHLService.jws. Then I run this service in my localhost like this "http://localhost:8080/axis/NHLService.jws" It is running and show that
There is a Web Service here
Click to see the WSDL Now I can view the wsdl. Now I want to call this webservice method from DotNet Application.Please any one knows that can you guide me the steps.
Thanks in Advance,
Raj
but i don't understand a thing...
when i create a static stub client i link with the config-wsdl file the path of my webservices wdsl and the client compile and run well...
why with the servlet i had to link .class file or jar file??
thanks a loto
Similar Messages
-
How to call a WebService method using HttpsURLConnection?
Hi,
I want to know how i could use HttpsURLConnection to call a WebService method.
I can use the following:
String endpoint = "https://xyz:8443/axis/services/MSecurity";
System.setProperty("javax.net.ssl.keyStore", keyStorepath);
System.setProperty("javax.net.ssl.keyStoreType", "PKCS12");
System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
System.setProperty("javax.net.ssl.trustStore", trustStorePath);
System.setProperty("javax.net.ssl.trustStoreType", "JKS");
System.setProperty("javax.net.ssl.trustStorePassword", trustpass);
//Call Web Service
URL url = new URL(endpoint);
MSecuritySoapBindingStub service = new MSecuritySoapBindingStub(url, null);
//get list of people
String[] vo = service.getVO();
for (int i = 0; i < vo.length; i++) {
System.out.println(vo);
However, loading my cert. this way is not flexible. Therefore, I am using SSLContext to initialize my keystore and truststore and then I am using the following to connect to my webservice:
SSLContext sc = SSLContext.getInstance("SSLv3");
sc.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
SSLSocketFactory ssf = sc.getSocketFactory();
URL url = new URL(endpoint);
HttpsURLConnection htp = (HttpsURLConnection) url.openConnection();
htp.setSSLSocketFactory(ssf);
However, I do not know how I could use the "htp" object to call the getVO() method above.Use Apache Axis to do SOAP in Java.
Nobody can just mail you the code. You first have to create java source files from the web service via its WSDL file. -
How to call a bean method from javascript event
Hi,
I could not find material on how to call a bean method from javascript, any help would be appreciated.
RalphHi,
Basically, I would like to call a method that I have written in the page java bean, or in the session bean, or application bean, or an external bean, from the javascript events (mouseover, on click, etc...) of a ui jsf component. I.e., I would like to take an action when a user clicks in a column in a datatable.
Cheers,
Ralph -
How to call a set method from within a constructor
Hello,
I want to be able to call a set method from within a Scanner, to be used as the argument to pass to the Scanner (from a source file). Here's what i tried:
private void openFiles()
input = new Scanner( setSource );
and here is the set method:
public String setSource( String in )
source = in;
return source;
}obviously there will be more code in this method but i'm trying to tackle one problem at a time. Thanks in advance..The "String in" declaration says: "Nobody may ever invoke setSource() without specifying a certain String. The content of the String is known at run-time only."
In no place in your code you say the compiler: "I want the 'in' variable (actually, parameter) of method setSource() to contain the first arg which is passed to the application".
This is exactly the same mechanism allowing you to write "new Scanner" with something inside the two parentheses. -
Getting error while calling ejb business methods from servlet
Hi
Iam getting error when i try to call a ejb method from servlet.Error is
"com.netscape.server.eb.UncheckedException: unchecked exception nested exception is:java.lang.NullPointerException".
I build the application and deployed it successfully.Iam using IAS 6.O with windows NT 4.0.
This is just a method which takes values from database and return as an array of bean to servlet.
Any help on this.Thanks ShankHi
I was using the session bean.Your suggestion helped me a lot.Perfect.
I debug my program and found that from ejbCreate()exception is getting.
I was getting the datasource object thro ejb create() initialisation.
Somehow the look up jndi which i mentioned was not interpretting from ejb-jar.xml ias-ejb-jar.xml and datasource ref .Due to this iam getting jndi Namenotfound exception which in turns to null pointer as datasource is getting null.
when i hardcoded in the ejb the the jndi name for datasource it is working fine.Bit worried all the existing ejbs working with the xml referenced datasource and jndi,but when i added a new ejb with same properties it is failing to get the jndi name.
Piece of code from ias-ejb-jar.xml
<resource-ref>
<res-ref-name>myDataSource</res-ref-name>
<jndi-name>jdbc/nb/myData</jndi-name>
</resource-ref>
Piece of code from ejb-jar.xml
<resource-ref>
<res-ref-name>myDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Thanks a lot meka -
How to call an ejb method from jsp?
Hi, everyone!
Inside my JSP, I4m using scripts in order to show and receive information, that is, a form.But I don4t Know if I can use the same variables from the script in order to call the 'set' methods from my EJB.
Could anyone show me an example?
Thanks in advance,
SilviaInitialContext ctx = new InitialContext();
GeneralEditor editor = (GeneralEditor) ctx
.lookup("GeneralEditorBean/remote");
GeneralService service = (GeneralService) ctx
.lookup("GeneralServiceBean/remote");
LanMu lm = new LanMu();
lm.setName("shdfkhsad");
editor.add(lm); -
Calling a service method from a DataAction
Hello!
I'm trying to call a service method from a DataAction, cobbling ideas from the Oracle JDeveloper 10g Handbook and the Oracle ADF Data Binding Primer.
I have created a service method and exposed it using the client interface node of the application module editor. It is called "process()" and it now appears in the data control palette under MyAppDataControl->Operations (just above the built-in action bindings Commit and Rollback). As part of this procedure, I modified MyAppImpl.java and put the process() method there.
I don't want to call process() by dragging and dropping it onto a Data Action because depending on the outcome, I want to branch to different pages. process() returns an int that will tell me where to branch. Thus, I am trying to call it from an overridden invokeCustomMethod() method of the lifecycle of a DataAction, where I can get the int, create a new ActionForward, and set it in the DataActionContext. (If I'm barking up the wrong tree, let me know!)
So, I need to call MyAppImpl.process() from within the invokeCustomMethod() method of my DataAction. Looking at the class declaration, I noticed that it extends ApplicationModuleImpl. I figure that, if I can get the ApplicationModule, I can cast it to MyAppImpl and call the process() method. Unfortunately, that doesn't work. When I got the application module, I checked the class and it's oracle.jbo.common.ws.WSApplicationModuleImpl. I tried casting it and got a class cast exception.
Here's the code I'm using:
protected void invokeCustomMethod(DataActionContext actionContext) {
BindingContext ctx = actionContext.getBindingContext();
DCDataControl dc = ctx.findDataControl("MyAppDataControl");
log.debug("invokeCustomMethod(): dc.getClass().getName()=" + dc.getClass().getName()); // result is: oracle.jbo.uicli.binding.JUApplication
ApplicationModule am = null;
MyAppImpl myAppImpl = null;
int processResult = 0;
if (dc instanceof DCJboDataControl) { // this is true
am = dc.getApplicationModule();
log.debug("invokeCustomMethod(): am.getClass().getName()=" + am.getClass().getName()); // result is: oracle.jbo.common.ws.WSApplicaitonModuleImpl
if (am instanceof ApplicationModuleImpl) { // this is false
log.debug("invokeCustomMethod(): am is an instanceof ApplicationModuleImpl.");
if (am instanceof MyAppImpl) { // this is false
log.debug("invokeCustomMethod(): am is an instanceof MyAppImpl.");
processResult = ((MyAppImpl)am).process();
log.debug("invokeCustomMethod(): processResult=" + processResult);
super.invokeCustomMethod(actionContext);
What am I doing wrong? Can anyone explain the different class hierarchies and why my application module isn't the class I'm expecting?
Thanks,
-Anthony CarlosGeorg,
it was in the javadoc of oracle.adf.model.binding.DCBindingContainer
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/vtTopicFile.bc4jjavadoc36%7Crt%7Coracle%7Cadf%7Cmodel%7Cbinding%7CDCBindingContainer%7Ehtml/navId.4/navSetId._/
However, I see it's not the case in other sub-classes of JboAbstractMap like DCControlBinding and DCDataControl.
Weird... I'm keeping you informed if I find more information.
Regards,
Didier. -
Call enhancement class method from Bus. workflow task
Hi all,
I recently enhanced a global class from SAP (add a new method). Now I would like to call it from a workflow task (ABAP Class object used in the task). So it seems that only "native" methods from the class itself can be selected for the object method of the task.
Same issue if I try to call it via secondary methods options...
Last idea I have before the repair is: retrieve the instance saved into the WF container via a custom class interfacing IF_IFS_SWF_CONTAINER_EXIT (program exit) and call the enhanced method from the method proposed in this interface.
Maybe someone had the same issue? Anyone could help or propose solution?
Many thanks in advance for your help,
KR,
OlivierI think it might qualify for an OSS message.
There was simmilar note for BADIs which was corrected: https://service.sap.com/sap/support/notes/1156392
CL_SWF_UTL_DEF_SERVICES which is used in PFTC to determine callable methods doesn't include enhancements when calling function SEO_CLASS_TYPEINFO_GET (parameter WITH_ENHANCEMENTS is default FALSE) -
How to call jpf controller method from javascript
Can any one help me how to call pageflow controller method from JavaScript.\
Thanks.Accessing a particular pageflow method from Javascript is directly not possible unless we do some real funky coding in specifying document.myForm.action = xyz...Heres what I tried and it did not work as expected: I found another workaround that I will share with you.
1. In my jsp file when I click a button a call a JavaScript that calls the method that I want in pageflow like this: My method got invoked BUT when that method forwards the jsp, it lost the portal context. I saw my returned jsp only on the browser instead of seeing it inside the portlet on the page of a portal. I just see contents of jsp on full browser screen. I checked the url. This does make the sense. I do not see the url where I will have like test1.portal?_pageLabe=xxx&portlet details etc etc. So this bottom approach will notwork.
document.getElementById("batchForm").action = "/portlets/com/hid/iod/Batches/holdBatch"; // here if you give like test1.portal/pagelable value like complete url...it may work...but not suggested/recommended....
document.getElementById("batchForm").submit;
2. I achieved my requirement using a hidden variable inside my netui:form tag in the jsp. Say for example, I have 3 buttons and all of them should call their own action methods like create, update, delete on pageflow side. But I want these to be called through javascript say for example to do some validation. (I have diff usecase though). So I created a hidden field like ACTION_NAME. I have 3 javascript functions create(), update() etc. These javascripts are called onclick() for these buttons. In thse functions first I set unique value to this hiddent field appropriately. Then submit the form. Note that all 3 buttons now go to same common action in the JPF. The code is like this.
document.getElementById("ACTION_NAME").value = "UPDATE";
document.getElementById("batchForm").submit.
Inside the pageflow common method, I retriev this hidden field value and based on its value, I call one of the above 3 methods in pageflow. This works for me. There may be better solution.
3. Another usecase that I want to share and may be help others also. Most of the time very common usecase is, when we select a item in a drop bos or netui:select, we want to invoke the pageflow action. Say we have 2 dropdown boxes with States and Cities. Anytime States select box is changed, it should go back to server and get new list of Cities for that state. (We can get both states and cities and do all string tokenizer on jsp itself. But inreality as per business needs, we do have to go to server to get dynamic values. Here is the code snippet that I use and it works for all my select boxes onChange event.
This entire lines of code should do what we want.
<netui:anchor action="selectArticleChanged" formSubmit="true" tagId="selectPropertyAction"/>
<netui:select onChange="document.getElementById(lookupIdByTagId('selectPropertyAction',this )).onclick();" dataSource="pageFlow.selectedArticleId" >
<c:forEach items="${requestScope.ALL_ARTICLE}" var="eachArticle">
<%-- workshop:varType="com.hid.iod.forms.IoDProfileArticleRelForm" --%>
<netui:selectOption value="${eachArticle.articleIdAsString}">${eachArticle.articleItemName}</netui:selectOption>
</c:forEach>
</netui:select>
See if you can build along those above lines of code. Any other simpler approches are highly welcome.
Thanks
Ravi Jegga -
How to call backing bean method from java script
Hi,
I would like to know how to call backing bean method from java script.
I am aware of serverListener and [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
but i am running in to some issues with [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
regarding which i asked for help in other thread with subject ....Question on AjaxAutoSuggest article (Ajax Transactions Using ADF and J...)
The reason why i posted is ( though i realise both are duplicates) .. that threads looks as a specific question to that article hence i would like to ask the quantified problem is asked in this thread.
So could any please letme know how to call backing bean method from java script
Thanks
Murali
Edited by: mchepuri on Oct 24, 2009 6:17 PM
Edited by: mchepuri on Oct 24, 2009 6:20 PMHello,
May know how to submit a button autoamtically on onload of page with clicking a welcome alert box. the submit button has managed button too to show a message on console using SOP.
the problem is.
1. before loading the page a javascript comes on which i clicked ok
2. the page gets loaded and the button is there which gets automatically clicked and the managed bean associated with prints a message on console using SOP.
I m trying to do this through server listener and click listener. the code is(adf jspx page)
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1" binding="#{backingBeanScope.backing_check4.d1}">
<af:form id="f1" binding="#{backingBeanScope.backing_check4.f1}">
<af:commandButton text="commandButton 1"
binding="#{backingBeanScope.backing_check4.cb1}"
id="cb1" action="#{beanCheck4.submit1}"/>
<af:clientListener type="click" method="delRow"/>
<af:serverListener type= "jsServerListener"
method="#{backingBeanScope.backing_check4.submit1}"/>
<f:facet name="metaContainer">
<af:resource type ="javascript">
x=confirm("hi");
// if(x){
delRow = function(event){
AdfCustomEvent.queue(event.getSource(), "jsServerListener", {}, false);
return true;
</af:resource>
</f:facet>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_check4-->
</jsp:root>
the backing bean code is -----
public class classCheck4 {
public classCheck4() {
public String submit1() {
System.out.println("hello");
return null;
} -
Problem calling a Java Method from C++
hi everyone,
i'm using JNI and i'm trying to call a Java method from C++, this is the code:
SocketC.java
public class SocketC
private native void conectaServidor();
private void recibeBuffer()
System.out.println("HELLO!!!");
public static void main(String args[])
SocketC SC = new SocketC();
SC.conectaServidor();
static {
System.loadLibrary("Server_TCP");
Server_TCP.cpp
char* recibirSock()
int _flag = 1;
while(_flag != 0)
memset(buffer,0,sizeof(buffer));//Et la, celle pour recevoir
recv(sock,buffer,sizeof(buffer),0);
printf(" Mensaje del cliente: %s\n",buffer);
_flag = strcmp(buffer,"salir");
}//fin while
return buffer;
void enviarSock()
int _flag = 1;
getchar();
while(_flag != 0)
memset(buffer,0,sizeof(buffer));//procedimiento para enviar
printf("\n Escriba: ");
gets(buffer);
// err=scanf("%s",buffer);
send(sock,buffer,sizeof(buffer),0);
_flag = strcmp(buffer,"salir");
}//fin while
}//fin enviarSock
DWORD servicio(LPVOID lpvoid)//
char *buf;
printf("\n Cliente aceptado!!!!!\n");
buf=recibirSock();
return 0;
JNIEXPORT void JNICALL Java_SocketC_conectaServidor(JNIEnv *env, jobject obj)
//void main()
/*this is the problem i'm calling the method recibeBuffer*/
jclass cls = env->GetObjectClass(obj);
jmethodID mmid = env->GetMethodID(cls, "recibeBuffer", "(V)V");
if (mmid == 0)
return;
env->CallVoidMethod(obj, mmid); //llama a Java
WSAStartup(MAKEWORD(2,0),&wsa);//MAKEWORD dit qu'on utilise la version 2 de winsock
printf("TCP conexion Sockets\n\n");
//estimez vous heureux que je foute pas de copyright ;)
system("TITLE TCP Conexion Sockets (Version server)");
//fo avouer que c'est plus joli
int port;
printf("Port : ");//On demande juste le port, pas besoin d'ip on est sur un server
scanf("%i",&port);
sinserv.sin_family=AF_INET; //Je ne connais pas d'autres familles
sinserv.sin_addr.s_addr=INADDR_ANY;//Pas besoin d'ip pour le server
sinserv.sin_port=htons(port);
server=socket(AF_INET,SOCK_STREAM,0);//On construit le server
//SOCK_STREAM pour le TCP
bind(server,(SOCKADDR*)&sinserv,sizeof(sinserv));
//On lie les parametres du socket avec le socket lui meme
listen(server,SOMAXCONN);//On se met � �couter avec server, 0 pour n'accepter qu'une seule connection
printf(" Servidor conectado.");
while(1)
sinsize=sizeof(sin);
if((sock=accept(server,(SOCKADDR*)&sin,&sinsize))!=INVALID_SOCKET)
{//accept : acepta cualquier conexion
if (hReadThread = CreateThread (NULL, 0, (LPTHREAD_START_ROUTINE)
servicio, 0, 0, &dwThreadID))
printf("\nHOLA!");
GetExitCodeThread(hReadThread,&dwExitCode);
CloseHandle (hReadThread);
else
// Could not create the read thread.
printf("No se pudo crear");
exit(0);
when i'm running the proyect i get this error:
C:\POT Files\UCAB\tesis\esmart\french>java SocketC
Exception in thread "main" java.lang.NoSuchMethodError: recibeBuffer
at SocketC.conectaServidor(Native Method)
at SocketC.main(SocketC.java:16)
i don't know why this is happening i got declare the method recibeBuffer in my SocketC.java class, but doesn;t work can anyone help me?
PD: sorry for my bad english i'm from VenezuelaNext time please paste your code between [code] tags with the code button just above the edit message area.
To answer your question, you wrote the wrong method signature. It should be:jmethodID mmid = env->GetMethodID(cls, "recibeBuffer", "()V");Regards -
Calling view controller method from component controller method
Hi,
Is there any way to call view controller method from component controller method?
Thanks,Hi Khandal.
You should not make you component controller dependent from a view controller.
But what you can do is to define an event in the component controller. The view
controller can register for this event.
In the stage where you currently want to call the view controller method just fire
the event. In the event handler method in the view controller you can call the
method then.
Why do you need to call a view controller method? Can you give more details
about the scenario?
Cheers,
Sascha -
Calling a webservice MessageBroker from PL/SQL
Hi gurus,
I'm a newby at this topic and I have a simple question about calling a webservice from pl/sql.
There is a SMS Service providing information by webservices. I want to acces them by PL/SQL.
Parameter:
user:password (after RFC 2617) = not required for simple respons
method = mbInfo
project = test
smsbalance = total
url with parameter:
http://rp.yoc.de/http/<project>/<method>/1.0/?smsbalance=<smsbalance>
url with parameter values:
http://rp.yoc.de/http/test/mbInfo/1.0/?smsbalance=total
<?xml version="1.0" encoding="utf-8" ?>
<result>
<processor>
<code>E07010001</code>
<message>Transaction not found (project_id=159 step_id=1002)</message>
<rid>-1</rid>
<testmode>0</testmode>
</processor>
<handler />
</result>I don't know how to start getting this simple result into a variable!
I tried a simple example from here: http://akdora.wordpress.com/2007/08/03/calling-a-web-service-by-plsql-utl_http/
But I do not understand how to use xmlns for my script or the function soap_api.get_return_value
CREATE OR REPLACE PACKAGE pkg_my_webservice IS
-- test parameter: 'http/test/mbInfo/1.0/?smsbalance=total'
FUNCTION call_myfuntion
(vp_parameter1 VARCHAR2) RETURN VARCHAR2;
END pkg_my_webservice;
/CREATE OR REPLACE PACKAGE BODY pkg_my_webservice IS
vg_funciton_fnc VARCHAR2(256) := 'myFunction';
vg_ws_address VARCHAR2(255) := 'http://rp.yoc.de/';
FUNCTION call_myfuntion(vp_parameter1 VARCHAR2)
RETURN VARCHAR2 AS
ol_req soap_api.t_request;
ol_resp soap_api.t_response;
BEGIN
-- we initilize a new request
ol_req := soap_api.new_request(vg_funciton_fnc,
'xmlns="' || vg_ws_address || vp_parameter1 || '"');
-- we started to add parameters
--soap_api.add_parameter(ol_req,
-- 'string1',
-- 'partns:string',
-- vp_parameter1);
--soap_api.add_parameter(ol_req,
-- 'string2',
-- 'partns:string',
-- vp_parameter1);
-- we call the web service
ol_resp := soap_api.invoke(ol_req, vg_ws_address, vg_funciton_fnc);
-- we get back the results
RETURN soap_api.get_return_value(ol_resp,
'result', -- result tag name
'xmlns:m="' || --can be change as "xmlns:n1"
vg_ws_address || '"');
END call_myfuntion;
END pkg_my_webservice;Thanks ahead!
Best regards,
TobiasHi !
declare
req utl_http.req;
resp utl_http.resp;
v_txt clob;
begin
req := UTL_HTTP.begin_request ('http://rp.yoc.de/http/test/mbInfo/1.0/?smsbalance=total','GET','HTTP/1.1');
resp := UTL_HTTP.get_response (req);
dbms_output.put_line(resp.status_code);
dbms_output.put_line(resp.reason_phrase);
utl_http.read_text(resp,v_txt);
dbms_output.put_line(v_txt);
UTL_HTTP.end_response(resp);
end;I'm not exactly sure what are you looking for .. but that response from your post you can get with my code ( it's tested ).
T
Edited by: ttt on 12.3.2010 5:10
My code is very "poor" , there is no error checks no header setup's no basic authentication no proxy settings ..... -
Calling a webservices method, paramaters are not pass correctly
Hi, I would like a Eclipse's MedRec tutorial...All project build, compil, deploy correctly.
When I invoke the "public PatientWS findPatientBySsn(String pId): ---> parameter "888888888" " Webservice's method from the WBL8.1 amin console, all is working correctly: it response me Patient[Id: 105 |...
But the same thing, call from the PhysicianWebApp, the webservices paramter invocation is NULL? I don't understan why!
standalone trace fromm admin console:
**********************************************************15:17:57,102 MedRecWebServicesEJB INFO executeThread:
'14' for queue
: 'weblogic.kernel.Default' - Finding patient by ssn.
03/01/2006 15:17:57,112 MedRecWebServicesEJB DEBUG ExecuteThread: '14' for queue
: 'weblogic.kernel.Default' - SSN: 888888888
paramater invocation trace from PhysicianWebApp
03/01/2006 15:23:02,040 MedRecWebServicesEJB DEBUG ExecuteThread: '14' for queue
: 'weblogic.kernel.Default' - <b>SSN: null</b>
03/01/2006 15:23:02,040 PatientSessionEJB DEBUG ExecuteThread: '14' for queue: '
weblogic.kernel.Default' - SSN: null
ThankI find the solution, it was webServicesEjb_client.jar file problem. I use in the physicianEar.ear the jar providing from the tutorial!
When I generate my own webServicesEjb_client.jar and place it in the ear, it's all right!
For generate this librairie look at:
-->Tutorial 12-Procedure 1-step3
Personnal I add to my ant build.xml script:
<target name="build.ws.client">
<clientgen
wsdl="http://localhost:7101/ws_medrec/MedRecWebServices?WSDL"
packageName="com.bea.medrec.webservices"
keepGenerated="true"
clientjar="./deploy/webServicesEjb_client.jar" />
</target>
Thank a lot Stef-âne -
How to call a C function calling a Java Method from another C function ?
Hi everyone,
I'm just starting to learn JNI and my problem is that I don't know if it is possible to call a C function calling a Java Method (or doing anything else with JNI) from another C function.
In fact, after receiving datas in a socket made by a C function, I would like to create a class instance (and I don't know how to do it too ; ) ) and init this instance with the strings I received in the socket.
Is all that possible ?
Thank you very much for your help !Hard to understand the question, but by most interpretations the answer is going to be yes.
You do of course understand that JNI is the "API" that sits between Java and C and that every call between the two must go through that. You can't call it directly.
Maybe you are looking for
-
Client DOES NOT want email when plugged in... at a loss
Hopefully this is a just a setting that I'm unaware of. First, we are on BES 4 and have no issues across the company. One user has Desktop Manager and wants it setup so that his e-mail will NOT sync to the phone whenever he's plugged into the compu
-
How do i take GR print out in a continuous pages? currently i am able to take line itm by line item only which is cumbersome as my GR docuement has 12 line items I do not want 12 documents to be printed instead it should come in 1 or 2 pages like a
-
Loading the latest OS on my Iphone 4 caused the phone to freeze and stop working. I get error message 4013 when trying to restore the phone.
-
Imessage crashes upon enabling
Hello, My iMessages on my Mac opens but when it asks to be enabled into a conversation, it crashes and gives me this error report Process: Messages [51493] Path: /Applications/Messages.app/Contents/MacOS/Messages Identifier: c
-
I can't update my X6 from v 21.0.004 to v 40, not even v 30. My X6 wan bought from Spain and decoded to work on every network. HELP!