[Beginner] Help! How to change the packet name for an jax-rpc example

Hi
I am new to the JWSDP, I tried to build and deploy the helloservice application (the example in
tutorial), it works fine. But I want to change the packet name from helloservice to books, it
returns error message during the building process.
Here is what I did.
I changed the folder name from helloservice to books.
In helloIF.java and helloImp1.java, changed to "package books"
In build.properties:
example=books
war.path=${tut.root}/examples/jaxrpc/books/${dist}/${deployable.war}
context.path=${hello.context}
portable.war=${context.path}-portable.war
deployable.war=${context.path}.war
In jaxrpc-ri.xml,
<?xml version="1.0" encoding="UTF-8"?>
<webServices
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0"
targetNamespaceBase="urn:foo"
typeNamespaceBase="urn:foo"
urlPatternBase="/ws">
<endpoint
name="MyHello"
displayName="HelloWorld Service"
description="A simple web service"
interface="books.HelloIF"
model="/WEB-INF/model.gz"
implementation="books.HelloImpl"/>
<endpointMapping
endpointName="MyHello"
urlPattern="/hello"/>
</webServices>
In config-interface.xml,
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service
name="MyHelloservice"
targetNamespace="urn:foo"
typeNamespace="urn:foo"
packageName="books">
<interface name="books.HelloIF"/>
</service>
</configuration>
When I run "ant build", it returns the following error message:
run-wscompile:
[echo] Running wscompile:
[echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d bui
ld -nd build -classpath build config-interface.xml -model build/mo
del.gz
[exec] error parsing configuration file: XML parsing error: com.sun.xml.rpc
.sp.ParseException:1: com.sun.xml.rpc.sp/P-067
[exec] Result: 1
All I want to do is just change the packet name, anyone know how to do it?
Please help me.
Thank you.

For future reference, please post JAXRPC related questions to [email protected]
There is something syntatically wrong with your config.xml. Try reverting back to the original, and try that. Then try modifying it again making sure to only change the packageName.

Similar Messages

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • How to Change the Alias name for Internet user in SU01 tr code through cod?

    Hi Guys,
                 My req is we have to change the Alias name(SU01 tr code) for the existing users thru code.So can anybody tell me how to change the Alias name like which we do it in SU01 tr code thru code or FM.?
                Is there any FM for tha changing Alias Name?
    Thanks,
    Gopi.

    Hello Gopi Anne ,
                                 You can use the following FM / BAPI :
    BAPI_USER_CHANGE
    MY_BAPI_USER_CHANGE
    For BAPI_USER_CHANGE :
    You need to make use of the IMPORT parameter :
    ALIAS     TYPE     BAPIALIAS                               User Name Alias
    ALIASX     LIKE     BAPIALIASX                               User alias change flag
    Thanks,
    Greetson

  • How to change the tooltip names for my navbar

    Hi,
    Does anyone know how to change the tooltop names on the navbar as i need it to say "Next" instead of "Forward"
    Thank guys

    For SWF you'll need to edit the applicable playbar.fla
    C:\Program Files\Adobe\Adobe Captivate 7 x64\Templates\PlaybackFLA\AS3\
    In the Localization MovieClip:
    var pbcBtnTips_ENU:Array = new Array("Rewind ",
              "Back ",
              "Play ",
              "Pause ",
              "Forward ",
              "Closed Captioning ",
              "Audio On ",
              "Audio Off ",
              "Exit ",
              "Information ",
              "dummy for scratch bar ",
              "Table of Contents ",
              "2x Fast Forward Speed ",
              "4x Fast Forward Speed ",
              "Normal Speed ",
              "Print");
    For HTML 5 you'll need to edit the playbarScript.js file:
    C:\Program Files\Adobe\Adobe Captivate 7 x64\Templates\PlaybackFLA\HTML\
    cp.playbarTooltips =
    AudioOff : 'Audio Off',
    AudioOn : 'Audio On',
    BackGround : 'BackGround',
    Backward : 'Backward',
    Color : 'Color',
    CC : 'CC',
    Exit : 'Exit',
    FastForward : '2x Fast Forward Speed',
    FastForward1 : '4x Fast Forward Speed',
    FastForward2 : 'Normal Speed',
    Forward : 'Forward',
    Glow : 'Glow',
    Height : 'Height',
    InnerStroke : 'InnerStroke',
    Play : 'Play',
    Pause : 'Pause',
    Progress : 'Progress',
    Rewind : 'Rewind',
    Shade : 'Shade',
    Stroke : 'Stroke',
    Thumb : 'Thumb',
    ThumbBase : 'ThumbBase',
    TOC : 'TOC'

  • How to change the display name for Gmail aliases?

    I have a Gmail account with multiple aliases. They look like this:
    Joe User <[email protected]> (Primary)
    Support <[email protected]> (Alias)
    Billing <[email protected]> (Alias)
    Works great. I'm trying to set up Apple Mail on my new MacBook to support the aliases as well. I am able to input the e-mail aliases, but the display names for all are 'Joe User' which defeats the purpose of having the aliases.
    I have to imagine I can do this. Can someone help me out?
    Regards,
    Dave

    Anyone came here, refer to this post.
    http://h30499.www3.hp.com/t5/Community-Feedback-Suggestions/change-of-display-name/m-p/6667672/highl...

  • How to change the attribute name for a relation

    When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
    When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
    So I have two questions:
    How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
    http://public.ceving.de/2012050300/relationattribute.png
    And if it is not possible:
    How can I preserve any changes on column names in the relational model during a re-engineering run?
    Edited by: 931739 on 03.05.2012 08:07

    Hi,
    I've logged an Enhancement request on this.
    I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
    What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
    David

  • How to change the machine name for the admin server?

    Hi, I've incorrectly set the machine name for my admin server. I now need to change this, but it's not editable (WLS 10.3.3).
    Is there a way to edit configuration files to get it changed?
    Thanks
    Jason

    Seems all I needed to do was edit config/config.xml (under my domain's path) and change the machine name manually (before shutting the admin server down).
    Regards
    Jason

  • How to change the Tab name for a custom field added in IC Winclient

    I have successfully added a field using eewb and it is appearing on my transaction in CIC0 but it is on a tab that says Customer Fields.  In EEWB a BADI called ZEEW_CUSTOMER_H01 was generated and it has a methods called  CRM_CUSTOMER_H_SET_TITLE.  It indicates you should be able to use this to rename the tab but the method is empty.  Anyone have an example of the code you pass in to rename the tab screen.  Thanks, Lisa

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • How to change the bluetooth name? in my pc,

    Hi there!
    How to change the Bluetooth name for my N70.
    I can change it in my N70, but the first installed name still pops up on my computer. Can't find it anywhere so i can have the same name in my phone as on the computer. Is there some kind of registry that keeps the first name maybe??
    Any ideas?
    Owned: Nokia 1600 - 3120 - 5110 - 6110 - 7110 - 6310i - N70 - N72.
    Using now: 6310i & N70 - N72

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • How to change the folder name in the web report.

    hi experts,
    can anybody give me the solution, how to change the folder name in the web report. any help is appreciated.
    waiting for ur favourable response.
    thanks
    suri

    Hi Tony,
    Yes, the business requires, only to change in the webreport only not in bex and roles. any suggestions will be helpful to me.
    thanks
    surendra

  • I have a MacBook Pro, how to change the computer name in the "Find Iphone"

    I have a MacBook Pro, how to change the computer name in the "Find Iphone"?

    Thank you for help! I was inattentive reading your answer. The thing which confused me was that I noted in blue. I had to just write in a red box and close the configuration window.

  • Has anybody found out how to change the workgroup name in 10.5?

    I have been trying to connect to XP machine shared folders and it is not working.
    I've tried using smb and it gives connection error or says Ithe user has not permission in the machine
    I've started in 10.4 from backup disk and it is working OK.
    I see that in 10.4 it asked for DOMAIN/ Workgroup name , and this option has disappeared in 10.5
    Has anybody found out how to change the workgroup name in 10.5?

    System Preferences - Networking

  • HT1428 How to change the account name in Mac OS X via a command line. I did a type-o on the account name. So instead of it saying "Company" it says "Comany"  for the account logon.

    How to change the account name in Mac OS X via a command line. When I created the account I mistyped the name. I have a management suite where I can execute remote scripts. I would like to run a script that changes the name from oldname to newname.
    None of these Macs have been used currently.
    Thank you,
    Brian

    If user account shortname, see Changing user account shortname

  • How to change the "short name (account name?)" and home directory name?

    Hi,
    I recently purchased a new iMac and migrated account info from my MacBook Pro.  I happened to use random account name during migration without knowing it will not be easy to change the short name (account name?) and home directory name.  As a result, I am now having extremely confusing short name and home directory name on my new iMac.
    I did online search to find out how to change the two names, but I could only found somethig like "enabiling root user and....."  I have no idea what it was talking about and I don't want to take risk altering such advance set up manually.
    Please advice how I can change the short name and home directory name safely without much PC knowledge.
    Thank you very much in advance.

    There are a few ways of doing this. The easiest method is logging into the first account and copying everything to an external drive (or flash drive or whatever), which changes the permissions so that others can see the files.
    Then, login with the new account and copy the files over. Once they are copied, the correct permissions will be applied again (so other people on your computer can't access them).
    If you can't do this method for one reason or other, you can do some terminal commands to change the ownership of the files. Login to the new account. If it is an admin account, open terminal and type the following command:
    sudo chown -R -v yourusername:admin /Users/originalaccountnamehere
    That should change the ownership of the files from your old account to the new one. At that point, you can simply drag the files into place.

  • How to change your user name for the Ipod nano...

    Can anyone please explain how to change the user name on your Ipod nano?

    hiya!
    do you mean the nano's name in the ipod source list?
    if so, select the ipod in the itunes sourcelist. click on it once, and pause for a second or so. you should then be able to type in what you please.
    love, b

Maybe you are looking for

  • Black screen between every clip that does not appear on timeline, only on MOV file

    Hello I originially had this issue  https://discussions.apple.com/message/17086997#17086997 I have now fixed the letterboxing issue but now have this problem (I did not have this issue before) where I get a very short black screen between each clip I

  • Trying to connect to Windows on LAN with MacBook outside of LAN

    Folks, I've scoured the support site thinking someone else has had this issue but no luck...I have a LAN powered by an Airport Extreme. I am trying to use my MacBook to access a Windows PC back in my LAN. Within the Airport Utility, under the advance

  • Outlined text watermarks in CF 9 ?

    Hi, Is is possible to stamp a PDF document with an outlined text, such as: If yes, what would be the arguments in the <cfpdf action="addwatermark" instruction ? Thanks, jma1338

  • Searching for missing files, using PSE6

    After I have transfered a batch of photos using the -file -get photos -From files and folders, the thumbnails appear in         " Organizer" but when I want to look at the photos in full screen they come up unclear and a dialogue box comes up ," sear

  • Hi all, Composition vs Inheritance

    Hi,All which is better Composition or Inheritance in the realtime issues?? Thanks in Advance,