JWSDP - configuration error in using wscompile.bat to generate WSDL

Hello all,
I am new to JWSDP and am trying to generate a WSDL and jaxrpc mapping for my EJB SEI. I'm using JWSDP 1.4 and my interface has simple String datatypes as arguments. I'm getting the following error when I try to use wscompile.bat:
error: only one configuration file can be specified: config.xml
Usage: wscompile [options] configuration_file
Use "wscompile -help" for a detailed description of options.I'm using the command as follows:
wscompile -cp C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar -gen:server -f:rpcliteral -mapping jaxrpc-mapping.xml config.xml(client.jar contains the interface, and since it extends javax.ejb.EJBObject, I also included jboss-j2ee.jar in the CLASSPATH). My config.xml looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
  <service name="MyInterfaceService"
       targetNamespace="http://webservice.interfaces.test.com"
       typeNamespace="http://webservice.interfaces.test.com"
       packageName="com.test.interfaces">
       <interface name="com.test.interfaces.MyInterface"/>
  </service>
</configuration>What am I doing wrong here? Would really appreciate any help.
Thanks.

Apparently for JWSDP, the command needs to be issued as follows:
wscompile -cp "C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar" -gen:server -f:rpc
literal -mapping jaxrpc-mapping.xml config.xml(Notice the quotes around the CLASSPATH)
Hope this helps someone else.

Similar Messages

  • Problem on "error: modeler error: model error" by using wscompile

    When I use wscompile to generate the client stub, I get the follwoing error:
    error: modeler error: model error: invalid entity name: "BaseFaultType" (in name space: "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd")
    What is the problem mean? And What I should do with it?
    Thanks a lot.

    Ershad Ahmed wrote:
    Hi Swathi,
    >
    > Before performing the restore i would always restore control file from the backup to make sure that restore is working
    Hi,
    he already restored 30%, so I think we can safely assume at least some stuff did work.
    Allthough I agree that since the controlfile is saved last, this is a good test.
    Seems to be either a dirty tape (clean drive, repeat) or a faulty backup ( ugh ).
    When you retry after cleaning, you can use -f (fillup) to save the restore from retrieving the files it allready got.
    Check the initSID.sap for the backup  & restore commands and esp. the bs= / ibs= / obs= options.
    Volker

  • Generating WSDL using wscompile???URGENT!!

    I am new to the wsdl and I am trying to use a rmi interface to generate a wsdl file and other server artifacts using wscompile. All of my files are in the trial directory.
    Config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="MonitorService"
    typeNamespace="\\monitor.org\nexgear.typ"
    targetNamespace="\\monitor.org\nexgear.wsdl"
    packageName="nexgear">
    <interface name="Monitor"
    servantName = "MonitorImpl"/>
    </service>
    </configuration>
    when I use wscompile -gen:server -cp . config.xml
    I get a few InvocationTargetException and after about 4-5 of these it reveals that it ic being caused be a NoClassDefFoundException Monitor wrong name (monitor/Monitor)
    The monitor/Monitor appears nowhere in my code and the monitor directory doesn't exist.
    If I leave out the classpath option I get a NoClassDefFoundException Monitor.
    I am building from my src directory and don't really know what I am doing wrong. Getting this to work makes a huge impact on my project ie. go no-go.

    I got this working this morning. The trick is in the file structure. When I got the error about class not found it gave me a weird naming that didn't exist in my file structure. Well after thinking about it and getting nowhere this naming was followed in my file structure and I got the WSDL.

  • Windows has detected a registry/configuration error

    I haven't used my Protege 3110CT in many years.  When I start to boot up I get the message:
    Warning: Windows has detected a registry/configuration error. Use SCANREG to correct this error.
    However, I cannot get into DOS to do a SCANREG nor do I know any other method.
    I do not have any of the startup disks.
    My machine has Windows ME on it.
    I do have an external floppy drive and CD drive.
    Any assistance is appreciated.
    Bob

    Portege 3110CT 
    You can download a bootable DOS floppy here.
       http://www.bootdisk.com/bootdisk.htm
    If you can locate a download of Scanreg.exe, then boot to DOS and run scanreg /restore to
    go back to a previous known working copy of your Windows Me registry.
    Maybe this one works (I don't know).
       http://www.mesich.com/download/SCANREG.EXE
    -Jerry

  • Web service deployment using generated wsdl

    Hi,
    As u know app server is generating the wsdl and mapping files in deployment time if you dont include these files in the archive.
    What i m trying to do is to use the pregenerated wsdl and mapping file in the archieve, i don't want app server to generate wsdl and mapping. I'm generating these files in build phase and placing them under META-INF folder of resulting jar file.
    And i expect oc4j to use these supplied files but it continues to generate and uses the generated.
    (I'm using wsa.jar to generate wsdl, mean i'm generating in oracle way, not other tool)
    (I dont want to use the auto generated wsdl cause i need to update them before deployment. Auto generated wsdl have data definition with object graphs which is not supported by document-literal message format. i will try to clean object graph dependencies in wsdl and deploy) Or shall i use Rpc-Encoded which supports object graphs??
    Thanks...

    it seems that it is hard to extract main question from the preview post. The question is that:
    how can i deploy web service for a stateless session bean annotated with @webService annotations with supplied wsdl and mapping file in the ejb jar file...
    (oc4j always generates a new wsdl,does;t use the one given in the jar)

  • Configuration Error 213:19 Adobe PhotoShop CC when sequenced using Microsoft App-V 5.0

    Does anyone out there have a Microsoft App-V 5.0 recipe for Adobe PhotoShop CC ?
    When I run the App-V package, I get the License Configuration Error 213:19
    Thank You. very much for your time.   Karl

    You will probably get better help in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Laptop crashed, moved HDD to another PC to use CS5 but it gives me a Configuration Error. Error:6

    Hi, My laptop containing Adobe CS5 recently crashed. I do not have the serial as this was activated at my school and they only do it once for everyone. What I did was to take the HDD out and put it onto my PC and try to use the application from there, a method which worked before on other applications, but when I wanted to load up dreamweaver and any other applications in the suite it failed to load and popped out the following message:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Configuration Error
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please uninstall and reinstall the product.
    If this problem still occurs, please contact Adobe technical support for help, and mention the error code shown at the bottom of the screen.
    Error:6
    http://www.adobe.com/support/
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Can anyone help me out? I don't have the serials nor the CD to reinstall so I'm practically stuck and I cant afford to buy the thing again.

    Adobe applications simply don't work that way. Installation puts software and configuration information not only in application-specific directories under \program files\, but also in system directories. As such, Adobe application installations are not portable.
    Unfortunately, in order to re-install your software, you will need to go back to your “school” for installation media and serial number information since the software was licensed through them and not directly via Adobe.
              - Dov

  • IP Configuration Error - IP address in use by another device

    My parents' have set up a wirless netwrok in their home but are experiencing a IP configuration error.
    They have Cable Broadband going into a cable modem. The modem is connected to a DLINK router via ethernet. The router has an ethernet connection to one computer (PC running Windows 2000) and an ethernet connection to a NETGEAR Wall-Plugged Ethernet Bridge XE102 which provides a wireless connection for an iMac G5 in another room.
    The PC and the iMac are able to connect to the Internet without any problems. However, my PowerBook can see the NETGEAR network but it can access the Internet through it. The following error message keeps popping up:
    IP Configuration Error
    192.168.0.100 in use by 00:13:46:6d:26:11, DHCP SErver 192.168.0.1.
    I read some previous posts that indicated it may be a problem with an IP address being assigned to a printer (and they do have an HP PSC connected by USB to the PC).
    I can't seem to figure out how to free up the IP address. I checked the router settings and it is configured to assign more than just two or three.
    Any ideas? Thanks in advanced.

    Have you tried resetting your router and reseting your cable modem this should Asign all new IP address to all of the Computers on the network.
    To reset your modem unplug it and leave it out for about 3 min and then replug it and the router should either have a reset button on it or from your computer you should be able to reset it.
    I think your going to need to change your IP address but try resetting everything first.
    see here.
    http://forums.livingwithstyle.com/archive/index.php/how-change-your-static-t1847 50p1.html
    Also this site will help if you change the PC's Address
    http://support.microsoft.com/default.aspx?scid=kb;en-us;308199&sd=tech

  • RC-50004: Fatal: Error occurred in ApplyDatabase:  Control file creation failed  Cannot execute configure of database using RapidClone

    dear associates,
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

    dear associates,
    can u please assist me how can over come this error or problem.
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

  • Receiver File Error while using Dynamic Configuration

    Hi All,
    My Scenario is from SAP IDOC --> PI --> FIle...
    In the mapping i have used the dynamic variable substitution for the receiver file....
    The Dyanamic file will be alwasy generated irrespective of the condition for the Mapping...
    Now Whenever SAP sends IDOC then file to be created . If the condition is met then there is no problem the file is being created...
    But if condition is not met then the error is being thrown in the Communication Channel...
    Error occurred while connecting to the FTP server "10.1.999.222:21": java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)'
    Note the payload has the dyanmic file generated....
    And when i tested the mapping by coping the payload then
    I am getting the target with empty ...but with MT_ProductMaster node...
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_ProductMaster xmlns:ns0="http://xyz/Ix_ProductMaster/WMS"></ns0:MT_ProductMaster>
    and the error i think bcz of this payload ... but i dont have any option to remove this .... because if condition not met then the root node always will be created...
    In CC File  Content conversion i have given like this
    Record setStructure  FileHeader,FileDetail,FileTrailer
    FileHeader.fieldSeparator |
    FileHeader.endSeparator |'nl'
    FileDetail.fieldSeparator |
    FileDetail.endSeparator |'nl'
    FileTrailer.fieldSeparator |
    FileTrailer.endSeparator |
    and my MT structure is
    MT_ProductMaster 1.1
    FileHeader  0...1
    FileDetail 0....unbounded
    FileTrailer 0...1
    Please help me on how to ignore the empty root node... do i need to handle something else???
    Regards,
    Sridhar Reddy

    Hey
    Record setStructure FileHeader,FileDetail,FileTrailer
    FileHeader.fieldSeparator |
    FileHeader.endSeparator |'nl'
    FileDetail.fieldSeparator |
    FileDetail.endSeparator |'nl'
    FileTrailer.fieldSeparator |
    FileTrailer.endSeparator |
    and my MT structure is
    MT_ProductMaster 1.1
    FileHeader 0...1
    FileDetail 0....unbounded
    FileTrailer 0...1
    of course you will get error in content conversion if file is missing any of the parameters expected by FCC.
    Right now the Content conversion is expecting several values in your payload(even if blank values) but you don't have any of them hence you get this error.
    If you want to deliver empty file,you need to map all the receiver side nodes to some default,so that it is populated to that default (could be blank) if no values are present,then when this comes to content conversion,it will assume the blank value as node and do correct conversion.
    If you dont have values in payload but have specified parameters for it on content conversion,then you will get errors as you mentioned in your first post.
    Thanks
    Aamir

  • I am using elements 11. I cannot open editor because configuration error occurs with message "errror 213:11". What happened? What can I do? Thanks a lot for your support.

    I am using elements 11 with Windows7. I cannot open editor because configuration error occurs with message "errror 213:11". What happened? What can I do? Thanks a lot for your support.

    See if this helps:
    Error "License store does not allow writing" | Install log | CS5, CS5.5

  • Getting Error in setting configuration of iPod using OS X Server Profile Manager

    We are getting error when we are trying to configure the iPods using Profile Manager. Please let me know what is causing for this kind of error. Please see in attachment.

    We have device groups, once the device have been enrolled we then move to a pre-configured profile which sets up items such as wifi, e-mail and passcpde etc all in one go, this has had mixed results, I've now setup profile groups for each item to give us more control over only given the user what they need instead on forcing everything, this resolved my item above but more testing is needed, the main issue has been trying to pass a pre-owned device to a new user as it seems to remember the pervious user in some cases, this is why I asked about if it was possible to delete device history.

  • Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    I've copied a .NET application from an older 2008 server running IIS 7.0.600.16386 to a newer 2008 R2 server running 7.5.7600.16385.  The .NET framework version is 4.0.30319.  I've setup an application pool and copied the wwwroot directory. 
    I've checked for nested web.config files and I've been reading a lot about converting the site to an application.  The older server running the application is still up and running and the configurations look identical.  If I convert the site to an
    application the icon changes and doesn't look like it does on the old server.  I'm new and still learning the basics of programming and publishing applications.  Can someone point me in the right direction?  I've been on google for a few days
    to no avail.  Thanks.
    Description:
    An error occurred during the processing of a configuration file required to
    service this request. Please review the specific error details below and modify
    your configuration file appropriately.
    Parser Error Message: It
    is an error to use a section registered as
    allowDefinition='MachineToApplication' beyond application level.  This error can
    be caused by a virtual directory not being configured as an application in IIS.
    Line 20:       <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
    Line 21:     </httpHandlers>
    Line 22:     <authentication mode="Forms">
    Line 23:       <forms cookieless="UseCookies" loginUrl="~/AccessDenied.aspx" protection="All" name="TVHRFORMAUTH" timeout="180" slidingExpiration="true" />
    Line 24:     </authentication>

    Hi,
    I agree with Tim that we can ask for better help in the following IIS forum.
    IIS.NET forum
    http://forums.iis.net/
    Best regards,
    Frank Shen

  • Cannot launch another application in Mac OS X 10.8 using NSWorkspace launchApplicationAtURL:options:configuration:error

    I am launching another app using NSWorkspace launchApplicationAtURL:options:configuration:error.
    The app is owned by root, has permission: rwx r-x r-x, and owned by root:wheel.
    The app is also located in /Applications folder (e.g. /Application/MyApp.app).
    According to the following link under the "Launching Helpers with Launch Services" section:http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSan dboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html
    I should be able to launch my app because the following condition is met:
    The app is installed in /Applications and the app bundle and all contents are owned by root.
    When launching the app, I get the following error:
    "The application “MyApp” could not be launched because it is corrupt."
    "The operation couldn’t be completed. (OSStatus error -10827.)"
    Which is, according to the same link, the error when none of the conditions have been met.
    Note that I am using Mac OS X 10.8. In Mac OS X 10.7.5, I don't encounter the same issue.
    Note also that I am trying to run the app "MyApp" inside a sandboxed application.
    I tried using 2 builds of "MyApp", but in both builds, the issue can be replicated:
    Code-signed (using a self-signed certificate)
    Not code-signed
    What seems to be the problem? Am I missing something?

    Yes, but it also says in the apple documentation that:
    A sandboxed app is allowed to launch a helper using Launch Services if at least one of these conditions has been met
    Even if I did not pass the condition:
    Both the app and helper pass the Gatekeeper assessment. By default that means both are signed by the Mac App Store or with a Developer ID.
    I am pretty sure that the following condition has been met:
    The app is installed in /Applications and the app bundle and all contents are owned by root.

  • How do I start using CS6 on MacBook Pro (yosemite)? I'm getting a configuration error 16 message

    I've used Carbon Copy Cloner to clone CS6 and lots of other Adobe programs onto a newer MacBook Pro (yosemite), and I'm getting a configuration error 16 message... tried making the Adobe PCD and the SLStore stuff "read & write" but no good. Any help would be great, thanks!

    uninstall everything cs6 and then run the cleaner -  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    then properly install your cs6 (do not clone/migrate/time machine/copy/etc) using the installation files.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

Maybe you are looking for

  • Clicking noise on new Mac Mini

    I got a new Mac Mini last month and noticed it makes a clicking noise quite frequently. It just started to really bug me, so I looked into it and found this site: http://mymacfixes.blogspot.com/2009/06/how-do-i-stop-clicking-noise-from-hard.ht ml whi

  • Solaris Adapter + sudo does not check path properly

    HI, I want to connect a solaris10 system. first i used a normal user and root working fine, now i want it to be configured with sudo. The user i try to use has as PATH /usr/bin:/usr/local/bin:/usr/sbin The needed commands for the adapter (useradd, us

  • Using union in tree

    dear sirs i use this code in tree but it give me error SELECT 1 NODE_STATE, LEVEL NODE_DEPTH, location_name NODE_LABEL, decode(level,1,'OPEN',' ') NODE_ICON, location_no NODE_VALUE FROM stk_locations where stk_no = :TRNH9.stk_no and (:v_trtype = 2) a

  • PO Condition value not flowing to GR

    Hello Sir, We have a custom PO COndition Type and Account Key for one of the costs on a material. Recently we had few examples, where the value in PO for that condition type is flowing, but the value is not flowing during GR. Any pointers on how i sh

  • Unopen to launch Dreamweaver (CS4) - error 0xc0150004

    Hi, I have a brand new computer and new Dreamweaver CDROM and it installs fine but when I click to load it it says: "The application failed to initialize properly (0xc0150004). Click OK to terminate this application." My computer is from Dell, I'm ru