How to add a webservice to webservice test interface?

Hi,
i have to deploy a webservice for LDAP lookup in the form. I have seen the Webservice test interface URL where already some webservices have been deployed.My question is how to upload or deploy my webservice in it so that i can use it in my form.
Plz help me on this.
Raghava Kumar V.S.S.

Generally your GUI code might be in a class extending JFrame, for example. It is good practice to try to keep your GUI separate from the rest of your application. So you can control your application from the GUI by public methods in the main part of the code, calling them from the GUI.
This is best done by passing an instance of the main application to the GUI when it is constructed. For example:
public class Host {
  public static void main(String[] args) {
    new Host();
  public Host() {
    GUI iface = new GUI(this);
  public doSomething(int value) {
     // A method that does something,
     // called from the GUI
public class GUI extends JFrame implements actionListener {
  private Host app;
  public GUI(Host parent) {
    app=parent;
    // Do more stuff here
  // Rest of the GUI here
  public void actionPerformed(ActionEvent ev) {
    // Method called as a result of a button press
    // or something...
    app.doSomething(42);
}Hope this helps a bit. Look around on the web for good GUI tutorials.

Similar Messages

  • How to add a route for a specific interface

    HI,
    i want to make a direct link beetween 2 computers (ubuntu and solaris) with a cross over cable.
    solaris : e1000g0 (192.168.0.212= normal network)
    e1000g1 (172.18.0.2 = network for interconnection beetween ubuntu and solaris
    routing table:
    Destination Gateway Flags Ref Use Interface
    default 192.168.0.245 UG 1 7040 e1000g0
    192.168.0.0 192.168.0.212 U 1 5167 e1000g0
    224.0.0.0 192.168.0.212 U 1 0 e1000g0
    127.0.0.1 127.0.0.1 UH 4 30343 lo0
    ubuntu : eth0 (192.168.0.144 = normal network)
    eth1 (172.18.0.3 = network for interconnection beetween ubuntu and solaris)
    routing table :
    Destination Gateway Genmask Flags MSS Window irtt Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    0.0.0.0 192.168.0.245 0.0.0.0 UG 0 0 0 eth0
    at the beginning, i was thinking that no route was necessary, but the ping didn't work beetween the two servers.
    so, my question is : how can i add a route for a specific interface on my solaris (i want that the traffic for the network 172.18.0.0 go throught e1000g1)
    thank for your help

    SOLARIS :
    -bash-3.00# ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
    inet 192.168.0.212 netmask ffffff00 broadcast 192.168.0.255
    ether 0:1b:24:f0:7a:fc
    e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 172.18.0.2 netmask ffffff00 broadcast 172.18.0.255
    ether 0:1b:24:f0:7a:fd
    -bash-3.00# netstat -rn
    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    default 192.168.0.245 UG 1 7040 e1000g0
    192.168.0.0 192.168.0.212 U 1 5323 e1000g0
    224.0.0.0 192.168.0.212 U 1 0 e1000g0
    127.0.0.1 127.0.0.1 UH 8 31593 lo0
    -bash-3.00#
    UBUNTU :
    ifconfig
    eth0 Link encap:Ethernet HWaddr 00:1e:c9:d1:22:ea
    inet addr:192.168.0.144 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::21e:c9ff:fed1:22ea/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:19992226 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9886296 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:10075930406 (10.0 GB) TX bytes:2847567457 (2.8 GB)
    Interrupt:16 Memory:f8000000-f8012700
    eth1 Link encap:Ethernet HWaddr 00:1e:c9:d1:22:ec
    inet addr:172.18.0.3 Bcast:172.18.0.255 Mask:255.255.255.0
    inet6 addr: fe80::21e:c9ff:fed1:22ec/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:919 errors:0 dropped:0 overruns:0 frame:0
    TX packets:905 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:58816 (58.8 KB) TX bytes:91286 (91.2 KB)
    Interrupt:16 Memory:f4000000-f4012700
    # netstat -rn
    Kernel IP routing table
    Destination Gateway Genmask Flags MSS Window irtt Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    0.0.0.0 192.168.0.245 0.0.0.0 UG 0 0 0 eth0

  • How to add dummy data to my test database ? from a newbie in need of help

    Hi all
    I am pretty new to oracle and i would like to mess around with it some more i just created my database (MVF) and created an test tablespace.
    The question now is what would be the best way to fill the tablespace with data ? can i just insert some lines in the tablespace ? or are there any more efficiënt ways of doing this ?
    Maybe someone who could provide me an pl/sql script for it ? or an procedure what would do this (insert x amount of dummy data) on regular intervals ?
    Many thanks in advance !!
    (ps this is my first post so please excuse me if my post is not according to the regular guide lines)
    Edited by: 994141 on 15-mrt-2013 12:38

    994141 wrote:
    Hi all
    I am pretty new to oracle and i would like to mess around with it some more Welcome to the forum and to the world of Oracle.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================
    <snip>

  • How to Add Non SAP steps in test package

    Hi Experts,
    As our Client requirement is to load end to end test scripts/packages in solution manager. which includes non sap systems where it does not have URL and that legecy system contains 4 to 5 legecy steps(i.e as a place holder as text) along with 5 to 6 sap steps.
    in solution manager test package should show all sap and legecy steps(i.e as a place holder as text) which is total 10 to 11 steps.
    Can any one guide me on this please.
    Regards,
    Naveen Gunda 

    Hello Naveen,
    the approach for non-SAP steps is more or less the same like for SAP steps using SOLAR02.
    The only difference in your case (without URL) is that you can't assign a test object to the related test document and so navigation to the system under test will not work.
    General Infoamtion regarding Test Management in Solution Manager can be found in our Wiki page in section Test Option 1.
    http://wiki.scn.sap.com/wiki/display/SM/SAP+Solution+Manager+WIKI+-+Test+Management
    Let me know if you have further questions.
    Kind Regards Reiner

  • [SOLVED]How to add multiple gateways in Arch

    Hi, can someone please advise how to add multiple gateway address for multiple interfaces.
    In my case I have two wired LAN cards. I use Arch network daemon to manage my NIC's.
    I know in Gentoo it could be done through : 'gateway_ethX=( "default gw xx.xx.xx.xx dev ethX" )'
    but doing so in arch wont connect to router/gateway.
    Also in rc.conf it says :
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    #   - prefix an entry in ROUTES with a ! to disable it
    How to declare each route, and then how to list it in ROUTES?
    I read the following thread:
    http://bbs.archlinux.org/viewtopic.php?id=52992, but after adding the suggested lines in rc.conf and restarting the network it fails and says hostname not found.
    Thanks.
    Last edited by kapz (2009-10-08 18:53:39)

    In that case, your routing table should look something like this:
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
    rc.conf:
    eth0="eth0 192.168.1.14 netmask 255.255.255.0 broadcast 192.168.1.255"
    eth1="eth1 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255"
    INTERFACES=(eth0 eth1)
    # You may need to add 'dev eth1' to the end of this after '.1.1'
    gateway="default gw 192.168.1.1"
    ROUTES=(gateway)
    Last edited by fukawi2 (2009-10-06 21:55:49)

  • How to Add new webservices  in Oracle ECM 11g

    Hi
    In the Documenation of Oracle ECM 11g it is mentioned WSDL Generator is not supported in it.(Actually it is used to expose IDC services as webservices).
    Anyone knows how to expose IDC services as webservices please let me know

    The WSDL generator is actually in the content server. I am unsure why the documentation states that as it seems a little misleading. Please take a look at the administration menu and you will see options for wsdl generation and you can create wsdls for all different services.

  • How can I change a standard webservice

    What steps are necessary for me to change the SAP webservice from SAP ESR?
    I WANT to do this in ABAP.
    I know that there are some BADIs and Enhancements spots available . But how does this fit into the whole Wesbservice interface.
    For example :
    I want to add a new field to the input structure in the WSDL. This field will then have to be mapped to the BAPI and so on. How can  do this. have you come across anything like this? How does BADI work in this case.
    Details :
    http://esoadocu.sap.com/socoview/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=2828AC800DDD11DC2B24000F20DAC9EF
    I want to be able to modify this service.
    Add a parameter like DocumentStructure to the input which will let me create a document inside the folder.
    I know that there is a proxy class in the backend CL_DMS_DOCUMENTCRTRC1 or something like that which calls the BAPI BAPI_DOCUMENT_CREATE2. This BAPI has the additional fields I am looking to map to.
    How can I use BADI to accomplish my goals? how can I change the WSDL interface ?
    How is this service tied to a Proxy class in the backend?
    Am I getting ahead of myself? Is this do-able  or should I start from scratch ( expose my BAPI as a new WS )?
    Thanks for any pointers.

    Did you read the "Enterprise Service Enhancement Guide" at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d  ?
    - julius

  • How can we use antscripts for Webservices in SOA BPEL.

    Hi all,
    i need to deploy all my BPEL, ESB and webservices in Dev/Test. i used antscripts to deploy those services. as of now i am able to deploy BPEL and ESB services successfully.now i need to invoke 4 webservices in my BPEL Process throw
    partnerlink. only the proublem is when ever we are trying to access those webservices throw partnerlink it generate a local copy for that WSDL. i am not able to change the host and port throw antscripts. how to change Host and Port of those webservices from antscripts...
    for BPEL services we use like below
    <partnerLinkBinding name="IClickErrorEmailNotifier">
    <property name="wsdlLocation">http://${http.hostname}:${http.port}/orabpel/${util}/IClickErrorEmailNotifier/IClickErrorEmailNotifier?wsdl</property>
    </partnerLinkBinding>
    for ESB services we use like below
         <partnerLinkBinding name="GlobalERPJobService">
    <property name="wsdlLocation">http://${http.hostname}:${http.port}/esb/wsil/GlobalERP/Job/JobRS?wsdl</property>
    Thanks in Advance
    Hari

    here is a post for BPEL
    Re: Is there an equivalent of Properties File for BPEL??
    for esb there is a deployment utility in the following location
    SOA_HOME/integration/deployment/deployment.zip
    Unzip it and read the documentation. You can create deployment plans then modify before deployment.
    cheers
    James

  • How to add multiple test conditions in 'test' attribute expression of xsl:if tag

    Hi all,
    How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag ?
    I have 2 parameters and I want To skip the massage if this 2 conditions happened I tried to write it :
            <xsl:when test="($TransferToCompany = 0 and $ObjectInclide=1 )">
            <b1im_skip xmlns="" info=" Obect Will Not Transfer To company">
            </b1im_skip>
          </xsl:when>
    But I get an error while I am trying to transfer The object (Account) true B1if
    I am working with SBO 9 PL 13
    thank you
    shachar

    Hi saado
    Check this link:
    http://stackoverflow.com/questions/318875/can-you-put-two-conditions-in-an-xslt-test-attribute
    Kind regards,
    Radek

  • How to send A file using Webservice?

    I heard about webservice when I read through XML...
    It a bit like XML cannot show off it strength without webservice...lol
    What is webservice? What library should I use to send a file from server to client using webservice?
    Webservice is Quite new for me. Any expert here can direct me to the tutorial link that can teach me how to use webservice?
    I go through some code :
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://namespaces.cafeconleche.org/xmljava/ch2/"
    xmlns="http://namespaces.cafeconleche.org/xmljava/ch2/"
    elementFormDefault="qualified">What is xmlns? Is webservice can run it at localhost? My house don't have internet. :(
    Thank....

    to learn webservice..you can try these samples...
    http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical8.shtml

  • How to access a method in webservice catalogued component in BPM Process

    Hi
    Can anyone explain me how to access a method in webservice catalogued component in BPM Process using an imported jsp in bpm process.
    Thanks & Regards
    Ashish

    If Class B only has a reference to an Interface A, and that reference points to a concrete instance of Class A, then of course Class B can still call the method on Interface A. The method for concrete instance Class A is called behind the scenes.
    That's how interfaces work. That's what they're good for.
    Look at the code in the java.sql package for examples. Connection, Statement, ResultSet - all are interfaces. But behind the scenes you're using the concrete implementations provided by your JDBC driver. You don't know or care what those classes are or their package structure. All you do is make calls to the java.sql interface API, and it all works. - MOD

  • How to connect excelsius dashboard with webservice

    Hello Experts,
    how to connect excelsius dashboard with webservice for query. Can any one tell me step by step?
    Thanks

    please check this
    unable to use web services
    good luck

  • How I can wire an extern WebService to BPEL?

    I have started to work with BPEL PM (2.0.10) bbpelz 0.0.95. Now I would
    understand how I can wire an extern WebService (like a PLSQL WebService
    created in JDeveloper from a package) to BPEL.
    Therefore I look for Examples from BPEL - AmazonFlow or GoogleFlow. Then I set the ProxySettings in the orabpel\bin\obsetenv.bat. I've got the error:
    BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error]: CompilationError
    [bpelc] [Description]: in line 0 of "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "C:\Programme\oracle_sw\orabpel\samples\demos\GoogleFlow\GoogleSearchRef.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error reading file: No route to host: connect".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: .
    [bpelc] .
    BUILD FAILED: C:\Programme\oracle_sw\orabpel\samples\demos\GoogleFlow\build.xml:29: Validation error
    On my Laptop - there is'nt a Proxy, and the versions are: bpel pm 2.1.1
    bpelz 0.9.10
    I've got the error, when built the AmazonFlow:
    [bpelc] [Error] AmazonWebServices.wsdl:9:45: src-resolve.4.2: Error resolvin
    g component 'soapenc:Array'. It was detected that 'soapenc:Array' is in namespac
    e 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespac
    e are not referenceable from schema document 'http://soap.amazon.com/schemas3/Am
    azonWebServices.wsdl'. If this is the incorrect namespace, perhaps the prefix of
    'soapenc:Array' needs to be changed. If this is the correct namespace, then an
    appropriate 'import' tag should be added to 'http://soap.amazon.com/schemas3/Ama
    zonWebServices.wsdl'.
    Who can help me, make run the samples AmazonFlow and GoogleFlow?
    Where can I find more informtions about the Problem, how I can wire a WebService created in JDeveloper to BPEL? I can deploy the WebService from JDeveloper on the BPEL-OC4J-Server- but what have I to do or to integrate in order to see my WS in BPEL console and have access to it in bpel designer?
    Regards Sabine

    Hi,
    I followed your suggestion and linked my BPEL service to a WebService through the WSDL that is remotely accessible as in "{color:#0000ff}http://localhost:8988/scratch/kibailey/view_storage/kibailey_SOA/.jdev_user_home/mywork/OptyEventsService/Model/classes/EventsAMService?wsdl{color}" instead of directly accessing the WSDL file. This Webservice is of course deployed at the above mentioned server and location and the server is up.
    But when I run my BPEL process, I still get this message "{color:#ff0000}Reference EventsAMService does not exist as wire target{color}". I have cross checked other WSDL dependencies and they are fine.
    I am currently using JDev 11g drop 6 through ADE (linux). I have exposed a BC4J component (Application Module) as a WebService.
    Please let me know of any resolution.
    With regards,
    Kishan

  • How to add new browser type in visual studio 2010 performance test?

    Hi All,
           Currently we have various list of browsers in browser type drop down,Suppose if i want to add browsers like Internet Explorer 9 (or) 10,Firefox 33 (or) later version.How to add?

    Thanks for Adrian's help.
    Hi Balaji,
    Based on your issue, I agree with Adrian's suggestion. Therefore, I suggest you can try Adrian's suggestion to refer the link of Cybermaxs' reply check your issue.
    In addition, I suggest you can use fiddler to check the header definition.
    For more information, I suggest you can refer the Shiv_P's reply in the following link.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/9bb37eec-3467-4fcb-8537-648d04e91e2f/how-to-add-latest-chrome-browser-plugin-in-visual-studio-2010-ultimate-for-performance-testing?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to register and publish  the webservice in the registry

    hai friends,
    1) how to register and publish the webservice in the
    registry?
    I think To register the webservice first create an
    organization and publishes it to the registry then
    only register the webservice .Is it correct or not .
    If it is not correct give the suggestion for me.
    otherwise send the reply it is correct for me.
    and tell about ClassificationScheme and why we are using that ?how can i get the String ?
    Thanks,
    radhika.

    My Support Profile*

Maybe you are looking for