Anonymous Client - How Does the Service Endpoint Know Which Operation

I am using a client (Axis2) to invoke a service through their Anonymous capabilities. When this is done, you create a ServiceClient with the default constructor and call one of its methods based on the MEP that I want to perform. In doing this, the ServiceClient is not aware of the WSDL, the SOAP Action, the Service Name, the Port Name...only the Endpoint URI of where I want the post to be sent.
So I have a Service Endpoint running in WebLogic 10 and constructed using EJB3. We are using JWS to generate the WSDL and other web service configuration files from our SLSB. My WSDL has two operations with different request messages and different response messages. When I send the Anonymous client request, the Service Endpoint correctly processes the request and send the correct response.
How is this happening? Does the EJB3 Service Endpoint know how to process or bind the message based on the root element of the SOAP Body? And is it just working by circumstance. So if I had two operations with the same request message and different responses, would it fail?
Thanks -jay
Edited by: jaybytez on Jun 13, 2008 5:35 PM
Edited by: jaybytez on Jun 13, 2008 5:36 PM

Unfortunately you have to make some changes in your code.. to find the pictures you need to replace:
ImageIcon pic = new ImageIcon("pic.gif");
with
URL url = MyClass.class.getResource("pic.gif");
ImageIcon pic = new ImageIcon(url);
where MyClass is the class which needs to load the resource.
I hope this helped you! /Pingu

Similar Messages

  • Working with hrefs, how does the target page know what to do?

    I'm working with a converted ND app.
    I have an href in a tiledView, which when clicked will take you to a
    detail page for the record. I see where in the creation of the HREF,
    it links together the model info from the source with the target:
    =============================================================
    hr_openTicketDetailDescr.addSourceTargetPair(
    new CommandSourceTargetPair(CommandSourceTargetPair.SQL_WHERE_TYPE,
    do_earsSchemaModel.class,
    "do_earsSchema.ARADMIN_ENTERPRISE_SOLUTIONS_REQUEST_REQUEST_ID",
    CommandSourceTargetPair.DISPLAY_FIELD_TYPE,
    pg_ticketDetailsViewBean.class,
    "pg_ticketDetails.st_ticketID"));
    =============================================================
    But what does the target viewbean need to be doing to make this work?
    I don't see any code that would explicitly or implicitly make it use
    this information being passed. Should I be intercepting it and setting
    the where clause myself in the beginDisplay? Also, how do I get this
    targetpair out of the href call in the href action?
    Thanks,
    John Hoskins

    Set both computer and iphone to sync with icloud problem solved

  • How does the shop floor know to pick non-WM managed materials?

    Hi experts...
    More of a process question this time.  The bulk of our materials are warehouse managed in SAP.  As such, when we release a production order, the warehouse gets a pick ticket (TO) to pick and stage those materials. 
    Obviously, the non-warehouse managed materials do not appear on the pick list.  How, in most companies, do the warehsoue folks know to pick those items if they don't appear on the pick list?
    It must be obvious but I'm missing it!
    Thanks in advance.
    Sarah

    Hi,
    All production relevant materials in component list are present on the pick list. You can verify the same by executing CO27 (mass) or MIGO or MB1A (individually).
    For parts which are warehouse managed & if WM-PP interface is setup, once the order is released, a TR is generated for warehouse to process the picking, once the TR & TO is process, the GI is done.
    For parts which are not warehouse managed, the stock is managed in IM (i.e. at sloc level), for these the pick list which is printed at the time of order release will serve as a picking instruction for warehouse personnel & subsequently a GI is posted via MB1A / MIGO / CO27.
    Hope it clarifies.
    Regards,
    Vivek

  • How does fast user switching know which energy settings to use?

    When using fast user switching and keeping 2 accounts logged in, which accounts' energy settings take priority (assuming their settings don't match)? For example, let's say I set my account's display to sleep after 15 minutes and my wife sets hers for 30 minutes. If we both keep our accounts logged in and then leave the Mac on the login screen, who wins?
    The reason I ask is because my display won't stay asleep. Unlike my example above, I've made sure both accounts have identical energy settings (sleep the display after 15 minutes & the iMac itself is set to 'never sleep'). I can get it to sleep (usually by pressing control-shift-eject), but it will not stay asleep. I don't think any applications are causing this (I've shut down all apps to test - only Time Machine is scheduled to run automatically). I'm starting to wonder if fast user switching could be the cause? I usually keep both accounts logged in at all times and return to the login screen before heading to bed. I then force the display to sleep with control-shift-eject, but several hours later I wake up to a bright room because the display has turned on again. I haven't tried turning off fast user switching yet, but I can see where that might confuse the OS?
    Oh, I've also disabled waking on bluetooth activity just in case my wireless mighty mouse was losing its connection & waking the display upon reconnection - no luck.
    Any thoughts or suggestions are appreciated - it's driving me nuts, especially since I can't just turn off the iMac display itself without powering down the entire system.

    Energy Saver settings are system-wide and not specific to the user. If one user changes the settings, it's changed for everyone. Screensaver settings are user-specific.
    That said, the reason that the system wakes by itself can be one of several things: the system is set to wake up (you can set this under energy saver) by preferences or some application/service, the system receives a wake-up message from something on the network (you can configure this under Security, I believe, or Network, I don't recall), or you have "chatter" related to a device plugged into your computer.
    "chatter" is when a USB device or FireWire device sends a signal to the computer it's connected to. Normally, peripherals are quiet if not actively in use, but some things (cheap USB hubs, certain mice, etc) will spuriously send a signal to the connected computer and cause it to wake.

  • How does my Samsung Note know which phone number is assigned to it?

    I have two Samsung notes that have a phone number associated to them.  I want to use the texting app so do I use the phone number verizon gave the note?

    The SIM card holds the phone number and account information for phones like the Galaxy Note.

  • How does the system knows age or seniority is crossed for so and so... EE

    Hi Experts,
    In my project we have configured some Health plans based on ages and seniority,
    Employee can enroll in to the plan when they reach the age or seniority,
    my question is how does the system knows  age or seniority is crossed for so and so... EE, where exactly we do this setups
    Pleae let me know your valuable answers
    Regards
    Sreeni

    hr_entry_date and you can use various
    fm to calculate this, It reads 0019, 0041 or Hdate feature
    3QP8                           Time related calculation function mod.
    HR_AUPBS_SENIORITY             Calculate the whole length of service of employee
    3RP3A                          Leave schem proration modules
    SGPS_LS_SENIORITY_CALCULATION  Function for seniority calculation for Singapore Leave Scheme
    HRDO
    HR_DE_PBS_SENIORITY_PERIODS
    HRFPBS4AV0
    HR_PSF_AV_ANC_INPUT_SENIORITY
    HRF_METADATA_IT
    HRF_READ_SENIORITY_IT

  • How does the new iPhone 6/iWatch know whether I'm standing or sitting?

    I work long hours standing and I'm wondering how does the new iPhone/iWatch knows whether I'm standing or sitting down?  And what if I leave my iPhone on the table but I'm walking around with just my iWatch on the wrist, is the new Health App going to be keeping track of my walking around the office?

    You will know when you buy them and use them. No one here can answer that question yet.

  • Can anyone let me know how does the system calculate forecast strategy?

    Hi all,
    I am new in Demand planning,,  I can see a couple of Forecast strategy used in  the production. I would like to know how does the system does the calculation for the forecasting strategies like
    36     Median method
    13     Moving average
    94     Linear regression
    etc.
    Can anyone pls guide me how does the system do the calculation and how to validate those calculations!!
    Thanks
    Pooja

    Hi Pooja,
    The below link will contain the detailed list of all forecast strategies alongwith how
    it will be calculated alongwith the formulas
    http://help.sap.com/saphelp_scm70/helpdata/EN/ac/216b6e337b11d398290000e8a49608/frameset.htm
    Please confirm whether this helps you to resolve your query
    Regards
    R. Senthil Mareeswaran.

  • How does the client edit their site after the freelancer stops hosting the site on their CC account?

    Once a freelancer stops hosting a client's site through their Creative Cloud Account, how does the client continue to edit their site? Do they need their own CC account or does the site have to be hosted on a BC plan?

    This forum is only to discuss how the forums operate, not products
    If you go to the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the Adobe product(s) that are
    use to edit/maintain the site

  • How does the system knows hire action first

    Hi all,
    Iam new to this community, recently i have joined as an SAP HR trainee ,and i am undergoing SAPHR training Programme.
    why can't the system allow us to do promotion action before Hire action?where do we configure this to make it happen, how does the system knows to do the Hire action first, where are the settings for this..
    Swathi

    hai
    there are a number of programmes running in the back groung when u do any application.
    the validations will be written in them
    when u try to do something through the programe running at the back ground does these validations  like the example u have taken when u do the promotion action it checks whether actions exists or not if not then it throws the error written in the program.
    regards
    nalla

  • How does c:url tag know when the session is cookieless and thus to redirect

    i have been looking at the source code for c:url tag and can't figure out how they are doing that. I need a way to do that in a jsp, to check if the cookies are allowed or not.

    how does c:url tag know when the session is cookieless and thus to redirecthuh?
    What do cookies have to do with redirecting?
    Cookies get encoded into a URL using the method in HttpServletResponse: response.encodeURL() or encodeRedirectURL().
    That method determines whether or not it prints out the session id as part of the url, or it gets uses cookies.
    You can try: request.isRequestedSessionIdFromCookie().
    If that is true, you know that session cookies are supported (or at least that one was)

  • HT203071 How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?

    Hi ... How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?

    Hi,
    If you want to restore a reomoved app,you need to use
    Add-AppxPackage to add a signed app package (.appx) to a user account.
    But we cannot extract them from the ISO.
    The behavior is by design.And this is a software protection regime.
    Thanks for your understanding.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • How does the remote object connect to the correct host

    i have had a small doubt on how the remote reference manages to find the correct host to call the subsequent methods after a sucessful lookup.
    given a rebind or bind to the registry, the registry only stores the alias and the remote reference, now imagine a client calling a lookup on the registry would only get the remote reference, and not in which machine the remote object is found.
    what i wanted to know is how does the client or atleast the remote reference returned by the registry correctly connects to the machine where the remote object is located. i dont think its stored in the stub bcos the stub is a complie time stuff.
    i would be pleased to have a comprehensive answer for this.

    The membership in the group communication framework is always accurate and upto date.Up to date to the moment when you check. Not up to date to the moment when you make the RMI call.
    i could basically chk if this ip is available in the membership list.Complete waste of time. It doesn't matter what you check ahead of time, you are still trying to predict the future.
    And you still have to deal with ConnectException etc from the actual remote method call. And the way you will deal with that in your situation is exactly the same as what you were going to do if your ahead-of-time check failed.
    So just catch the exception(s) and deal with the problem there.

  • Error encountered while polling the resource for the service endpoint

    Hello everyone
    I'm a newbie on OSB world. Yesterday, I've tried to test OSB with FTP transport and got some problems.
    As you see in the title, I've search this forum to get a solution already, but I couldn't find anything. So that I create a new thread.
    I created a new OSB project, create a new Proxy service to connect to my FTP server:
    - service type: messaging service
    - request message type: Text, response message type: None
    - FTP transport: external user (I used a Service account), Post read action: archive, transfer mode: ascii, some directories needed were created in /tmp directory
    - Message flow: Start node -> pipeline pairs
    in request pipeline of pipeline pairs node: i created a new stage: Assign action -> Log (to get file contents, error severity) -> Assign -> Log (get file name)
    The expected results are: file file content and file name (display in osb console) after I submit a text file to ftp server (using test console or ftp client)
    But, some error occur continuously after I submit a text file (I can get the file content because error raise and log catch it). The error message is show below:
    <Jun 6, 2011 10:04:59 AM EDT> <Error> <ALSB Logging> <BEA-000000> < [PipelinePairNode1, PipelinePairNode1_request, show_text_info, REQUEST] file contents: li
    ag
    a
    glakjgk
    >
    <Jun 6, 2011 10:05:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: *javax.naming.NameNotFoundException:* While trying to lookup *'wlsb.internal.transport.task.queue.ftp'* *didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
    *javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         Truncated. see log file for complete stacktrace
    >
    <Jun 6, 2011 10:06:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
    javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         Truncated. see log file for complete stacktrace
    >
    ...There are many BEA-381602 errors that occur continuously.
    My question is how to solve this problem.
    Any suggestion is appreciated.
    Thank in advance.
    Regards, CuongPT
    Edited by: Doubt_Man on Jun 6, 2011 11:17 AM

    Thank atheek1, I remember that I didnt do any manual configuration on my domain :). I use that domain for testing so that I will create a new domain for comparison.

  • How does the field CCSOFTLOCK in T000 Table get Updated ?

    Hello Experts !
    I would like to know how does the field CCSOFTLOCK in Table T000 Get updated ?
    I tried all fields in SCC4 for a client but none of my change updates CCSOFTLOCK .
    The Data Element Description says   Client control: Soft Lock Required (Planned for 4.0)
    What does this Planned for 4.0 Indicate. We are in ECC5.0.System.
    Regards,
    Mithun Shetty

    Hi Mithun,
    Can you check if Note "1047952 - SCC4: Client settings with enhanced security options "is  applied to your system.
    as per it , you can put additional restrtictions for modifying SCC4 (table T000) fields ,a BadI will be checked additionally.
    15. Parameter : CCCOPYLOCK_VAL_DEFAULT
           Type      : Exporting
           Pass Value : Check
           Optional  : Space
           Associated type: TYPE
           Reference Type : CCSOFTLOCK
    Regards,

Maybe you are looking for

  • Multiple f:view on a single page?

    Is it possible to have multiple f:view s on a single page? I want to have some parts of the page be displayed always in a specific language: f:view locale="de". Some other parts should just change the locale normally? i tried it, but then the page wa

  • Issue Regarding date

    Hi All, i have a cutome page in which i have a Date fileld along with some other fields and a button for saving the data. i have to save the data after validation. my problem is if i am not selecting the date through the calendar icon and entering th

  • MM to SD

    hi all i am doing report for how much inwarded and dispatched material . i am not know what are the table i take and all the things so could any body give me the flow of table from MM to SD how i compare the PO with SO ....

  • Time Recording - HRESS_A_CATS_CALUI clock times

    Hello, We are trying to use the application HRESS_A_CATS_CALUI for time recording. But it allows to record time only in 30 min intervals. There is a drop down, from where we can select e.g. 08:00 and 08:30. Is it possible to reduce this interval or h

  • Interactive Reporting & Imported CSV File

    I have a query that joins an IR result set w/ a CSV file that I've imported into IR. I would like to import a more current version of that CSV file (I can use the same file name each time) without having to update the query, is that possible? I tried