Documentation for wscompile?

I finally got around to updating to jwsdp-1_0_01 and was surprised to find that xrpcc was replaced by wscompile in many build.xml files. Except for a few very general remarks in the Tutorial, I can't find any documentation for wscompile at all (Google returns only 4 pages for "wscompile"!).
Is xrpcc deprecated? (When my old build.xml runs xrpcc, it gives a warning that "sun.tools.javac.Main is deprecated".) Is there a man page, etc., for wscompile?
Thanks,
Mike

Oops, the format of my last message got munged. Here's anoter try:
Date: 28 Aug 2002
Title: The JAX-RPC wscompile and wsdeploy Tools
1 The wscompile Tool
The wscompile tool generates stubs, ties, serializers,
and WSDL files used in JAX-RPC clients and services.
The tool reads as input a configuration file and either
a WSDL file or an RMI interface that defines the service.
1.1 Syntax
wscompile [options] <configuration-file>
By convention, the configuration file is named config.xml,
but this is not a requirement.
The following table lists the wscompile options.
Note that exactly one of the -import, -define,
or -gen options must be specified.
  Option                    Description
  -classpath <path>         specify where to find input class files
  -cp <path>                same as -classpath <path>
  -d <directory>            specify where to place generated output files
  -define                   read the service's RMI interface,
                            define a service
  -f:<features>             enable the given features (See the below
                            table for a list of features.  When
                            specifying multiple features, separate
                            them with commas.)
  -features:<features>      same as -f:<features>
  -g                        generate debugging info
  -gen                      same as -gen:client
  -gen:client               generate client artifacts (stubs, etc.)
  -gen:server               generate server artifacts (ties, etc.) and
                            the WSDL file (If you are using wsdeploy
                            you do not specify this option.)
  -gen:both                 generate both client and server artifacts
  -httpproxy:<host>:<port>  specify a HTTP proxy server (port defaults to 8080)
  -import                   read a WSDL file, generate the service's RMI
                            interface and a template of the class that
                            implements the interface
  -keep                     keep generated files
  -model <file>             write the internal model to the given file
  -nd <directory>           specify where to place non-class generated files
  -O                        optimize generated code
  -s <directory>            specify where to place generated source files
  -verbose                  output messages about what the compiler is doing
  -version                  print version information
The following table lists the features (delimited by commas) that
may follow the -f option.
  Feature                   Description
  datahandleronly           always map attachments to the DataHandler type
  explicitcontext           turn on explicit service context mapping
  infix=<name>              specify an infix to use for generated serializers
  nodatabinding             turn off data binding for literal encoding
  noencodedtypes            turn off encoding type information
  nomultirefs               turn off support for multiple references
  novalidation              turn off full validation of imported WSDL documents
  searchschema              search schema aggressively for subtypes
  serializeinterfaces       turn on direct serialization of interface types
1.2 Configuration File
The wscompile tool reads the configuration file (config.xml),
which contains information that describes the web service.
The basic structure of config.xml follows:
<?xml version="1.0" encoding="UTF-8"?>
<configuration 
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
   <service> or <wsdl> or <modelfile>
</configuration>
The <configuration> element may contain exactly one
<service>, <wsdl>, or <modelfile> element.
1.2.1 The <service> Element
If you specify this element, wscompile reads the
RMI interface that describes the service and
generates a WSDL file.
In the <interface> subelement, the name attribute specifies the
service's RMI interface, and
the servantName attribute specifies the class that implements
the interface.
For example:
<service name="CollectionIF_Service"
         targetNamespace="http://echoservice.org/wsdl"
         typeNamespace="http://echoservice.org/types"
         packageName="stub_tie_generator_test">
     <interface name="stub_tie_generator_test.CollectionIF"
      servantName="stub_tie_generator_test.CollectionImpl"/>
</service>
1.2.2 The <wsdl> Element
If you specify this element, wscompile
reads the service's WSDL file and generates
the service's RMI interface.
The location attribute specifies the URL of the WSDL
file, and the packageName attribute specifies
the package of the classes generated by wscompile.
For example:
<wsdl    
    location="http://tempuri.org/sample.wsdl"
    packageName="org.tempuri.sample" />
1.2.3 The <modelfile> Element
This element is for advanced users.
If config.xml contains a <service> or <wsdl> element,
wscompile generates a model file that
contains the internal data structures that describe
the service.
If you've already generated a model file in
this manner, then you can reuse it the
next time you run wscompile.  For example:
<modelfile location="mymodel.xml.gz"/>
2.0 The wsdeploy Tool
The wsdeploy tool reads a WAR file and the jaxrpc-ri.xml
file and then generates another WAR file that is ready for
deployment.
Behind the scenes, wsdeploy runs wscompile with the -gen:server option.
The wscompile command generates classes and a
WSDL file which wsdeploy includes
in the generated WAR file.
2.1 Syntax
The syntax for wsdeploy follows:
wsdeploy <options> <input-war-file>
The following table lists the tool's options.
Note that the -o option is required.
  Option                    Description
  -classpath <path>         specify an optional classpath
  -keep                     keep temporary files
  -o <output-war-file>      specify where to place the generated war file
  -tmpdir <directory>       specify the temporary directory to use
  -verbose                  output messages about what the compiler is doing
  -version                  print version information
2.2 The Input WAR File
Typically, you create the input WAR file with a
development tool or with the ant war task.
Here are the contents of a simple input WAR file:
META-INF/MANIFEST.MF
WEB-INF/classes/hello/HelloIF.class
WEB-INF/classes/hello/HelloImpl.class
WEB-INF/jaxrpc-ri.xml
WEB-INF/web.xml
In this example, HelloIF is the service's RMI interface
and HelloImpl is the class that implements the interface.
The web.xml file is the deployment descriptor of a
web component.  The jaxrpc-ri.xml file is described
in the next section.
2.2.2 The jaxrpc-ri.xml File
The listing that follows shows a jaxrpc-ri.xml file
for a simple HelloWorld service.
<?xml version="1.0" encoding="UTF-8"?>
<webServices
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
    version="1.0"
    targetNamespaceBase="http://com.test/wsdl"
    typeNamespaceBase="http://com.test/types"
    urlPatternBase="/ws">
    <endpoint
        name="MyHello"
        displayName="HelloWorld Service"
        description="A simple web service" 
        interface="hello.HelloIF"  
        implementation="hello.HelloImpl"/> 
    <endpointMapping
        endpointName="MyHello"
        urlPattern="/hello"/>
</webServices>
The <webServices> element must contain one or more <endpoint>
elements.  In this example, note that the interface and
implementation attributes of <endpoint> specify the
service's interface and implementation class.
The <endpointMapping> element associates the service
port with an element of the endpoint URL path
that follows the urlPatternBase.
3 Advanced Topics
This section is for developers who are familiar with
WSDL, SOAP, and the JAX-RPC specifications.
3.1 Namespace Mappings
Here is a schema type name example:
schemaType="ns1:SampleType"
xmlns:ns1="http://echoservice.org/types"
When generating a Java type from a schema type,
wscompile gets the class name from the local part of
the schema type name.
To specify the package name of the generated
Java classes, you define a mapping between
the schema type namespace and the package name.
You define this mapping by adding a <namespaceMappingRegistry>
element to the config.xml file.  For example:
<service>
    <namespaceMappingRegistry>
            <namespaceMapping            
            namespace="http://echoservice.org/types"
            packageName="echoservice.org.types"/>
     </namespaceMappingRegistry>
</service>
3.5 Handlers
A handler accesses a
SOAP message that represents
an RPC request or response.
A handler class must implement
the javax.xml.rpc.handler interface.
Because it accesses a SOAP message,
a handler can manipulate the message with
the APIs of the javax.xml.soap package.
Examples of handler tasks:
* Encryption and decryption
* Logging and auditing
* Caching
* Application-specific SOAP header processing
A handler chain is a list of handlers.
You may specify one handler chain for the client
and one for the server.
On the client, you include the <handlerChains> element
in the jaxrpc-ri.xml file.  On the server, you
include this element in the config.xml file.
Here is an example of the <handlerChains> element
in config.xml:
<handlerChains>
  <chain runAt="server"
     roles=
      "http://acme.org/auditing 
       http://acme.org/morphing"
       xmlns:ns1="http://foo/foo-1">
    <handler className="acme.MyHandler"
      headers ="ns1:foo ns1:bar"/>
      <property 
        name="property" value="xyz"/>
    </handler>
  </chain>
</handlerChains>
For more information on handlers, see the SOAP Message Handlers chapter
of the JAX-RPC specifications.

Similar Messages

  • Documentation for ant task wscompile ??

    Is there any documentation for the ant task wscompile? In the HelloWorld example, the task is mapped to this class:
    com.sun.xml.rpc.tools.ant.Wscompile

    I do not know if any documentation exists but I have generated some for my own use. You are welcome to it and please let me know of any inaccuracies :)
    Attribute : Description => Required
    classpath : Specify where to find input class files. => Yes.
    base : Specify where to place generated output files. => No; defaults to present directory.
    define : Defines a service using the Java classes. => No, but exactly one of the import, define, or client attributes must be specified.
    features : Enable the given features. => No; Features should be specified seperated by a space character.
    debug : Generate debugging info. => No; defaults to false.
    both : Generate both client and server artifacts (ties, etc.) => No; defaults to false.
    client : Generate client artifacts (stubs, etc.). => No, but exactly one of the import, define, or client attributes must be specified.
    server : Generate server artifacts (ties, etc.). => No; defaults to false.
    source : Generate code for the specified JAXRPC SI version. Supported values are: 1.0.1, 1.0.3 and 1.1 => No; defaults to 1.1
    proxyServer : URL of the proxy server including hostname and port. => No; defaults to localhost:8080.
    import : Generate interfaces and value types only. => No, but exactly one of the import, define, or client attributes must be specified.
    keep : Keep generated files. => No; defaults to true.
    mapping : Write the 109 mapping file to the given file. => No.
    model : Write the internal model to the given file. => Yes.
    nonClassDir : Specify where to place non-class generated files. => No; defaults to present directory.
    optimize : Optimize generated code => No; defaults to false.
    config : Configuration file for generating webservice. => Yes.
    sourceBase : Directory for storing the generated source files. => No; defaults to present directory.
    verbose : Output messages about what the compiler is doing. => No; defaults to false.
    version : Prints version information. => No; defaults to false.
    xPrintStackTrace : Prints stack trace of the errors. => No; defaults to false.
    xSerializable : Generate value types that implement Serializable interface. => No; defaults to false.
    xDebugModel : Write readable version of the model to a file. => No.

  • Goods Issue Documentation for Text (Non-stock) Items

    Hi all,
    I have a business requirement to provide some form of shipping documentation for text (non-stock) items.
    The business do not want to create material masters (NLAGs) for these items as they are different/one off purchases.
    The purchase the goods and receipt with account assignment to a cost center or internal order, then sit on the inventory and send it out to customers along with real stock items.
    Any ideas on how I can provide some kind of supporting documentation, whether that is a delivery note, or just a simple GI Slip?
    Thanks,
    Mark.

    So they want to purchase items that they don't create materials for/don't get stocked yet want to include those items that don't really 'exist' in SAP on some for of documentation.
    If these items go with real Deliveries then why not add them as text items to the Delivery ?

  • How do I access compacted mail on a Mac version 10.5.8 stuck with Thunderbird version 16.0.2 ? I am unable to access needed documentation for Taxes, etc

    How do I access compacted mail on a Mac version 10.5.8 stuck with Thunderbird version 16.0.2 ? I am unable to access needed documentation for Taxes, etc

    Where in the world did you read Deleting All My Mail? I have reread my answer several times and cannot seem to find that in there.
    When you mark a message for deletion it does just that. It marks it for deletion and hides the message. It is not truly deleted until you compact.
    My point is that unless you deleted your important mail they should still be there somewhere.
    Your question was about compacting and thinking it put your messages in a nice little box for safe keeping and now you want to open it.
    I have to agree that Thunderbird did a horrible job of naming this process because most are like you and do not understand what it actually does. I included the link to the explanation of what compacting means in the Thunderbird world.
    Your messages may still be available to your but finding them has nothing to do with compacting.
    Thunderbird does not archive anything unless you use that process by selecting the message and pressing a. You have the option to setup where you want that archive to go and what folders to make.
    The All Mail folder is a goofy gmail arrangement. If you have problems with that then you need to address that with Google.
    If you go into your gmail account on the gmail site do you see the messages you are hunting in the All Mail folder there?

  • CS5 RAW Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw. Please visit the Camera Raw help documentation for additional information.

    I rented a Nikon D600 & D610 and CS5 cannot open the RAW files, i do not have any issued with my D700 RAW files. I am getting this error message -
    Could not complete your request because the file appears to be from a camera model which is not supported by the installed version of Camera Raw.
    Please visit the Camera Raw help documentation for additional information.
    Can anyone please help?

    yellowmledbetter wrote:
    Sorry, I am on a MAC. I downloaded the link you provided and it's giving the same error message as above. Running CS5.
    The error message you gave is from Camera Raw. I thought you said that DNG Converter didn't work?
    The link I gave you is an article on getting your raw files to open in Camera Raw. Did you read it? I lazily gave you the link because this is one of the most common problems in this forum, and I get tired of saying the same thing over and over again. I could break it down for your specific case, but I was hoping you could read through the article and work it out for yourself.
    But, here goes:
    Your cameras are newer than your raw converter, so it won't understand them.
    CS5 comes with Camera Raw 6, which can only be upgraded as far as 6.7.1. You can find out which version of Camera Raw you are running in three ways: in the settings title bar (Cmd-K), in the plug-in title bar (press F to start/stop full-screen mode to reveal the title bar), or Photoshop's Help menu (About Plug-ins).
    Downloading raw files from newer Nikon cameras with old versions of Nikon Transfer will actually make them unreadable in Adobe software. They can be fixed with a free utility. Again, it's all in the linked article. You should be using up-to-date Nikon Transfer, or Adobe Photodownloader to avoid this problem.
    All being well, you have good raw files on your computer. You can convert them to dng using Adobe DNG Converter. IF you are on OSX Leopard or Snow Leopard, you CAN'T use the latest version, because Adobe stopped support. But, if you ARE on a later OSX, you can download DNG Converter 8.6.
    DNG Converter is designed to convert FOLDERS of raw files at a time. You select a folder of raw files, and tell it to create DNG copies. BUT, you have to set up the converter before you start using it...
    If you load up DNG Converter, you'll notice a button labelled "Change Preferences". Clicking this, you'll see the first option is "Compatibility". Here, you must select the appropriate setting for the version of Camera Raw you HAVE (see above). If you can't work this out, just pick "Camera Raw 5.4 and later". THEN pick a folder of raw files and convert them to DNGs.
    All the above is already in the article, but I gave you a personalised response. If you still can't get it to work, please give us more than one sentence. Tell us exactly what you tried, and describe exactly what happened. Which version of OSX you're running, what device and software you downloaded your raw files with, how you used DNG Converter, and so on.
    I really should be in bed.

  • Documentation for Business Content Rapid Marts Reports for SAP R/3

    Hi,
    As we have technical documentation for SAP BI business content BI reports on SAP HELP Portal,
    is there any link where we can find the technical documentation for business content reports supported by SAP BOBJ Rapid marts for R/3 solution like for HR module.
    I would like to know what kind of reports are available as a part of rapid mart business content and what are the measures ( key figures ), dimensions ( characteristics ) supported by each of these standard business content rapid mart reports.
    I have referred business guide and user guide for HR rapid marts but they just give an overview of what analysis can be done.But there is no technical documentation for each of the possible rapid mart reports.
    Thanks,
    Tarun Brijwani.
    Edited by: Tarun Brijwani on Feb 10, 2011 4:00 PM

    Tarun,
    Please share if you got some help on your post.

  • Where can I find Documentation for Oracle financial installation

    Hi
    Where can I find Documentation for Oracle financial
    installation as which all modules to be downloaded for linuk server etc
    here is what I have found
    ===================================
    Oracle9i Application Server, Version 1.0.2.2.2 CD Pack for Linux x86 [Act as Server][to be installed on main linux server]
    ===================================
    Oracle® Applications 11i Release 9 CD Pack for Linux x86     [Act as client][to be installed on client sean,AJ,Vinod]
    ===================================
    Internet Developer Suite (1.0.2.4.1) CD Pack (with iAS Pack) for Microsoft Windows (32-bit)
    ===================================

    user11872870 wrote:
    Hi Tubby,
    http://www.quest.com/documents/list.aspx?SearchOff=true&ContentTypeID=20&prod=1
    This link has many pdf files but none has the useful information. Those pdf's are just 2 or 3 pages each.Sad Christmas for you then i suppose.
    Perhaps you could contact the vendor (quest) and get them to help you in your search for whatever it is you're looking for. An Oracle SQL and PL/SQL forum is not the venue for this, please mark the question as answered, and good luck in your search.

  • ABAP/4 Keywords for all SAP R/3 Versions with Delta Documentation for abap

    Hello Experts,
          Do please provide me with the way to find out the Delta Documentations for ABAP for all version of SAP R/3 starting from 3.0 to 6.0
    points will be awarded if helpful.
    Thanks in Advance

    Log on to SAP.  Use transaction ABAP_DOCU.  Click on Keyword Help.  Don't enter an ABAP keyword, press cont. button.
    In the window that opens, in the tree on the left handside, you'll see ABAP Changes By Release.
    This contains all the information you need.
    matt

  • How to create a documentation for Badi?

    Hi All,
    how to create a documentation for Badi?
    This step is requested in the OSS note, but not explained how to perform it...
    Thanks and regards,
    Alex.

    Hi All,
    solved. created in SE18
    I noticed, that it is also possible to create such documentation in SE61 *** well,
    Document Class  Implementation Guide chapter (SIMG)
    Chapter   SIMG
    Also the translation of documentation could be done in such way:
    SE63--->Translation--->ABAP OBjects--->Transport object:
    R3TR DSYS SIMGbadi_name_goes_here
    Regards,
    Alex

  • I can't find documentation for this app

    Hello,
    Where is the documentation for GarageBand for iOS? I installed it on my iPod, but the interface is confusing, so I need to find the right manual. All the manuals for GB on the Apple manuals page seem to be for desktops and laptops, etc.
    I know there are help files, but I do not have a wireless account so I can't access the Internet from my iPod.
    Any suggestions? Thank you!

    And here is a link to the iPhone/iPod version of the online help:
    http://help.apple.com/garageband/iphone/1.3/index.html
    Download the pages on a computer, that has internet and print them to pdf, then combine them to one pdf document and sync that document as an iBook to your iPod using iTunes.
    You may want to use the Send feedback. link to let Apple know that a pdf version of the Help is needed.

  • Is there any documentation for iBooks Author.

    Is there any documentation for iBooks Author.

    Apple has a FAQ article at: support.apple.com/kb/HT5071
    You can also go here for information: www.apple.com/support/mac-apps/ibooksauthor/
    Google also has a lot of third party information with a simple search.
    And of course you can always to to the iBooks Author forum here on Apple Support Communities. The link for that is here: discussions.apple.com/community/ibooks/ibooks_author

  • How to create documentation for report programs and how to use it

    how to create documentation for report programs and how to use it in the selection screen by placing an icon in the Applicatin Tool bar. If i click this icon the help documentation has to display.
      Note: Exaple <b>RSTXSCRP</b> programs selection screen

    Hi
    1 goto SE38 transaction, give the program name
    2 Click on documentation radiobutton & then press change
    3 Write your PURPOSE, PREREQUISITES etc details
    4 Save the same & Activae it.
    The icon will come automatically on selection screen
    Thanks
    Sandeep
    Reward if useful

  • Documentation for PostProcessingPluginHelper

    Does documentation for the PostProcessingPluginHelper class exist?  I have not been able to find it in the Java SDK docs.  I'm trying to determine the arguments to the PostProcessingPluginHelper.createInfoObject(...) method.  My objective is to add a dynamically generated Word document to the artifacts to be delivered by the publication.
    Thanks!
    -m

    The question about the documentation still stands, but as far as adding word documents, there is a comparable example in the developer guide.
    At the bottom of the "handle" method in the post processing plugin, use the following code to add a word doc:
    File addedFile = new File(tmpDir + "\\MyFile.doc");
    IWord addedFileInfoObject =
        (IWord)PostProcessingPluginHelper.createInfoObject(context, CeProgID.WORD, "application/msword", null, null);
    addedFileInfoObject.getFiles().addFile(addedFile);
    // return the list of info object artifacts that should be delivered by the publication
    IInfoObjects newInfoObjects = context.getInfoStore().newInfoObjectCollection();
    newInfoObjects.add(addedFileInfoObject);
    return newInfoObjects;

  • Documentation for SalesCloud and Rightnow integration.?

    Documentation for SalesCloud and Rightnow integration

    Unfortunately I could not find any references for such documentation. You may want to contact support to see if they have had similar questions.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Documentation for Adobe Design Standard v6

    installation and documentation for Adobe Design Standard v6

    And exactly what is it that you are asking? You need to speak in comprehensible sentences rather than regurgitating bullet points....
    Mylenium

Maybe you are looking for

  • Can't open HFS file in XP

    I recently replaced my Macbook Pro 5,1 (late 2008) hard drive with a larger one, cloning the old Mac HFS partition and reinstalling XP SP3 (Winclone couldn't do it) on the NTFS/NTFS-3g partition. Reinstalled Boot Camp Assistant up to v3.2-32 bit (App

  • Help! My MacBook air can't connect to the Internet

    My MacBook air is connecting to my home wifi but somehow suddenly it just can't connect to the Internet! So I'm having an exclamation mark on the wifi fan...... And my iPhone and iPod are connecting to the Internet perfectly well using the same wifi.

  • Integration between HR and FM derivation

    Hi, Does anyone know how not to integrate HR with FM?  Currently, when we try to execute a HR transaction, for e.g., PR05 for travel expense claims, the system prompts for a Fund Center to be derived.  How do I deactivate this?  I did not configure a

  • InDesign CS5, unklare Schrift

    Ich habe in InDesign CS5 schwarze Schrift auf rotem Hintergrund. Nun wird beim Ausdruck und beim pdf die schwarze Schrift ca. mit 0.5 mm weiss um die Buchstaben ausgedruckt, was ein sehr unsauberes Schriftbild gibt. Ich habe aber keinen Textschatten

  • Travelling how best to bring pictures from laptop

    I have lightroom on a laptop and desktop syst em. Wondering about best way to bring the pictures I take while travelling to desktop system without losing lightroom data. On both computers I keep photographs in folders by date. In past I have simply c