How to control the location of the SOAP:address element in the WSDL

I have an EJB exposed as webservice in WebLogic 10.3. Further, the EJB has been annotated with the WebService annotation as in:
@WebService(name = "S_CALCULATORname", serviceName = "S_CALCULATORserviceName",
targetNamespace = "http://tempuri.org/SCalculator/")
@Stateless(name = "S_CALCULATOR")
public class S_CALCULATOR_Beanxxxxxx
The location attribute of the SOAP:address element in the WSDL document generated by the Test Client facility is of the form
http://host:port/ejb-java-class-name/service-name-attribute-value as in:
<soap:address location="http://123.4.5.678:1234/S_CALCULATOR_Beanxxxxxx/S_CALCULATORserviceName" />
Is there a way to control the value of the context root portion of the URL, ejb-java-class-name in this case, either using annotations or deployment descriptor files?
thanks in advance for any replies,
octavio

Hi,
While building the WebService Application you can use the following ANT task...
<target name="build-service4">
<jwsc
srcdir="src"
destdir="output/TestEar">
<jws file="examples/webservices/jwsc/TestServiceImpl.java">
<WLHttpTransport contextPath ="TestContext" serviceUri="TestServiceUri" portName="TestServicePortHTTP"/>
</jws>
</jwsc>
</target>
Or if you are developing JAXRPC EJB based WebService in that case you can even define the Context root using *@weblogic.jws.WLHttpTransport* annotation....
@WLHttpTransport(contextPath="simple", serviceUri="SimpleService", portName="SimpleServicePort")
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Edited by: Jay SenSharma on Feb 4, 2010 10:22 PM

Similar Messages

  • External USB not recognized on my iMac (intel) in Disk Utility, Finder as well as in Terminal diskutil list but is listed in System Profile, which includes the location ID of 0xfa400000 / 5.  Can the location ID be used to restore USB identity ?

    My 1TB Seagate external USB not recognized by my iMac (intel) in Disk Utility, nor in Finder as well as in Terminal "diskutil list" but it is listed within the System Profile, which includes the location ID of 0xfa400000 / 5.  Can the location ID be used to restore the identity of my external USB ?

    Hello JNotorious,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    USB and FireWire Quick Assist
    http://support.apple.com/kb/ht1151
    Have a nice day,
    Mario

  • Like an idiot I changed the location of my iTunes Media File in the Advanced section of my Preferences - now half my songs won't play as they can't be found....I know they are there as I played these songs yesterday.....help !!!....

    Like an idiot I changed the location of my iTunes Media File in the Advanced section of my Preferences - now half my songs won't play as they can't be found....I know they are there as I played these songs yesterday.....help !!!....
    .....what folder do I need to reset it to so I can play my entire library??
    Frankie C

    You can also reset the location fo the media folder in the advanced tab.

  • RRB-How to get the activity description instead of WBS element in the bill

    Dear All,
    I am using RRB DIP profile to do my Resource related billing
    RRB-How to get the activity description instead of WBS element in the billing
    document.Now  iam able to get the cost and the quantity used as line items but instead of getting the respective line items in the invoice iam still getting the WBS
    element description for all the activities.Can some body guide me to overcome this problem.
    Assured reward points for your suggestions and help.
    Thanking you,
    Best regards,
    R.Srinivasan

    Dear All,
    Please can any body help me for the same.IT is urgent.I will award you points.
    thankyou,
    Best regards,
    R.Srinivasan

  • So i just updated my iPhone 5 to ios 7 and i can't turn on the location services...a press on the button wich turns on the location services but nothing happens and it doesn't apear green like all others softwere buttons.

    So i just updated my iPhone 5 to ios 7 and i can't turn on the location services...a press on the button wich turns on the location services but nothing happens and it doesn't apear green like all others softwere buttons.

    General> Reset< Reset All Settings will work! Be careful not to erase! and you will have to redo all of your settings. Everything, ringers, even wifi will be lost! Big pain!!! I still dont have everything like I used to after the reset, but location services can be enabled again.

  • In Mountain Lion, how do I find the location of an open Preview File?  The file "properties" tab is no longer available.

    I typically have several open Preview files at any one time and often forget where, sometimes if, I saved them.  In Mountain Lion, how do I find the location of an open Preview File?  Tried holding option + command in spotlight but I don't see a path name appear anywhere. 

    Yes, cmd-option on a file you choose in Spotlight and the path will appear at the bottom of the Preview window.
    EDIT: Also, if it is bookmarked the path is in Bookmarks.

  • How do I get the location bar drop-down list to show the most recently visited page at the top? I have no idea how it's deciding what to display.

    In IE when you show the drop-down list from the location bar, it show you all of your most recently visited pages in descending order with the most recent at the top. Firefox is showing me a list that I have no idea where it's getting the pages from or how it's ordering them. It doesn't update the pages or the order when I go to a new page. I have recently switched from IE to Firefox and cannot figure out how to get Firefox to do this; very annoying.

    That drop down list doesn't show recently visited pages, but shows list list of most visited sites sorted by what the Mozilla devs call frecency (frequency and recency) and is based on bonus points. It is not possible to have much influence on what shows on that list.
    If you want a list of recently visited sites then you can use a smart bookmark e.g. on the Bookmarks Toolbar with the location set to this smart folder.<br />
    Name: <b>Recently Visited</b><br />
    Location: <b>place:queryType=0&sort=4&maxResults=30</b><br />
    You need to close and restart Firefox to make that folder work as intended.
    * https://support.mozilla.org/kb/Smart+Bookmarks+folders
    See also:
    * http://developer.mozilla.org/en/The_Places_frecency_algorithm
    * http://kb.mozillazine.org/places.frecency.numVisits

  • How to control more than one instrument via different interfaces at the same time

    Hi, I am new to Labview.  I am working in a project where I have to make a Automated testing tool . So, here is the set up -  I have a Chip on a board to which there are several instruments connected namely Agilent power supply, Agilent pattern generator, oscilloscope,Dmm and Thermotron. All these instruments will be connected to the host computer via ethernet, GPIB or RS232. I have to write a program on Labview where the program  should be able to communicate with these  instruments  at  the same time  and show the ouput  on display unit . I have to run the program once, should be able to view the ouputs. So, Is it possible to write such program in Labview??.  I have  downloaded  few instuments  drivers. Is it possible to combine those intrument drivers and construct a new VI which would be able to control all this ??   Will it be easier to program this on Labview or  I should  go for Labwindows/CVI  ??.
    Please mention some useful sites or tips (if u know) for writing program.
    Thanks in advance
    shasanka

    Hi Shasanka,
    ofcourse it's possible to control more than one instrument at a time.
    You should use the VISA routines to access all your devices. Every device get it's 'address' as 'VISA resource name'. This resource name contains information on the used bussystem and the (internal) device address (i.e. GPIB devices have an address number).
    So I suggest to read the manual and to look at the examples that come with LabView!
    And (from your question) it seems you should take the 3 or 6 hour seminar as well! (Look at www.ni.com -> academics.)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • HT201317 I want to change the location of my photo stream photos from the default location.  How can I do that?  I don't have enough room on my C drive.

    I can't figure out how to change this.    I have an older PC laptop that barely has enough space to operate with itunes on it.  I have most everything on an external hard drive and would like to move the photo stream folder there. 

    Do you mean on your Time Machine backup drive? Or are you actually accessing the backup? In either case you shouldn't be doing that. If you haven't space on your HDD to store the iTunes Library, then at least put it on another external drive.
    Since you did not provide any information about what's actually "on my time machine," here's what you would do. The entire iTunes folder should be stored in the /Home/Music/ folder. Within that folder you would have three folders: imm Media, iTunes, and iTunes Playlists.

  • How to control file location of iPhone pictures?

    I have invested a lot of time into figuring out a smart way to combine Apple's approach of handling images (database-driven) with the approach of all other services (file-driven) but was not successful yet. I really hope you can help me.
    Problem: I take a lot of picture on my iPhone and want them to be:
    in a useful location on my drive based on events (e.g. Pictures/Christmas 2013/IMG_123.JPG) which enables me to use file-based services like dropbox
    in iPhoto
    My problem: if I attach my iPhone and start iPhoto, I can import images from the iPhone without any control over where they are placed on the hard disk.
    I tried several ways to work around this:
    Find the images in the iPhoto Library folder and move them --> iPhoto doesn't find them anymore. Unfortunately it doesn't ask me where to find them but just shows an error symbol.
    Export the images and reimport them --> A lot of manual effort + I loose some timestamp information
    Hack into the SQLite DB of iPhoto --> I managed to update the imagePath in iPhoto but then found out that the location is additionally stored in a file alias which is stored in SQLite as a BLOB. I don't see a chance to create/update such an alias
    Any idea how I can control where images are stored? Should I use another mechanism to import images from the iPhone instead of importing directly into the media library?

    in a useful location on my drive based on events (e.g. Pictures/Christmas 2013/IMG_123.JPG) which enables me to use file-based services like dropbox
    Do you want to store the original image files in a synced folder like your dropbox folder? Then you are risking to breaking the connection between your original image files and the versions in your iPhoto library.
    Image files managed by iPhoto are best left alone. iPhoto offers many safe ways to access the photos, and probably can what you want be done, by using iPhoto's interface. What yo not can do in iPhoto is syncing the library to other macs.
    Any idea how I can control where images are stored? Should I use another mechanism to import images from the iPhone instead of importing directly into the media library?
    The only way to control where images are stored, is to avoid importing them in the first place. If you disable "Copy items to the iPhoto Library". Then your image files wil remain exactly where they are. But this method is not recommended, because it is a disaster waiting to happen. Images imported this way cannot be rlocated to another drive, if you are running out of space, they are difficult to restore from backup, and they are not well protected and may be accidentally moved or deleted.  If you need a photo library that supports this kind of staorage better, upgrade to Aperture.

  • MS 12.0.1: How to control inital location of value and refdes text?

    When I use an opamp part from the master database, the part number (value?) and refdes are always initially located well away from the symbol.  When I create my own opamp, the part number and refdes are located right by the symbol, typically blocking some pins.  I do realize I can move the text.  What I'd rather do is know what to do when creating the part that makes the text pieces be initially well away from the pins.
    Thanks!
    Regards,
    Who

    OK, thanks.  I'll try that.  However, it doesn't seem very practical to create a part, then have to mess around with the symbol so that the text fields don't get in the way when placed. 
    When I create a footprint in UB, I can control whether or not the component value and/or refdes will show up  on the silkscreen layer, and if they do display, I can control their initial position. 
    When I create a component in MS and I choose to edit the symbol in the symbol editor, I should be able to control the same thing. 
    Regards,
    Who

  • How to generate a report with more than one elements in the same graph??

    I need to generate a custom report in OEM GC 10g featuring volume total capacity information and volume free capacity information both in the same graph on (Y-axis) and time on the (X-axis). I could generate only the total volume capacity graph individually, but how can the combined graph and the graph for free capacity be generated...

    Is it your values in parameter NO separated by coma? And is it
    parameter in where clause?
    Do you want something like :
    from table
    where s_no in (NO) ?
    If is answer "yes" you can create lexical parameter in report.
    You can write in report sowething like:
    select a.field1, a.field2,.....
    from table a
    &COND /* this is if is condition only one line after "from".
    if you have more lien after where then you will put this &COND
    in line where you want to have your multivalue.
    Then in your trigger in form you should write:
    sc_no := 'where a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    /* again this is if you have only one line with WHERE ili
    conditions */
    or you will write:
    sc_no := 'and a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    It will substitute line in which is your conditions with
    multivalue.

  • How to determine the get/set methods of an element from the schema

    Is there a way that I can obtain the java method call to an element using only the schema (maybe using SchemaTypeSystem, SchemaType, SchemaComponent)? For instance, as I traverse the schema is there a method that I can call that will return:
    "getPurchaseOrder().getCustomer().getName()"
    for the name element in the form of a string or some other representation?
    Thanks in advance.
    Joey

    Sorry Manoj,
    but i didn´t find out, why these programs should be able to solve my issue. They just display a picture using the CL_GUI_PICTURE control.
    I am looking fo a way to resize a given control to the very maximum, so that it fills the whole SAPGUI window!
    Thanks anyway...
    MIKE

  • All of my bookmarks appear in the location bar when all i want is the history

    So lets just jump through everything I have done already. I basically figured out that all of the sites listed in my location bar are my bookmarks. All want is history. Before my Location bar settings were set to history and bookmarks, but then I decided to delete all my history and that just left the bookmarks. So figured out the location bar settings thing and I switched it to History but its still showing my bookmarks in the location bar. Some sites I have bookmarked but haven't visited in awhile. I would also like to note that there is no star next these links in the location bar but when I click on any of the links in it they are bookmarked sites. I am guessing the missing star may have something to do with why its being tagged history. I have no clue but I only want history in my location bar not bookmarks. I tried customizing it and still all my bookmarks are in it.

    Are those sites redirected to another location?
    If the URL stays the same then an URL that is bookmarked should have a star next to it.
    You can also restrict the drop down list to websites that you've typed in the location bar.
    * http://kb.mozillazine.org/Location_Bar_search
    * http://kb.mozillazine.org/browser.urlbar.default.behavior

  • I just recently got the Ipad and am having trouble with the location services when ever i am on the verizon wireless router the apps cannot seam to locate me does anyone know why this would happen verizon does not?

    I have the new IPad and am using it with the verizon mifi2200 wireless and when i am using apps the location services cannot find me wifi is working and location services is on this does not happen when i am using a wifi that is at my office or in hotels does anyone know anything about this because verizon dosn't?

    iOS 5: Understanding Location Services
    http://support.apple.com/kb/ht4995
     Cheers, Tom

Maybe you are looking for

  • DSL slowed to a crawl in Queens, NY

    Hello, Was hoping to get some help here...  I'm located in Forest Hills, NY. For the past week my internet has slowed dramatically.  Prior to this, I would get relatively consistent and stable connectivity between 5.4 and 7.1 Mbps.  I am now receivin

  • Using iPhoto together with Adobe Lightroom

    I use Adobe Lightroom for my image organizing/tagging needs, since it's way more powerful than iPhoto in this area. I would however like to use iPhoto for my daily image browsing, syncing with my iPhone and for ordering prints/books ++. The way I do

  • When i try to download any song it plays but it doesnt download

    when i try to download any song it plays but it doesnt download

  • Managed Metadata Service and Content Type Hubs - Service Connection necessary?

    I created a site collection and activated the content type hub feature at the site collection level. We have an existing managed metadata service but I am unable to edit its settings, so I created a new MMS in a new database, however; there is no "se

  • CER 7.x not able to add manual phones

    We have a customer with CER 7.1.1 where we are trying to add some of the analog extensions as manually configured phones in ERL but we couldn't add those becuase all these analog extn's starts with an asterisk (*XXXX) these are outbound only extensio