How to understand WS has to make use of SOAP

Hi All
via WLS 8.x, we can easily try a HelloWorld java class basis WS and test it
like the following:
String wsdlUrl = "http://localhost:7001/web-services/HelloWorld?WSDL";
HelloWorld service = new HelloWorld_Impl( wsdlUrl );
HelloWorldPort port = service.getHelloWorldPort();
result = port.get( ... );
What I don't understand is, how is the SOAP applied and how can it be kept
track of during the request and response?
Thanks lots
John
Toronto

HI...
If u want to keep track of soap message u can use handler class (GenericHandler ) which allows you to read and modify or attach attachement.In client code you need to specify this handler then it ll call request and reponse method of handler berfore n after calling webservice.
Cheers,
Rana...
Inter net Inter Operate.......Webservices everywhere....

Similar Messages

  • How to understand if olap cache is used

    Hi,
    I am trying to understand if my query uses the olap cache or not.
    First I executed the report with specific selections. After that, I executed the report again with the same selections but it took almost same time to bring the report output. There are lots of exception aggregates in my query, so i wonder if olap cache will help me or not.
    So, how can I understand if the query uses the olap cache or not ? (i am using RSRT screen, with 'do not use cache' blank)
    Thanks
    Ozan

    Hi
    Check in tcode RSRT. Input your query tech name and from the properties tab, you can see if the olap cache is set to be used in the cache mode field.
    You can check if the entries you are making in the cache are used, if you, also from RSRT, go to cache monitor->main memory and expand the folder "query directory".
    now search for your query tech name.
    a folder will appear with your query tech name if the cache mode enabled.
    right-click and choose details. here you will see "read accesses" and the number will tell you how many times this entry has been read.
    regards
    jacob

  • How to design class hierarchy to make use of Bimorphic inlining

    I have a question regarding the optimum number of implementations you can have of an interface.
    I have 1 interface and 2 main implementations. All the methods except one very rarely invoked method in those two main sub-classes are frozen using final.
    interface Foo{
      void hotMethod1();
      void rarelyUsedMethod();
    class A implements Foo{
      final void hotMethod1(){.. .. ..}
      //Non final!!
      void rarelyUsedMethod(){.. .. ..}
    class B implements Foo{
      final void hotMethod1(){.. .. ..}
      //Non final!!
      void rarelyUsedMethod(){.. .. ..}
    }Then there are many (more than 20!) sub-classes of these 2 main sub-classes - dynamically generated bytecode.
    class Aee26671 extends A{
      void rarelyUsedMethod(){.. .. ..}
    class B33423 extends B{
      void rarelyUsedMethod(){.. .. ..}
    class C12ds423 extends A{
      void rarelyUsedMethod(){.. .. ..}
    and so on...All these second level sub-classes just override the rarelyUsedMethod().If in some caller method I do this:
    x(Foo foo){
      foo.hotMethod1();
    }Does the Hotspot compiler recognize that there are only 2 possible targets because A and B have their implementations marked as final?
    I've heard of Bimorphic inlining. But does it look just at candidate Sub-classes - in this case there are more than 2 sub-classes.
    Or, does it realize that the actual candidate implementations of the hot method are just 2 (A and B) because they are "final" and optimize it?
    PS: Does Hotspot do Bi or Polymorphic inlining?

    Hi Ashwin,
    as far as I understand, the bi-morphic case is really a special optimization that occurs when there are only two possible classes (not necessarily methods) involved. You can easily test that by adapting my newsletter: [Polymorphism Performance Mysteries Explained|http://www.javaspecialists.eu/archive/Issue158.html]
    Here is how I tested it:
    import java.util.Random;
    public class PolymorphismTest {
      private static final int UPTO = 100 * 1000 * 1000;
      public static void main(String[] args) throws Exception {
        int offset = Integer.parseInt(args[0]);
        Foo[] tests = generateTestData(offset);
        System.out.println("Warmup");
        test_all(tests);
        System.out.println("Actual run");
        printHeader(tests);
        test_all(tests);
      private static void test_all(Foo[] tests) {
        for (int j = 0; j < 10; j++) {
          run_tests(tests);
      public static void run_tests(Foo[] tests) {
        long time = System.currentTimeMillis();
        test(tests);
        time = System.currentTimeMillis() - time;
        System.out.print(time + "\t");
        System.out.flush();
        System.out.println();
      public static void test(Foo[] sources) {
        Foo t0 = makeRandomTest(sources);
        Foo t1 = makeRandomTest(sources);
        Foo t2 = makeRandomTest(sources);
        Foo t3 = makeRandomTest(sources);
        Foo t4 = makeRandomTest(sources);
        Foo t5 = makeRandomTest(sources);
        Foo t6 = makeRandomTest(sources);
        Foo t7 = makeRandomTest(sources);
        Foo t8 = makeRandomTest(sources);
        Foo t9 = makeRandomTest(sources);
        for (int i = 0; i < UPTO / 10; i++) {
          t0.hotMethod1();
          t1.hotMethod1();
          t2.hotMethod1();
          t3.hotMethod1();
          t4.hotMethod1();
          t5.hotMethod1();
          t6.hotMethod1();
          t7.hotMethod1();
          t8.hotMethod1();
          t9.hotMethod1();
      private static Foo makeRandomTest(Foo[] sources) {
        return sources[((int) (Math.random() * sources.length))];
      private static void printHeader(Foo[] tests) {
        System.out.print(tests[0].getClass().getSimpleName());
        System.out.print('\t');
        System.out.println();
      private static Foo[] generateTestData(int offset)
          throws Exception {
        switch (offset) {
          default:
            throw new IllegalArgumentException("offset:" + offset);
          case 0:
            return fillSources(A.class);
          case 1:
            return fillSources(A.class, B.class);
          case 2:
            return fillSources(A.class, B.class, Aee26671.class);
          case 3:
            return fillSources(A.class, B.class, Aee26671.class, B33423.class);
      private static Foo[] fillSources(
          Class<? extends Foo>... fooClasses)
          throws Exception {
        Foo[] sources = new Foo[1000];
        Random rand = new Random(0);
        for (int i = 0; i < sources.length; i++) {
          int offset = Math.abs(rand.nextInt() % fooClasses.length);
          sources[i] = fooClasses[offset].newInstance();
        return sources;
    }On my machine, the results are as follows:
    1 class: average=0, stdev=0
    2 classes: average=103, stdev=4
    3 classes: average=672, stdev=26
    4 classes: average=666, stdev=0.4
    As I thought, the bi-morphic optimization is only applied on a class instance basis, rather than a method basis.
    More information in my newsletter: [Polymorphism Performance Mysteries Explained|http://www.javaspecialists.eu/archive/Issue158.html]
    Regards
    Heinz

  • How to understand which BC set for Object BUS 2121 has to be used.

    hi,
    How do we understand this,
    If i have a BO BUS 2121 - then how do i know which BC set has to be used. and wht would be the suitable  BC Set for my reuirement .
    On what basis would i come to know that what would be the prefered BC set for this.
    Kindly suggest me with some solution or suggestion
    Thanks,
    shankar

    Hi,
    BCSet is just sample configurations for your quick system setup. You can learn process level definition setting from sample BSSet configuration and copy/enhance it for customer scenario.
    For BUS2121, there are 3 BCSet are available.
    /SAPSRM/C_SC_600_000_SP04  Shopping Cart Without Approval
    /SAPSRM/C_SC_600_001_SP04  SHopping Cart with One-Level Manager Approval
    /SAPSRM/T_SC_600_000_SP04  Test Workflow Settings: Shopping Cart ( Several samples )
    Regards,
    Masa

  • How can I make a intro page for my website, then after the intro has run make the page automatically change to my we site home screen

    how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen

    You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
    A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
    The meta refresh is added to the head section of the html file...
    <meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
    The delay time in seconds is marked in blue and the URL to the redirect page is in red.

  • How to make use of adjacent data elements within the same buffer

    Hi,
             Does anyone know how to make use of adjacent data elements within the same buffer? To make my question clearly, I would like to give you an example. In my application, I set "sample to read" as 10 which means at each loop 10 data samples will be taken into a buffer. Now, what I would like to do is to do some calculations on adjacent data samples in same buffer. I tried to use "shift register" for this, but it seemed to me that it only can deal with the calculation between data from adjacent loops. In other words, it skips 9 data elements and take the 10th one for the calculation.
             Here I also attach my VI showing what I did.
        Thank you very much in advance,
                            Suksun
    Attachments:
    wheel_encoder_1.vi ‏98 KB

    Hi Suksun,
          I hope you'll forgive me for distilling your code - mainly to understand it better.  I tried to duplicate your logic exactly - which required reversing the "derivatives"-array before concatination with the current samples array.  As in your code, the last velocity is being paired with the first position.  If first velocity is really supposed to be paired with first position, just remove the "Reverse 1D Array" node.
    cheers
    Message Edited by Dynamik on 01-07-2006 03:17 AM
    Message Edited by Dynamik on 01-07-2006 03:19 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!
    Attachments:
    encoder2.GIF ‏14 KB
    encoder2.vi ‏102 KB

  • How can you keep your iPhone 4 (using it as my car's iPod) staying on the Audible app?  When I leave the car and return to continue hearing a book, it has switched to iTunes.

    How can you keep your iPhone 4 (using it as my car's iPod) staying on the Audible app?  When I leave the car and return to continue hearing a book, it has switched to iTunes.

    The first time an iPhone is connected to iTunes that is used to sync with another iPhone or iOS device, you are prompted to transfer the backup for the other iPhone or iOS device or to set up the iPhone as a new iPhone.
    The former does as provided - it transfers the backup for the other iPhone or iOS device to the iPhone replacing all data on the iPhone that is included with the backup being transferred. The latter does nothing allowing you to make your various selections for the iPhone sync preferences with iTunes.
    This is designed to be done right away with a new iPhone.
    If you don't have a backup for the iPhone with iTunes on your computer and don't have an iCloud backup that hasn't been updated since choosing to transfer the backup for your iPod Touch to the iPhone, the data that was on the iPhone is gone.

  • How to make use of SE37- Function Module & how to find out the table?

    Hi ,
    1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
    For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
    But after giving the particular name what should i do?
    Please help me.
    2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
    Thanks in adavnce for spending some time
    Raj.S

    Hi Raj
    Function Modules
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    Check this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
    By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.

  • How to make use of BAPI_CATIMESHEETMGR_CHANGE

    Hi All,
           We need to make use of BAPI_CATIMESHEETMGR_CHANGE for changing entered hours against an activity instead of adding new row for the same(BAPI_CATIMESHEETMGR_INSERT does that ) . Please guide me what all table parameters we should supply while executing this FM.
    Regards,
    Ganga.

    Hi Senthil,
    Now I have got how to make use of BAPI insert and change. But problme is when I need to add an hours entry for , say tuesaday of activity A for which already HAS monday hours,I am using  BAPI_CATIMESHEETMGR_INSERT AND IT IS ADDING ONE MORE ROW AS SHHOWN BELOW
    . But it adding new row. How top overcome this.
    <b>       Monday
          A     2</b>
    After insert
    <b>      Monday  Tuesday
          A     2
          A            3</b>
    =----
    SHould I use delete and insert.
    Please help me..;
    Regards,
    Ganga
    Message was edited by:
            Gangadharayya Hiremath
    Message was edited by:
            Gangadharayya Hiremath

  • How to make use of the 'Groups' in Screen Layout?

    Hi All,
    I have a screen with 10 input fields (F1, F2, .. F10).
    I set the 'Groups' attribute in the screen layout to 'DIS'.
    How could I make use of this 'Groups' attribute so that when I loop the screen, I will only disable fields with the 'Groups' attribute set to 'DIS'? Thanks
    I tried the following codes, but it's not working:
      LOOP AT SCREEN.
        IF SCREEN-GROUPS IS NOT 'DIS'.
          SCREEN-INPUT = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    It says ==> The data object 'SCREEN' does not have a component called 'GROUPS'.

    In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
    SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
    The first text box under Groups attribute corresponds to SCREEN-GROUP1,
    2nd text box for SCREEN-GROUP2
    3rd text box for SCREEN-GROUP3
    4th text box for SCREEN-GROUP4
    Hope this helps.
    Thanks,
    Balaji

  • How to make use of the XFList in the Function Bar  of the XML Form Builder?

    Hello:
        Now I am creating blog using the XML Form Builder.
        In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
        I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
    lexian
    Thanks a lot!

    In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
    SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
    The first text box under Groups attribute corresponds to SCREEN-GROUP1,
    2nd text box for SCREEN-GROUP2
    3rd text box for SCREEN-GROUP3
    4th text box for SCREEN-GROUP4
    Hope this helps.
    Thanks,
    Balaji

  • How to make use of 'Icon Name' in Logical link?

    I see the option 'Icon name' in 'define logical links' in SPRO. It does not however has an F4. I tried giving the name of image in the relevant skin. But no image appears besides the logical link. Is there something else that needs to be done to get an image besides workcenter link? How to make use of this 'Icon Name' in logical link?

    Hi,
    i guess this icon_name is not possible for every skin in CRM70.
    We use nova skin - here it is not possible.
    With default skin i saw icons for example on the salespro startpage.
    Kind regards
    Manfred

  • How to make use of Re Usable Objects

    Hi all,
    I have created an application in Oracle Apex 3.2, and running fine. I want to include ReUsable Objects functionality in my application.
    Our requirement is,
    "Common Objects(eg LOVS,Validation,etc) should be written as common objects adn held in a "master" application that all applications refer through the SUBSCRIBE function. All common objects should NOT be copied into an application but subscribed from master application."
    1) What does this "master" application mean?
    2) How can we make use of subscribe function? and where can i find this subscribe function?
    Can somebody help me in this regard by illustrating an example??
    Thanks & Regards,
    Sunil Bhatia

    Here's an example.
    I create a new application in APEX called Master with Application ID = 100. I modify some templates, create some LOV's in this master template.
    I create a 2nd application in APEX called Subscriber with Application ID = 101.
    In 101 I go to Shared Components => List of Values => Create. Choose to create as a copy of an existing list of values. In the dropdown, I choose Master (100) and click Next. You then are presented with all of the LOV's from your master application. First off you want to change the name from Copy of <LOV> to just <LOV> more because it is kind of confusing if you don't. In the copy drop-down, this where you choose Copy and Subscribe.
    The way it works is that once an object subscribes, you always make changes to that object in Master (100), and there is a button to push that change to all subscribing applications. So if you have 30 applications subscribing to that one LOV, you just make the change once, push it to the subscribers and they are now up to date.
    Keep in mind it doesn't work with all objects and only certain objects may be subscribed to. Objects like Application Processes for instance do not have a subscription feature, but you could use packages to keep common logic and just reference the same package anywhere you need it.
    What I ended up doing was to create a master and a subscription application. The subscription template has no actual pages, just subscriptions to templates and LOV's that I need. Whenever I need a new application, I just create a new application as a copy of that subscription application and my subscriptions are already setup for me.
    Check out the documentation and just search for Subscribe or Subscription and it should explain pretty much what I did above.

  • How to make use of a 9i table 10g

    Hai All,
    I need a particular table called 'system' to do reportingthe problem is this table exist in 9i and i am working with the the tables that are in 10g ,now my question is how can i make use of this table from 9i into 10g ????

    I'm a little confused
    Is the problem
    1 - You want to Access a table in an existing 9i database from a different 10g database
    or
    2 - You have a new 10g database as a copy of a 9i one, and a table called system has gone missing?

  • How to make use of 32bit packages on Arch64

    Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs. 
    My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
    Arch x86_64 / XFCE4
    Thanks in advance
    Last edited by kaola_linux (2008-12-09 15:24:36)

    kaola_linux wrote:
    Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs. 
    My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
    Arch x86_64 / XFCE4
    Thanks in advance
    You can reuse the packages in /var/cache/pacman/pkg/ on your  Arch32.
    You can use these saved packages in a 32bit chroot ENV on your Arch64. Just pacman -U all of them.

Maybe you are looking for

  • Recommendations please for MIC to USB adapter for VO recording

    Looking to use a Coles lip mic for vo recordings in fcp. I've tried a cheap XLR to USB cable, hopeless, not enough gain. Consideing the ART USB interface. Anyone have any recommendations? Thanks.

  • How to change pdf doc. font colors

    I recently upgraded to Adobe Acrobat Pro 9 and wondered if there is a way to change colors of the fonts in a documment. Thanks, doug

  • Suddenly cannot load certain logic projects

    Hello all, Just found today after being able to open it just yesterday, that a current project im working wont load, no error messages either, it gets half way after checking all plugins etc then... nothing, it just quits. This is true also with anot

  • Will Apple cover my factory unlocked iphone 3GS anywhere in the world?

    Hello, I'm planning on buying a factory unlocked iphone 3GS directly from the Apple Store in Hong Kong. Will Apple cover my iphone with the warranty worldwide or only in Hong Kong? Thank you.

  • Analytic Server Error(1042017): Network error:

    I keep getting this error when building dimensions in essbase 9.3.1. It happens every other run of the same package. If I run the same package again it works.. ****Analytic Server Error(1042017): Network error:***** Has anyone else run into this? If