JAX-WS generated WSDL uses xsd:import and no option to inline schemas

Is it possible to configure JAX-WS 2.0/2.1 so that when generating WSDL at runtime it will inline the schema definitions instead of using the <xsd:import> method? Unfortunately, some clients (Adobe Flex, for example) do NOT know how to process schema imports. I realize that Adobe (and others) should fix the problem on their end and become fully spec compliant, but the cold reality is that they are not.
Any advice, suggestions, or solutions would be greatly appreciated.
Regards,
Todd

You should post this question either to the JAXB 2.0 and JAX-WS 2.0 forum (http://forums.java.net/jive/forum.jspa?forumID=46) or the JAX-WS dev mailing list ([email protected]) so that the team is aware of the issue.
That functionality currently does not exist. The only work around that I am aware of is to generate the WSDL before deployment and rearrange it as necessary.

Similar Messages

  • Autotype support for xsd import and xsd include statement

    Hi,
    I am using Weblogic 7.0.1. While using autotype for a Schema, I get the error unable to resolve element ref: "qb:WireCenterCLLI. This element exists in an xsd imported in the main XSD which in turn includes a few XSD's. I saw few posts which indicated there were issues with autotype recognising xsd:import and xsd:include statements. Were these issues fixed? If so, what SP were they fixed in?
    My XSD:
    <?xml version = "1.0" encoding = "UTF-8"?>
    <xsd:schema xmlns = "http://www.qwest.com/XMLSchema"
    targetNamespace = "http://www.qwest.com/XMLSchema"
    xmlns:qb = "http://www.qwest.com/XMLSchema/BIM"
    xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
    elementFormDefault = "qualified">
    <xsd:import namespace = "http://www.qwest.com/XMLSchema/BIM" schemaLocation = "/u/skarani/sia_code/xsd/ProjectSpecific/SIA/BIM/AddressValidationInclude_v01_00.xsd"/>
    <xsd:include schemaLocation = "/u/skarani/sia_code/xsd/ProjectSpecific/SIA/Common/AddressValidationCommon_v01_00.xsd"/>
    <xsd:include schemaLocation = "/u/skarani/sia_code/xsd/ProjectSpecific/SIA/Common/RequestMessage_v02_01.xsd"/>
    <xsd:element name = "AddressValidationByServiceIdRequest">
    <xsd:complexType>
    <xsd:complexContent>
    <xsd:extension base = "WebServiceRequestT">
    <xsd:sequence>
    <xsd:element name = "InputData" type = "AddressValidationByServiceIdInputDataT">
    </xsd:element>
    </xsd:sequence>
    </xsd:extension>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name = "AddressValidationByServiceIdInputDataT">
    <xsd:sequence>
    <xsd:element ref = "qb:WireCenterCLLI" minOccurs = "0"/>
    <xsd:element ref = "qb:WireCenterPrimaryNPANXX" minOccurs = "0"/>
    <xsd:element ref = "AdministrativeArea" minOccurs = "0"/>
    <xsd:element ref = "qb:PostalCode" minOccurs = "0"/>
    <xsd:element ref = "qb:BTN"/>
    <xsd:element name = "ParsedAddressFlag" type = "xsd:boolean" minOccurs = "0">
    </xsd:element>
    <xsd:element ref = "qb:CCNA" minOccurs = "0"/>
    <xsd:element name = "CompanyCode" type = "xsd:string" minOccurs = "0">
    </xsd:element>
    <xsd:element ref = "AssignedHouseNumberFlag" minOccurs = "0"/>
    <xsd:element ref = "GSGRqmtFlag" minOccurs = "0"/>
    <xsd:element ref = "TNStatus" minOccurs = "0"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Thanks
    Shekhar

    Hmmmm.... No answers!!!
    Has anyone had success using autotype with an xsd having include and import statements???
    Thanks
    Shekhar

  • Use of Import and Export script

    Hi,
    Can any one tel me what is the use of Import and Export script.
    After moving the pages from / into server what is the need of giving the import / export command.
    export /oracle/apps/ap/setup/webui/customizations/site/0/SetupPG -rootdir <destination path> -username <data base user name> -password <data base password> -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =<hostname> (port = <port id>)))(connect_data = (sid = <sid>)))".
    Thanks in Advance,
    Jegan

    And Export/Import is also used to move personalizations and substitutions from one system to another system.
    You can also use Functional administrator UI to export and import pages.
    Functional administrator in turn uses export/import internally.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is it possible to break an edit into small scenes, and then sew them together, but without losing quality by using the 'publish and share' options?

    Is it possible to break an edit into small scenes, and then sew them together, but without losing quality by using the 'publish and share' options?

    redflashred
    What is important here is that you know the properties of your source file(s), set the project preset to match the properties of those source files, and then export with settings as close as possible to the original. Often you can do this without noticing quality differences in the export.
    I am understanding and defining your issue as you wanting to maintain the quality of the original imported files in the export. If that is the case, the please supply the following, and I will give you a step by step
    a. What are the properties of your source files (including bitrate). Here I am looking for
    video compression
    audio compression
    frame size
    frame rate
    interlaced or progressive
    pixel aspect ratio
    file extension
    A quick way to get that type of information is knowing the brand/model/settings for the camera that recorded the video.
    2. Based on that information we can set manually a project preset to match those source property.
    3. When we go to export...example Publish+Share/Computer/ and your choice and its preset, we can customize the preset selected
    under the Advanced Button/Video Tab and Audio Tab of that preset in order to try for the best possible match between the properties of the
    original file and the properties of the export.
    But, please let us know if you also need help in trimming the original import at the Timeline level prior to export.
    Your mention of Publish+Share suggest that you are working with Premiere Elements 11, 12, or 13. What is the computer operating system?
    Thanks.
    ATR

  • Generating WSDL using Integration Directory (Tools-Define Web Service)

    Hi,
    I have tested the "Define Web Service" tool in Integration Directory - some question;
    1) It's a little bit frustrating to change the URL after clicking the "Propose URL" button - is it possible to configure somewhere the right URL
    http://<srv>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<cchannel>
    2) The generated WSDL is not according to the basic profile for WSDLs - wrong encoding="ISO-8859-1" - supposed to be "UTF-8"|"UTF-16" - is it possible to configure how the WSDL is generated?
    I'm not sure, but I think there is a issue related to the type of binding for a binding.
    3) A web service can consists of several methods - is there a tool for generating a WSDL for several interfaces?
    It's "boring" to manually copy-paste from several generated WSDLs to one main WSDL for a web service
    Anyway, by using XMLSpy and SoapScope, everything works just fine

    a single data type will refer to multiple data types data.
    You can refer one Data type in other Data Type but it wont be available under a  different root node.....the root node will the the DT name under which you are referring the other DTs......you can do this by:
    DT --> Give the appropriate name to a node --> While selecting the Type for this node select Data types --> select the DT from the list available....for this you should first include all the schemas in IR i.e. you should first create individual DTs by importing the schema (DT --> XSD --> Import Data Type Definition from File)
    You have a huge list of schemas!
    Regards,
    Abhishek.

  • Problem Import WSDL with XSD import Schema

    Hi SCN, i have problem
    I have a WSDL that references an xsd, but the structure is not visible in PI.
       <wsdl:types>
          <xsd:schema targetNamespace="http://tempuri.org/Imports">
             <xsd:import schemaLocation="http://bilbolab****.net/ServiceItemHO.svc?xsd=xsd0" namespace="http://tempuri.org/" />
             <xsd:import schemaLocation="http://bilbolab.****.net/ServiceItemHO.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
             <xsd:import schemaLocation="http://bilbolab.*****.net/ServiceItemHO.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ItemHO.BO" />
          </xsd:schema>
       </wsdl:types>
       <wsdl:message name="iVistaHO_AddItemHO_InputMessage">
          <wsdl:part name="parameters" element="tns:AddItemHO" />
       </wsdl:message>
    WSDL works well using SoapUI.
    When imported to PI parameters is not displayed
    I Need Help
    Thank you.

    Hi, Dihiansan. I don't understand your proposal
    I need you see the structure in PI how in SoapUI.
    It is possible?
    Regards

  • Missing dependant files in generated WSDL using jwsc task

    Hi,
    I’m using weblogic 12.1 ant task jwsc to generate the artifacts to create weblogic web service. Following is my JWS file
    @WebService(name="HelloWorld", serviceName="HelloWorld",
    targetNamespace="http://example.org")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
                  use=SOAPBinding.Use.LITERAL,
                  parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    @WLHttpTransport(contextPath="HelloWorld", serviceUri="HelloWorldSvc",
                      portName="HelloWorldPort")
    public class HelloWorld{
    @WebMethod()
    public ServiceResponse sayHello(){
    Employee emp=new Employee();
    emp.setName(“Alex”);
    System.out.println(“Hello ”+emp.getName());
    return new ServiceResponse(emp);
    public class ServiceResponse{
    private Object responseObject;
    public ServiceResponse(Object responseObejct){
    this.responseObject=responseObject;
    //getters and setters of response object
    My webMethod sayHello() uses Employee class . After executing jwsc task, the generated WSDL doesn’t contain any reference related to Employee class. If I use clientgen ant task to generate client artifacts from WSDL (generated from jwsc task), client jar will not have Employee class (since WSDL doesn’t have the user-defined class Employee).
    If I try to access the application, it’s throwing NoClassDefFoundError for Employee class.(unknown java type:Employee)
    Ant script :
    <jwsc
           srcdir="src"
           destdir="${dist}">
          <jws file="com/examples/webservices/HelloWorld.java" />
        </jwsc>
    Ant task to generate client artifacts:
    <clientgen
                   wsdl="http://localhost:7001/HelloWorld/HelloWorldSvc?WSDL”
                   destFile="HelloWorld_Client.jar"
                   packageName="com.examples.webservices.client"
                   classpathref="class.path"              
                   type="JAXRPC"/>

    I have some new information. When I generate the project as FlashHelp, I get an error message:
    Error: Fail to update Template file whxdata\whfts.xml
    In the resulting output, we get correctly functional TOC autosync, but non-functional search. (This is the same result as with WebHelp, except that no error message appears in generation.)

  • Re: How to generate wsdl using JDeveloper11.5...

    Hi ,
    How to generate wsdl file using schema(ie: Drag and drop process).
    please help me.
    Regards,
    venkatesh.

    In Composite editor When you drag "Web Service" service component in editor, it gives option to create new service and create WSDL form XML schema.
    Jayesh
    http://www.yagnasys.com

  • How to generate PDF using FDF file and the PDF form template (PHP)

    Hi Folks,
    I'm really sorry that I couldn't follow all the valuable discussions going on here, regularly. I need some immediate help.
    I NEED A PHP SOLUTION. I'm able to generate FDF files using the PDF Form Template in PHP. So, I have a collection of FDF files, which seeks the PDF template, while opened and populates the template with FDF data. Now if I need to save this PDF file, I have to do it manually clicking SAVE option. But, I need to convert FDF to PDF in bulk. So, I need some PHP based solution. The PHP script takes the PDF template and the FDF file and merges them to generate a complete populated PDF file. I know it's possible, but don't know how. I've seen Adobe FDF Toolkit. But by default it doesn't show any guideline for PHP. Please help me to write this code. I'm a professional coder. I can understand your hints and tutorials. PLEASE HELP GOOD PEOPLE.

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • Error message using SQL import and Export Wizard with Excel spread sheet

    I am trying to import an Excel spreadsheet using the Import export wizard that is provided with SQL 2014.  
    Everything seems to set up OK but then when I go to do the transfer "error message" comes up saying:
    External Table is not in the expected format.(Microsoft Jet Database Engine).   
    This is a spreadsheet and there is no database, that is why I want to import it into a database!!  So the reference to JET is a tad disappointing.
    So why the error and how do I fix the problem?
    As there are over 100 variables in the spread sheet rows, it would be great to have this automatically create the database and populate the fields.
    I am using SQL 2014  Express and Office Excel 2013.
    Thank you in  advance for taking the time to read this, and hopefully sheading some light on the issue.

    Hi AWlcurrent,
    When import a .xlsx file to SQL Server using SQL Server Import and Export Wizard, you see a “External Table is not in the expected format.(Microsoft Jet Database Engine).” error message. This error message seems that the Microsoft JET Database Engine is
    unable to handle something that is contained in the file.
    So please make sure there is no unsupported content in the Excel file. Alternatively, we can use ‘Microsoft Excel’ as the Data Source, then Select ‘Microsoft Excel 2007’ as the Excel version to import the excel file.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • To generate PDF using BI APIs and loadjava utility

    Hi All,
    I am trying to generate PDF using BI APIs(FOProcessor etc).
    I have generated XML data through the PL/SQl procedure and storing it in a file. This file is loacted in database tier.
    The APIs is used through a simple java program which is application tier. To test the process, I had to manually provide the XML file to the java class in order to generate PDF and it does generate.
    Now the issue is I need to load the java class to the database so that everything gets automated(loadjava utlility).
    when i try to do it, it give no class found error.
    Do I need to load the referenced classes in the java file , that is, FOProcessor,RTFProcessor,FOUtility,jdbc.driver.OracleDriver as well?
    If the above is not possible, is it possible to reference a file in database tier from application tier so that i can use the XML file as input the java class in application tier.
    thanks,
    Srik

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • Need examples of using HEAD, BODY and TABLE options of SET MARKUP

    Hi!
    Looking for examples of using the HEAD, BODY and TABLE options of the SET MARKUP command in SQL*Plus. Will be used in 10.2.04 on Linux.
    Have been trying to set up an "H1" header but not having any success. Documentation and examples in the documentation are not very helpful.
    Thanks for your time and help!
    Dave Venus

    $ echo "select sysdate from dual;"|
      sqlplus -L -s -M 'html on head <title>MyTitle</title> body bgcolor="black" table border="0" scott/tiger
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta name="generator" content="SQL*Plus 10.2.0">
    <title>MyTitle</title>
    </head>
    <body bgcolor="black">
    <p>
    <table border="0">
    <tr>
    <th scope="col">
    SYSDATE
    </th>
    </tr>
    <tr>
    <td>
    2009-02-12 15:22:00
    </td>
    </tr>
    </table>
    <p>
    </body>
    </html>Edited by: Laurent Schneider on Feb 12, 2009 3:22 PM

  • Import and Export Option

    When we exit from the local Developer Studio, in the next attempt to start the Developer studio we are not able to import/export the DC, because the import and export file system options are not available in the popup window.
    To achieve it we are reinstalling the JDK as well as NWDS.
    What could be the reason and please send the suggestions to resolve this issue.

    Hi,
      Close the project when exiting from the studio. So next time, you open studio, open the DC and check if you get the options.
    Regards,
    Harini S

  • I have no 'imports and exports' option after opening 'show all bookmarks'. How do I import from a backup file?

    I am running Firefox 6 under Ubuntu 11.04 .

    Ubuntu 11.04 displays window menus in the control bar at the top of the screen with the switch to the Unity window manager
    *http://en.wikipedia.org/wiki/Ubuntu_Unity
    Click on Bookmarks/Show All Bookmarks then move your mouse to the left upper corner toward Firefox Web Browser.
    You'll get pop up menu (Organize, Views and Import and Backup).
    *[[/questions/822193]]

  • 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.

Maybe you are looking for

  • SQL Management Pack Agent Job Unit Monitors

    I am trying to utilize the SQL Agent Job Monitors included with the SQL Management Pack (page 81 of the MP guide), particularly the "Last Run Status" monitor. I have set an Override for "Generate Alerts" to True. The goal is to have an email notifica

  • Creating Logical formulas in Numbers '09

    I need to apply a cost per square inch on art work. The cost/sq in decreases in increments as the total area increases. Is it possible to have a formula recognize the category of a particular area and apply the appropriate cost per square inch? Thank

  • TS3591 renting a film but it will not download?

        Tried  Store>available downloads. The films shows up, but will not download.     Have re-started my PC, but still no luck.

  • Education version CS5 Design Premium ok for commercial use?

    Can I use my properly-licensed education version of Adobe CS5 Design Premium and the fonts that came with it for commercial use - both the fonts that were installed with CS5 and the extra fonts on the content CD?

  • Update picked quantity and delivery quantity in picking.

    hi, i completed delivery with reference of sales order, and also complete pgi useing tc vl02n . i want any standard function module or BAPI for  update the picked quantity and delivery quantity in picking. thanks in advance.