How to create a stub against a ws in a pool of servers
Hi
I have a pool of servers that offers a group of web services. How do I modify the JDeveloper stub to connect to any of the available web services.
Regards,
Néstor Boscán
Hi Néstor,
If I understand the question correctly, the way to work with Web services in a cluster is similar to the way you work with a single endpoint.
Depending on the version you are using, the code may slightly different. With JDev DP3, it will look something like that:
myPort.setEndpoint("load-balancer-url");
A similar method is available on the 10.1.2 proxy code.
Note that with JAXRPC based endpoint, the hostname used to query the WSDL will be used in the URL for the location attribute. If you use that address to generate the client code, then the default URL will be the URL of the load balancer.
Hope this help.
Eric
Similar Messages
-
How to create client stub while deployign EAR on Oracle Application Server
Hi,
I have deployed an EJB on Oracle Application Server 10g 10.1.2.0.2. And i want to call this ejb from other app server using ejb client. For that i need client stub.
Is there any way I can create client stub while deploying EJB on the OC4J?
I am sure there will be some options.
Thanks and Regards
ATAmit,
It depends on which transport protocol you use to transmit both the client requests and the server responses: either IIOP or ORMI.
Here's how it works: if you've chosen the IIOP protocol, the client stubs are generated at deploy time and stored in the iiopClient.jar file. Once created, you append this file to your java client's classpath.
Now, if your choice is ORMI, the client stubs are created on demand by the container, so there is no need to append any jar file to the client classpath.
Consult the OC4J Services Guide in the Official Oracle Application Server docs for further inforrmation on this topic, specially the "Remote Method Invocation" chapter.
RB -
JDeveloper 10.1.3.2 - how to create a stub from WSDL?
Hello to all..
I have installet the last version of Jdeveloper.. since this I used JDev 10.1.2...
Can anybody help me how can i make classes (stub) from WSDL?
I have a WSDL file located on remote HTTPS server.. In JDev 10.1.2 i get error when i like to connect on https to retrive data...
But in JDev 10.1.3.2 I can't find a function to create a stub from wsdl..
There is only a option to create a java webservice from wsdl.. (but this will create a new webservice (right?)..
so.. how can I create a stub from remote wsdl..
best regardsAnother question...
For retriving information i must install a certificate...
I installed it for mozilla and explorer.. so if i acess to the url i get the wsdl definition
picture 1: http://freeweb.siol.net/peterv6i/picc2.jpg
In JDeveloper i get error DCA-40002
here is the picture: http://freeweb.siol.net/peterv6i/picc1.jpg
how to acess to wsdl if it requires a certificate? -
How to create the reservation against purchase order
hi to all,
as we r using alternate bom scenario in company.
so if i create the bom of item X base qty-1 pcs
there r 2 alternate items in bom of X are as follows
COMPONENTS A-1 PC priority-1 probability -100%
B-1 PC priority-2 probability -0%
now as i am creating SUBCONTRATING P.O of X for 1 pc
than system is automatically picking the quantiy of 1 & 0 pc respectivley of A &B.
but when i am going to create reservation against this PO .
it is not oicking data as per PO.
reservation ispicking data 1 & 1 of A & B. as we have added 1 pc each of A & B in bom OF X.
Pls help how i can create the reservation against PO.
answers will be appreciated,
thanks
ravi khuranahi,
i f u will go to MB21 than there is option to create reservation with refrence to.
i can create the resrevation aganst bom, there is also one option for purchase order.
how can i use it pls suggest .
thanks
ravi khurana -
How to create the stubs in JDeveloper 10.1.3.3.0
Hi,
i am unable to find an option called Web Service Stub/Skeleton in the 10.1.3.3.0 version of JDev.
Can you please let me know what is the option to create a stub web ...
ThanksHi,
I don't know how it can be done with JDev 10. However, JDev 9 provides automatic stub generation for web services.
In JDev 9 its in file > New > stub for web service(As I remember).
I just checke with JDev 10 help.
Download the .wsdl file,
Include .wsdl in project
Right click .wsdl and generate stub.
(Posted in other thread also)
Abdul Wahid
Edited by: Abdul Wahid on Aug 28, 2009 11:06 PM -
How to create a amplitude against freq graph?
Hi, Iam new in labview. I measured amplitude from my DMM connected through GPIB. I also measured is freq result. How can i plot a graph of amplitude against freq plot?(something like a freq response plot). I do not know how to change the the x-axis of the waveform provided in labview into freq. Thank You.
> Hi, Iam new in labview. I measured amplitude from my DMM connected
> through GPIB. I also measured is freq result. How can i plot a graph
> of amplitude against freq plot?(something like a freq response plot).
> I do not know how to change the the x-axis of the waveform provided in
> labview into freq. Thank You.
If you are plotting an array of amplitudes sampled at various
frequencies to a waveform graph, you are pretty close. The scale will
default to being labeled by index -- first amplitude plotted against
zero, second against one, etc. You can programmatically or
interactively add a linear transform from index to displayed number. In
otherwords, you define an M and B to define what zero maps to, what one
maps to, etc. And you can also use t
he labeling tool to change the
scale label to read frequency or whatever you like.
If your frequencies aren't in a linear progression, or if you just think
it is simpler, use an XY graph instead, and put the frequency with each
amplitude in a cluster. Make an array of these XY paired clusters.
Then change the scale label.
Greg McKaskle -
How to create Business View against SQL
We are moving from Crystal 10 to XI. Before moving we were using ASP application for dynamic parameters. Now we are planning to use Business Views or List of Values for these dynamic parameters. We are using IBM DB2 database and datasource is SQL Command Object. I have a list of dynamic parameters with SQL Statement. I want to know what is the best way to convert SQL Statement in Business View or any type of suggestion will be aapreciate.
ThanksHello Zahid,
I checked some articles but could not find any ideas how to answer your question.
Anyway, I am not sure if you have seen this [online BV Admin guide|http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_bv_admin_en.pdf].
Falk -
How to create a Drop down with values in Module Pool for a screen field.
Hi all,
I have created a Screen on which one field is created Say Bank Name. I would like to give some spcific value for this fileld where user can select only seeing in drop down cann't enter.
Can anyone tell how can we do it ?Hi,
The selected value key will be stored in the parameter.
eg: Refer below code. Here if i select Vinod then po_name will be 1. After this read i_values WITH this key and get the actual value.
PARAMETERS: po_name(30) TYPE c VISIBLE LENGTH 20 AS LISTBOX.
TYPE-POOLS: VRM.
DATA: i_values TYPE vrm_values,
wa_values LIKE LINE OF i_values.
AT SELECTION-SCREEN OUTPUT.
wa_values-key = '1'.
wa_values-text = 'Vinod'.
APPEND wa_values TO i_values.
wa_values-key = '2'.
wa_values-text = 'Kumar'.
APPEND wa_values TO i_values.
wa_values-key = '3'.
wa_values-text = 'Reddy'.
APPEND wa_values TO i_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'PO_NAME'
values = i_values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
START-OF-SELECTION.
READ TABLE i_values INTO wa_values WITH KEY key = po_name.
MOVE wa_values-text TO w_name. " This will be ur actual value.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jul 8, 2008 4:16 PM -
How to create selections-screens to display PO using module pool program
All,
I'm new to module pool programming. Can any one please provide me where to create selections screens to display existing purchase orders using the below selection criteria in thr module pool program.,
SELECT-OPTIONS : S_LIFNR FOR EKKO-LIFNR,
S_BSART FOR EKKO-BSART,
S_BUKRS FOR EKKO-BUKRS,
S_WERKS FOR EKPO-WERKS OBLIGATORY,
S_BEDAT FOR SY-DATUM,
S_EINDT FOR EKET-EINDT,
S_EBELN FOR EKKO-EBELN,
S_MATNR FOR EKPO-MATNR.
provide me step by step to do this.Hi,
Thanks for the reply can you please let me know.
How can I create the ranges
like low and high in the selection.
Using se51 i was able to do only one i,e
example I need
purchase order number----
f4 -
f4
Can please tell me how to do this -
How to create Payment against the invoices in R12 using API/Interface table
Hi Experts,
I need your help.
As per my requirement , we need to create the payments against the invoices using the payment information provided.
Earlier the Payments against the invoice is done by (3rd party system) in 11i.
But, as a part of R12 implementation,
The requirement is like now they are going to provide us and flat file(having below payment information) and we need to create the payment with these information.
COLUMNS PROVIDED
SOURCE
INVOICE INTERNAL NUMBER #
ACCOUNTING SEGMENTS
DEBIT/CREDIT
AMOUNT
CURRENCY
BANK ACCOUNT
PAYMENT DATE
DUE DATE
PAYMENT METHOD
PAYMENT TERMS
BATCH ID
We need to create an inbound interface to achieve the below requirement.
1. Create the payments in oracle R12 with the above payment information. (unable to find the way please suggest).
2. Creating the Journal entries. -> We are having GL_INTERFACE & Journal Import program to import the journals.
3. Finally we have to posting the same into GL.-- Interface & Import programs available.
Is there any api or interface tables can be used to create the payment against the invoices in r12?
Could you please help me to achive my above requirements.
Any sample code or reference will be a great help for me.
Waiting for your response.
Thanks,
Thiru.Hi Thiru,
Perhaps these links can help:
http://ccchuanblog.blogspot.in/2010/12/oracle-ap-payment-api.html
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/ap-invoice-payment-need-help-4037407
See "Understanding Oracle Payments APIs" here:
http://docs.oracle.com/cd/B40089_10/current/acrobat/120ibyig.pdf
If this answers your question, please mark the post. Thanks.
Kristofer Cruz
Edited by: Kristofer Cruz on Sep 5, 2012 2:41 PM -
How to Create MM Quotaion with Pricing Conditions against RFQ through ME47?
Hi,
I got a requirement to Create MM Quotation against Request for Quotation with Pricing.
I got a Function Module BS01_MM_QUOTATION_CREATE to Create Quotaion but there is no Parameter to Pass Pricing Conditions.
Can anyone suggest me to Create MM Quotaion with Pricing Conditions.
Thanks & Regards,
SBLSV Ramana.Hi,
There is no standard T Code in SAP which allows you to automatically convert RFQs to PO. Using ME59n you can only create POs from PR. Even Document type would not suffice the purpose because although it will show you the list of all document types but the basic criteria of open PR still remains.
So I think we will not be able to do it by standard functionality.
IV -
How to create stub class?
Hi,
I can create a stub class if I don't put the package keyword in those java files, but when I put them into the package suncertify.db; and run the following command, it fails with the following error messages:
first I execute this command in the same directory as the ServerImpl.java
command: "rmic -v1.2 ServerImpl"
error: File ./ServerImpl.class does not contain type ServerImpl as expected, but type suncertify.rmiServerClient.ServerImpl. Please remove the file, or make sure it appears in the correct subdirectory of the class path.
error: Class ServerImpl not found.
2 errors
Then, I tried "cd ../../" and run the following command:
rmic -v1.2 suncertify/rmiServerClient/ServerImpl
/suncertify/rmiServerClient/ServerImpl_Stub.java:4: '{' expected.
public final class suncertify/rmiServerClient/ServerImpl_Stub
^
/suncertify/rmiServerClient/ServerImpl_Stub.java:4: Public class suncertify must be defined in a file called "suncertify.java".
public final class suncertify/rmiServerClient/ServerImpl_Stub
^
2 errors
Does anyone know why?
Thx.
AdrianHi,
I've just tried the command:
bash-2.05b$ rmic -d . -v1.2 suncertify/rmiServerClient/ServerImpl
But I still got the following error messages:
./suncertify/rmiServerClient/ServerImpl_Stub.java:4: '{' expected.
public final class suncertify/rmiServerClient/ServerImpl_Stub
^
./suncertify/rmiServerClient/ServerImpl_Stub.java:4: Public class suncertify must be defined in a file called "suncertify.java".
public final class suncertify/rmiServerClient/ServerImpl_Stub
Does anyone know why?
Thx.
Adrian -
How to create releases against BPA without creating ASL
Hi,
I have a requirement to create PO against BPA whenever requisition is created(from drop ship SO). As we have thousands of items we cannot create ASL.
Could you please let me know the steps to do this automatically.
Thanks in advance.user12288821 wrote:
Hi,
I have a requirement to create PO against BPA whenever requisition is created(from drop ship SO). As we have thousands of items we cannot create ASL.
Could you please let me know the steps to do this automatically.
Thanks in advance.First as far as i know..you can't create a PO against a BPA..if you want to create a PO it should be against GBPA
without ASL i doubt..it can be possible..
Mahendra -
How to create delivery with lesser quantity than Scheduling agreement
HI all,
I have one Scheduling Agreement SCHDMNT1 with ITEM A and Qty 100. Now i want to create 2 deliveries against this Agreement i.e DEL1 - ITEM A QTY 40 and DEL2 - ITEM A QTY 60. How to achieve this while manually entering the deliveries. What are the settings required. I also want to create such multiple deliveries against one Sales Order. What are the Configurations required to aceive this functionality.Replies will be highly appriciated.
Thanks and Regards,
Manish Khare.Hi Manish,
When creating DEL1 change the qty of 100 for 40 and save the delivery.
When creating DLV2 QTY appears 60.
I wait to have helped.
H. Terras -
How to create an custom template for cheque printing layout?
Hi, I have a question about cheque printing format set up in SAP Business One.
All the the system standard templates in u201CCheque print lay out designeru201Dare u201Ccheque-stub-stubu201D or u201Cstub-cheque-stubu201D or u201Cstub-stub-chequeu201D (three portions). What I need is u201Ccheque-stubu201D (two portions)only. Anyone knows how to create an custom template?
Thanks.
Edited by: Angela Zhang on Jan 17, 2010 7:18 AM
Edited by: Angela Zhang on Jan 17, 2010 7:18 AMHi Angela,
Check the thread,
Re: Preprint AP check - stub/check repetitive area fram size
CHECK PRINTING
Re: check/cheque for payment printing posting date on stub
PLD Check-Stub-Stub
PLD Check
PLD Multiple Check printing
Regards,
Madhan.
Maybe you are looking for
-
DB:10.2.0.4 can any one help me to know how to insert the data from excel to a table? Regards, BK
-
Problem printing in adobe reader
Hi, I wonder if any one can help me? I am not able to print pdf documents in adobe reader. I keep getting the following error: "pstopdfilter had an i/o error while writing output." I am very new to mac, and a novice in general computing so I have no
-
Preview: PDFs generated with Oracle RS are missing letters
Hi, When I open PDFs in Preview which were created using "Oracle10gR2 AS Reports Services", some letters are missing. The documents aren't corrupted and appear valid on other platforms or in other applications. Is there any solution/fix for Preview?
-
Business Packages of ESS & MSS not working
Hi I downloaded some business packages, and i imported into Portal. But the iviews are not connecting to the Backend system, it is showing servies are available. What are the configurations should be done after importing into EP. Please help me i am
-
Hello, We have a Windows 2012 domain and we are currently deploying printers via Group Policy. We have one printer and have set up a mono and colour driver for the printer. The idea is that everyone can print to the mono printer and selected users ca