WSDL type names generated by JDev 10.1.2 are prefixed by package name

Is there a way to prevent JDeveloper to prefix type names with package name? Example:
package a.test;
public interface TestWS {
public PublishType getType( String a) throws Exception;
When Web Service is generates using this interface, WSDL will have something like:
<complexType name="a_test_PublishType" jdev:packageName="a.test" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
Is there a setting to prevent this from happening?
Thanks,
Dejan

By default <c:out/> tag "escapes" the output, option escapeXml is implicitly true
To change this behaviour add the option: escapeXml="false"
In your case:
<c:out value="${bindings.InstituteDescription}" escapeXml="false"/>
Hope it helped.
Regards
Fred

Similar Messages

  • How to change the package name of Managed Bean class

    Hi: Gurus, when ever I create a new JSP page the Creator creates a code behind file with a package name untitled. Is there any way to change this package name? Can't the Creator gives us an option before genereating manged bean page to choose a package name? And then create the Java source directory structure on the basis of the pakcage name?
    Regards,
    Rashid.

    In the Project Navigator (default location is middle right), go to Java Sources, and you can rename the package ("untitled") to something else by right-clicking it or by left-clicking (just like Windows Explorer).
    I agree, though, that giving the developer an option during creation of the JSP page would be nice.

  • How to get JDeveloper to show package names?

    Hi all,
    Newbie question. I have Java classes organized in different packages, but in the left panel where the classes are shown, the package names are not shown to display which class belongs in which package. Is there an option I can set to get JDeveloper to show the package names? I'm using 9.0.3. Thanks.
    Henry

    There's a yellow button with 'Show categories' tooltip. This should work fine.

  • JDeveloper Addin - Get Package Name

    I'm creating a new Wizard addin for JDeveloper that basically does the same thing as creating a new java file, however it will create the JavaSourceNode with content from a template using my companies coding standards.
    My question / problem is that I can't figure out how to get the package name from JDeveloper to display in my JDialog similar to how creating a new java file works.
    When creaing a new java file, you can select a package and click new and the package name that displays in the dialog is that package name.
    Can any one suggest how to get the package name in the same manner that creating a new java file works?

    Here is the code that I came up with that I think fits with creating a new java file;
    public String getPackageName(Context context) {
    JProject jProject = (JProject)context.getProject();
    String packageName = null;
    // Get a selected element
    Element element = context.getElement();
    // If element is not NULL and is of instance of PackageFolder then
    // set the packageName to the selected package.
    if ((element != null) && (element instanceof PackageFolder)) {
    // Set the packageName to the package that was selected
    packageName = element.getShortLabel();
    } else {
    // If no package was selected then try to get the first package
    // entry of the <defaultPackages> element of the jpr. If there
    // are no packages then just use the default jpr package
    // name.
    if (!(jProject.getDefaultPackages().isEmpty())) {
    packageName = (String)jProject.getDefaultPackages().get(0);
    } else {
    packageName = jProject.getDefaultPackage();
    } // end if not empty
    } // end if
    return packageName;
    } // getPackageName
    The plugin that you suggested is very cool, but a little different that what I'm trying to do.

  • RFC function as a Web service - how to make wsdl type names unique

    Hello,
    We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.
    There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).
    The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.
    So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.
    It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.
    Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?
    Thanks.
    Sandra
    Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".

    Thanks.
    But the question is more about the fact that we may name a type as we want, SAP does not check (VAGResult in the screen capture below, which becomes <complexType name="VAGResult"... in the WSDL). It may be the same name as a type in another Web Service, both types may have completely different structures. It's a problem from a "philosophical" perspective, as these types share the same namespace "urn:sap-com:document:sap:rfc:functions"; the client software doesn't accept that, we have to rename it; I'd like to know whether SAP proposes a way to prevent choosing a name if it's already chosen for another type of different content.

  • Mapping namespace to generated package name (clientgen)

    Hello,
    We have a need to map the namespace of the generated bean artifacts from clientgen to a different package name. This could be done prior to weblogic 10 with the typePackageName attribute of clientgen but this is no longer supported in weblogic 10. Is there another way to do this? Note we cannot change the namespace of the webservice wsdl we are generating the client for.
    Thank you!
    Julia Allen

    Use the <binding> child element to specify one of the following:
    * For JAX-WS, one or more customization files that specify one or more of the following:
    o JAX-WS and JAXB custom binding declarations. For more information, see “Customizing XML Schema-to-Java Mapping Using Binding Declarations” in Getting Started With WebLogic Web Services Using JAX-WS.
    o SOAP handler files. For more information, see “Creating and Using SOAP Message Handlers” in Programming Advance Features of WebLogic Web Services Using JAX-WS.
    * For JAX-RPC, one or more XMLBeans configuration files, which by convention end in .xsdconfig. Use this element if your Web Service uses Apache XMLBeans data types as parameters or return values.
    The <binding> element is similar to the standard Ant <Fileset> element and has all the same attributes. See the Apache Ant documentation on the Fileset element for the full list of attributes you can specify.
    Note:      The <binding> element replaces the <xsdConfig> element, which is deprecated as of version 10.0 of WebLogic Server.
    See here for detail.

  • WSDL file not generated from wscompile using jwsdp-1.2.

    Hi,
    I used following config.xml file to generate the WSDL file.......but it didn't got genereted. Other artifacts got generated. I'm using jwsdp-1.2.
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="PersonWebService"
    typeNamespace="http://rahuls_person_service.org/type"
    targetNamespace="http://rahuls_person_service.org/wsdl"
    packageName="rahul.ws.test">
    <interface name="rahul.ws.test.PersonWS"
    servantName="rahul.ws.test.PersonWSImpl"/>
    </service>
    </configuration>
    And I have following entry in the build.xml file.........
    <target name="generate-server_wsdl" depends="prepare">
    <antcall target="edit-config">
    <param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
    </antcall>
    <wscompile
    keep="true"
    base="${samplesbuild}/${appname}/classes/server"
    xPrintStackTrace="true"
    gen="true"
    verbose="false"
    model="${samplesbuild}/${appname}/${model.rpcenc.file}"
    classpath="${compile.classpath}"
    config="${config.rpcenc.file}">
    <classpath>
    <path refid="compile.classpath"/>
    </classpath>
    </wscompile>
    <antcall target="unedit-config">
    <param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
    </antcall>
    </target>
    Can any body point me what may be the problem.
    thanks in advance.
    Rahul

    The following is from the jwsdp-1.1 tutorial at http://java.sun.com/webservices/docs/1.1/tutorial/doc/
    The tutorial for 1.2 is not available yet.
    Seems you need to modify your config.xml to have a <service> element.
    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.
    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>
    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" />

  • How to use the build file generated by Jdev to automate bpel deployment

    Hi everyone I am trying to deploy bpel jar files and human task ear files using ant. When i use the ant which is generated by Jdev I am gettinng an error
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
    Buildfile: build.xml
    deployTaskForm:
    BUILD FAILED
    C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:39: Could not create
    task or type of type: deployTaskForm.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'deployTaskForm'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.

    Ensure JDEV and SOA versions are in sync.

  • In the header file generated by javah, the package name is not in the funct

    and in the header file generated by javah, the package name is not in the function declaration:
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class VocalJNITest */
    #ifndef IncludedVocalJNITest
    #define IncludedVocalJNITest
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: VocalJNITest
    * Method: JNI_1myJNI
    * Signature: ()V
    JNIEXPORT void JNICALL Java_VocalJNITest_JNI_11myJNI (***please not there is no package name in it****)
    (JNIEnv *, jclass);
    #ifdef __cplusplus
    #endif
    #endif
    In the VocalJNITest.java file, I put package com.jni.test in it, why dose it not appear in the VocalJNITest.h file.

    it works,
    thanks alot, but java really confuses me, for example, if i run the app, i need to type the complete name java com/...../jnitest, in which the "/" is used instead of
    ". " like com.vocal.jnitest as the package name in the source file.
    but when using javah, i need to use ". " instead of "/";
    i tried com/vocal/jnitest, but failed so i post the question here.

  • I "reply"ed to an e-mail message. The next time when I chose to write a new message and type the first letter of the person I replied to earlier, that name and e-mail address appears as a choice included in a pop up list of my contacts.

    I "reply"ed to an e-mail message. The next time when I chose to write a new message and type the first letter of the person I replied to earlier, that name and e-mail address appears as a choice included in a pop up list of my contacts. The persons name is not in my contacts and I would like to delete it from popping up. Do you know how I can do this?

    The Mail app on the iPad/iPhone/iPod Touch does have an option to clear previous recipients. You can learn to live with it.  But if you want to get rid of it, the only way to remove these cached email addresses from the Mail application is restoring the iPhone/iPod Touch as a new phone/iPod.  If you restore from backup, the cache is also restored.
    This article shows you the screens you will see during the restore:  http://support.apple.com/kb/HT1414

  • Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    in OIM 11g R2
    Message was edited by: 2b3c0737-074f-48d0-a760-e24e3ed9a37c

  • A have new problem that has appeared in my Mac Mail.  When I type a frequently used email into the 'To: line' it populates the correct name but with 8 different email addresses not associated with that name.

    A have new problem that has appeared in my Mac Mail.  When I type a frequently used email into the 'To: line' it populates the correct name but with 8 different email addresses not associated with that name.  I have gone to the window pop-down to 'previous recipients' and deleted that addressee as well as all the email addresses it is assigning to that name.  I have also deleted the account entirely from my address book.  I have have run repair permissions and also full defrag in iDefrag.  Still the problem persists.  Any suggestions?

    Hello CarolineLongEaton,
    I noticed you posted this problem quite a while ago and wondered if you managed to have it fixed in an alternative way then posting here. It is too bad no one has posted a solution here. I have a similar problem and if you have had yours solved since this occurance how you accomplished it may help me with mine. I am interested to know what you have done about yours.
    If you are interested in comparing the problems to see if your solution (if you have found one) might help me also then here is the link to the discussion.
    https://discussions.apple.com/thread/6116927
    If your problem has not been solved then I will comment here again if/when my issue is resolved as it may help you too. My hope here is that we may help each other. To quote you "all ideas gratefuly recieved". I hope your problem was resolved, ernestly for your sake and selfishly for mine also. I wish you and yours a great day!
    dofromon

  • How to determine the RDT name generated by sdo_geor.init()?

    I've done the following in a stored procedure:
    insert into ... values(sdo_geor.init()) returning newcol into gr;
    Now, before I do anything with gr, I have to create the rdt whose name was generated by sdo_geor.init. How do I get that name? There doesn't seem to be a sdo_geor.get* procedure or function for returning this.
    What I'm trying to do is implement this example of using sdo_geor.copy, but without specifying an rdt in sdo_geor.init():
    DECLARE
    gr1 sdo_georaster;
    gr2 sdo_georaster;
    BEGIN
    INSERT INTO georaster_table VALUES (11, sdo_geor.init('RDT_11', 1))
    RETURNING georaster INTO gr2;
    SELECT georaster INTO gr1 from georaster_table WHERE georid=1;
    sdo_geor.copy(gr1, gr2);
    UPDATE georaster_table SET georaster=gr2 WHERE georid=11;
    COMMIT;
    END;
    Alternatively, is there a way to generate a unique RDT name myself so that I can specify it in the call to sdo_geor.init?
    Many thanks,
    Mike

    Mike,
    the RDT table name is in the georaster object (gr) you just created. It's an attribute of sdo_georaster object, i.e., gr.RASTERDATATABLE in your case.
    generally, automatically generating the RDT name thru sdo_geor.init is not recommended because that would generate an RDT for each GeoRaster object. An RDT table should be used to contain the raster blocks of many smaller GeoRaster objects while you devote a single RDT table for a huge GeoRaster object (an image with a size over tens of GB to many terabytes for example). Even though the RDT tables are internal to GeoRaster, the creation of the RDT table is done by users, which is intentional, so that you can fully leverage the configuration and tuning power of oracle database (for example, if ASM is not used, RDT tables may be created on different tablespaces so that the raster blocks are distributed to different disks to improve performance).
    to generate unique RDT names, you can leverage the SEQUENCE object to create sequence numbers and then attach them to a special table name you picked up.
    Regards,
    Jeffrey

  • Idoc types that generate the log files

    Hi All,
    Can anybody provide me the list of IDOC types that generated application log files.
    As I found that material master IDOCs generate log files. Is there IDOC types other
    than material master that generate log files.
    Regards,
    Azra.

    Hi Azra,
    You can tell whether an IDOC does create the application log from the function module it uses.
    Go to SE37, and type in IDOC_INPUT_<message_type> for inbound or IDOC_OUTPUT_<message_type> for outbound, and search for any function module which start with 'BAL_'. If you can find it, then it creates application log files.
    Regards,
    Lim...

  • Output type not generated after PO save.

    HI,
    While creating new PO, we are able to see the output type(ABC) before saving the PO. But after saving it, there isn't any output type (ABC) generated.
    I have maintained MN04 & WE20. Kindly advice.
    Best Regards,
    Kapil.

    1) Have you checked the T code WE21 (Ports in IDoc processing)
    is your IDoc port exist in WE21. the same port which you have assigned in WE20 (Partner type LI)
    2)in WE20, for Partner (Vendor )- check the partner status as "A"- active in classification tab
    Hope you have maintained "message type" in outbound parameters. where we assign the IDoc Port
    Thanks

Maybe you are looking for

  • Bugs in the REGULAR EXPRESSIONS ORACLE10g

    Hi.... In the next URL http://otn.oracle.com/oramag/webcolumns/2003/techarticles/rischert_regexp_pt1.html Have a next title Writing More Complex Patterns , and the code is : SELECT REGEXP_INSTR('Joe Smith, 10045 Berry Lane, San Joseph, CA 91234-1234'

  • How can i enable a column or field in table control

    hi all, i have a table control and in which some column is there, and all are disable mode now my requirement is : i want a column enable in this table control with a change button is there. so what is the functionality for this change button, if i c

  • Billing document number

    hi, our client wants billing document number and accounting number both are same.is there any possibility to get same numbers could any body help inthis matter

  • How to customize the title bar on my own Look And Feel?

    Hi all! I am creating my own Look and Feel which extends from NimbusLookAndFeel. What I'm doing is overwriting UIDefaults values??, referring to the Painters. For example: +uiDefault.put ("Button [Enabled]", new ButtonEnabledPainter());+ But now I ne

  • Log4j And Tomcat

    Hi, I'm trying to get log4j to work with tomcat, but for some reason none of the logs get written to the logfile. I have a logfile containing:      <appender name="apachelog" class="org.apache.log4j.FileAppender">           <param name="File" value="