Ant Task Doesn't work : Generating autotypes using Schema

I have XML schema which import other schemas.Now when i try to generate
autotype for this schema, it gives error
"Unable to resolve reference to specified path".
Reason being the URL specified as target namespace is not valid.
Does autotype refers to URL for import the refererence .XSD.
I have the required XSD in my path.
Can autotype refer to local directory path instead of url.

Hi Bruce
I compared your simple.zip with my scenario and it looks
like problem is with <include> clause.
I have modified your simple example and i was able to reproduce the error.
Please refer to attach file.
Also let me know if i am doing anything wrong.
I hope this is not limitation of Welogic ant task...this is very urgent
Thanks
Bruce Stephens <[email protected]> wrote:
Hi,
I posted a very simple schema import example recently [1] you might want
take a look.
Could you post a reproducer of the problem you are experiencing?
Thanks,
Bruce
[1]
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=4642
askbea wrote:
I have XML schema which import other schemas.Now when i try to generate
autotype for this schema, it gives error
"Unable to resolve reference to specified path".
Reason being the URL specified as target namespace is not valid.
Does autotype refers to URL for import the refererence .XSD.
I have the required XSD in my path.
Can autotype refer to local directory path instead of url.
[simple.zip]

Similar Messages

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

  • TS1398 The internet on my Iphone 4 doesn't work when I use the Wifi

    The internet on my Iphone 4 doesn't work when I use the Wifi at home. My Mac works fine. On the Iphone it shows it's connected but it doesn't open any app. Anyone knows what to do? Thanks

    Ÿ. If you tap and hold the "Y" does it appear? If so, just slide your finger up to select.

  • Moving backward and forward doesn't work as it used to do

    The latest update, 32.0.2, or perhaps the one earlier, 32.0.1, has created a problem with Fx.
    Moving backward and forward doesn't work as it used to do; and if it is done quickly, backward and then forward again to the last page, Fx gets confused and both pages get the same address and the browser shows the same page.
    Guess it has something to do with the latest changes to how Fx handles the cache, or that in combination with how some pages use scripts.
    As it is it can be a pain to use sometimes.

    Are you able to switch songs from control center when Spotify is playing on your phone?
    If you have Spotify playing on your computer then it won't show in control center on your phone. You will have to open up the app to control music on your computer. 
    This is because iOS does not show anything on the control center unless an app is outputing audio. The Spotify app is not outputing audio, it only shows what is playing on your computer.
    Does that make sense?

  • My charger for ipad air doesn't work.Can I use charger 10w without any worreies?

    My charger for ipad air doesn't work.Can I use charger 10w without any worreies(damage battery)?Is it possible to change in apple store with warranty?

    "Can I use charger 10w without any worreies(damage battery)?"
    Yes you can.
    "Is it possible to change in apple store with warranty?"
    If you mean "can I get my power adapter replaced under warranty, at the Apple store?", yes.

  • Is it a bug - SSIS 2012 ReadOnlyVariables in Script Task doesn't work

    It's very weird when I use the ReadOnlyVariables in SSIS 2012 Script Task, it doesn't work at all!!! And I never notice this change before, but everything in 2008 R2 is fine! Is it a bug in SSIS 2012 ?
    All the variables I set them to "ReadOnlyVariables"
    In scripts - I assigned some values from system variables.
    String PackageName = Dts.Variables["System::PackageName"].Value.ToString();
    DateTime CurrentDate = (DateTime)Dts.Variables["System::StartTime"].Value;
    // User Defined Variables
    Dts.Variables["User::PV_CURRENT_DATE"].Value = CurrentDate;
    Dts.Variables["User::PV_YEAR"].Value = CurrentDate.Year;
    Dts.Variables["User::PV_MONTH"].Value = CurrentDate.Month;
    Dts.Variables["User::PV_DAY"].Value = CurrentDate.Day;
    Dts.Variables["User::PV_PACKAGE_NAME"].Value = PackageName;
    Execute the package, it works !
    The only thing I can make it as SSIS 2008 R2 does is to change the ReadOnly for each variables.
    Then you will get the error.
    Why do we need this feature here but not to use the ReadOnlyVariables in script task ?
    Please vote if it's helpful and mark it as an answer!

    I can reproduce it as well. Feels like a bug...
    Locking the variable for read in code has the same effect:
    public void Main()
    // Lock variable for read
    Dts.VariableDispenser.LockForRead("User::myStringVariable");
    // Create a variables 'container' to store variables
    Variables vars = null;
    // Add variable from the VariableDispenser to the variables 'container'
    Dts.VariableDispenser.GetVariables(ref vars);
    // Now try giving it a new name
    vars["User::myStringVariable"].Value = "new value";
    // Release the locks
    vars.Unlock();
    Dts.TaskResult = (int)ScriptResults.Success;
    For reference:
    https://connect.microsoft.com/SQLServer/Feedback/Details/991697
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • I cannot use any external monitor, it appear like the port doesn't work , i'm using the mini-dvi port with a VGA adaptor ,

    I've always used the port normally with different monitor but by a couple of weeks it appear like no signal come out.
    Does Anyone knows what can i do ? i.e. How to check or reset the Mini-dvi port ? or if there's any key on the keyboard that can habilitate it or not ?
    Any Help will be appreciate
    Thanks

    Welcome to Apple Support Communities
    You don't have to do anything to make the port work. Reset the SMC > http://support.apple.com/kb/HT3964
    If it doesn't work, try with another monitor to see if it works or another cable. If you haven't got another display, take the MacBook Pro to an Apple Store or reseller, so Apple will test the port and see if it works correctly

  • Built-in wlst ant task does not work in weblogic 10.3.1

    Hi,
    We have an installer script that deploys an ear file to a weblogic managed server. The script also invokes the build-tin wlst ant task to bounce the managed server. However, in version 10.3.1 the wlst task seems to be broken. I get this error:
    [echo] [wlst] sys-package-mgr: can't create package cache dir, '/u00/webadmin/product/10.3.1/WLS/wlserver_10.3/server/lib/weblogic.jar/./java
    tmp/wlstTemp/packages'
    [echo] [wlst] java.io.IOException: No such file or directory
    [echo] [wlst] at java.io.UnixFileSystem.createFileExclusively(Native Method)
    [echo] [wlst] at java.io.File.checkAndCreate(File.java:1704)
    [echo] [wlst] at java.io.File.createTempFile(File.java:1792)
    [echo] [wlst] at java.io.File.createTempFile(File.java:1828)
    [echo] [wlst] at com.bea.plateng.domain.script.jython.WLST_offline.getWLSTOfflineInitFilePath(WLST_offline.java:240)
    [echo] [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [echo] [wlst] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [echo] [wlst] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [echo] [wlst] at java.lang.reflect.Method.invoke(Method.java:597)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPath(WLSTUtil.java:63)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:214)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:133)
    [echo] [wlst] at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:75)
    [echo] [wlst] at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:103)
    [echo] [wlst] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    Obviously that is not a valid directory...so I am wondering what it is trying to do, and why. The wlst task worked perfectly in 10.3.0. No changes were made when attempting to run the script against 10.3.0 and 10.3.1, which tells me that something is different with the 10.3.1 setup. Here is the ant code I am running:
    <target name="init-taskdefs">
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
    <classpath>
    <pathelement location="ant-ext/ant-contrib.jar" />
    </classpath>
    </taskdef>
    <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
    <taskdef name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask" />
    </target>
    <macrodef name="wlShutdownServer">
    <attribute name="adminUser" default="${deploy.admin.username}" />
    <attribute name="adminPassword" default="${deploy.admin.password}" />
    <attribute name="adminUrl" default="${deploy.admin.url}" />
    <attribute name="serverTarget" />
    <sequential>
    <trycatch property="server.error">
    <try>
    <wlst failonerror="true"
    arguments="@{adminUser} @{adminPassword} @{adminUrl} @{serverTarget}">
    <script>
    adminUser=sys.argv[0]
    adminPassword=sys.argv[1]
    adminUrl=sys.argv[2]
    serverTarget=sys.argv[3]
    connect(adminUser,adminPassword,adminUrl)
    target=getMBean("/Servers/"+serverTarget)
    if target == None:
    target=getMBean("/Clusters/"+serverTarget)
    type="Cluster"
    else:
    type="Server"
    print 'Shutting down '+serverTarget+'...'
    shutdown(serverTarget,type,'true',15,force='true')
    print serverTarget+' was shut down successfully.'
    </script>
    </wlst>
    <!-- setDomainEnv.sh must have been called to set DOMAIN_HOME. Remove all leftover .lok files to allow server
    to start back up again. -->
    <echo message="Deleting any lok files that have not been removed..." />
    <delete failonerror="false">
    <fileset dir="${env.DOMAIN_HOME}/servers/@{serverTarget}" includes="**/*.lok"/>
    </delete>
    </try>
    <catch>
    <fail message="@{serverTarget} shutdown failed. ${server.error}" />
    </catch>
    <finally/>
    </trycatch>
    </sequential>
    </macrodef>
    Any help would be appreciated. Thanks!

    Well, it looks like passing something like "-Djava.io.tmpdir=/var/tmp/javatmp/`date +%Y%m%d`" to ant did the trick. I had to make sure that directory existed first, otherwise it threw a java ioexception.
    I still don't understand what changes between 10.3.0 and 10.3.1 to necessitate this change.

  • Tryoing to play QVR. Works on a MAC with version 7. Doesn't work the same using Version 10.

    Have some .mov files that work just find on my MAC that has QVR player version 7. When I try these same files on a MAC that was recently updated automatically and has QVR version 10, the .mov doesn't work the same way.  Is there a way to set parameters in version 120 to behave like version 7 or alternatively can I download version 7?

    Mac OS X 10.6 includes QuickTime versions 10.0 and 7.6.3. The QuickTime 7 player will only be present if a QuickTime Pro key was present at the time of installation, or if specified as part of a custom install, or individually downloaded:
    http://support.apple.com/kb/dl923
    Snow Leopard update 10.6.4 included an update to 7.6.6 (if installed). You can install it from the above link  even though it says for 10.6.3. It's the same version of QuickTime Player 7.6.6.
    (Only QuickTime Player 7.6.3 or 7.6.6 can be updated to "Pro".)
    A Mac OS X v10.6, OS X Lion, and OS X Mountain Lion-compatible version of QuickTime Player 7 is available for use with older media or with AppleScript-based workflows. QuickTime Player 7 can be used to playback formats such as QTVR, interactive QuickTime Movies, and MIDI files. Also, it supports QuickTime 7 Pro registration codes for access to QuickTime Pro functionality.
    How to install Quicktime Player 7 on Snow Leopard, Lion and Mountain Lion when it is not already present:
    http://support.apple.com/kb/HT3678?viewlocale=en_US&locale=en_US

  • I changed my main email on my apple ID and now it doesn't work and still uses my old one and with my new and old email my password doesn't work

    I changed my main email on my apple ID now when I try sign in with the new email it doesn't work and neither does my old one so I don't know what happened, any help?... I made a new apple ID and on my iPod it tries to use my old one and I can't change it to my new apple ID I've gone on to settings and iTunes and App Store and changed it to my new apple Id yet when I buy apps or try update them it uses my old apple ID I don't know what to do any help??

    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
    If you can't log into Settings>iTunes and App stores with your new ID them mean there is a problem. Try restting the password and try to sign in again.
    iTunes Store: Retrieving and changing passwords (Apple ID)
    Can you sign in with the new ID on your computer?
    Last, contact iTunes.
    Apple - Support - iTunes - Contact Us

  • Dynamic versioning plugin tag doesn't work for Netscape using 1.4.1_01?

    When I use dynamic versioning for plugin, for example:
    <EMBED
    type="application/x-java-applet;version=1.4.1_01"
    >
    It doesn't work for netscape 7. Although 1.4.1_01 was installed on the machine, the applet was not able to be loaded. Plugin was not found.
    Anything wrong with the tag? It is OK for 1.4.1
    Thanks

    When I use dynamic versioning for plugin, for
    example:
    <EMBED
    type="application/x-java-applet;version=1.4.1_01"
    >
    It doesn't work for netscape 7. Although 1.4.1_01 was
    installed on the machine, the applet was not able to
    be loaded. Plugin was not found.
    Anything wrong with the tag? It is OK for 1.4.1
    ThanksI lost alot of sleep over this!
    I finally got it to "seemingly" work
    but by NOT using 1.4.1 attribute..
    See my HTML example
    http://hyperbyte.ab.ca/JavaZone/
    While it doesn't work with the 1.4.1
    attribute it does work with Netscape
    Good Luck!
    Sincerely:
    Tony Swain
    Senior V.P. of Software Development Hyperbyte inc.
    http://www.hyperbyte.ab.ca
    Netscape DevEdge Champion Devs-Java Newsgroup
    snews://secnews.netscape.com/netscape.devs-java

  • Wsgen as ant task doesn't recognize

    Hi
    I'm trying to build my webservice using ant in eclipse but ant doesn't regonize this kind of task
    my java files are in src catalouge and my build file looks like this
    <?xml version="1.0" encoding="UTF-8"?>
    <project name = "webservice">
    <property name = "build.dir" location="build.classes"/>
    <target name="init">
         <mkdir dir="${build.dir}"/>
    </target>
    <target name = "compile" description = "Kompiluje kod javy">
         <javac srcdir = "src" destdir = "build/classes"/>
    </target>
    <target name="generate">
    <wsgen destdir = "${build.dir}" sourcedestdir="${build.dir}">
         <classpath>
              <fileset dir = "src">
                   <include name="*.*"/>
              </fileset>
         </classpath>
    </wsgen>
    </target>
    </project>and i want to ask too, if iam using wsgen do i need to compile classes before, if someone could write some example buildfile i will be thankfull, i tryied to understand build file from the examples from sun's tutorial but the are too complicated for me

    Don't you need to declare the wsgen task somewhere?

  • Activesync doesn't work - How to use Windows bluetooth driver?

    Well, I have nearly given up on trying to get the Toshiba Bluetooth stack to work with my QTek PDA Phone. The reason for this is that the stack does not correctly enumerate all the functions of the device and therefore I can't configure the activesync program to use the correct com port.
    Frankly, I'm disappointed that Toshiba chose to ship their own ad-hoc bluetooth implementation for Windows when Windows has their own.
    So the question I have is, is there a "Correct way" to completely remove the Toshiba provided bluetooth stack (without using the Ghost image I made before installing it) and get a proper Windows bluetooth driver?
    As for bluetooth security, the only added security I've seen using the Toshiba stack is that you can't actually make it work with anything so you aren't at risk.
    P.S. I've tested with other Windows CE bluetooth devices as well, same problem.

    Well I don't like it because it doesn't actually enumerate the serial port devices of my telephone and therefore I can't configure Microsoft ActiveSync to work with it since there is only one com port configured instead of 2.
    I need the Microsoft Bluetooth stack so that I can have a standard configuration.
    So it's more than just removing the Toshiba stack, it's also about installing the Microsoft stack, or getting the Microsoft stack to recognize the hardware.
    Thanks for the info so far, but do you know if it's possible to enable the Microsoft stack?

  • Touchpad doesn't work properly after using of mouse.

    On my macbook air I usually use touchpad only. But I use mouse to play games.
    Sometimes when I do it, then exit the game, touchpad stops to work properly.
    Mainly it works like usual, I can open files, close windows, follow links in Safari. But I can not close tabs (the x-mark doesn't apper). Also I can't select text with touchpad (only one work, by double clicking). Also I can't open sites via top sites panel, by clicking on them - only with keyboard. Probably there more small, but unpleasant things?
    What can I do?
    Reboot does help, but I don't want to reboot each time I play a game...

    If you installed any software to work with the mouse, remove it according to the developer's instructions, then restart the computer and test. Back up all data before making any changes.

  • SSO doesn't work with Xcelsius using QAAWS, outside Infoview

    Hi,
    We have some xcelsius dashboards using QAAWS to retrieve data from database
    I would like to know whether SSO works with xcelsius dashboards using QAAWS outside infoview.Currently we get login screen to enter username/password.we are using Windows AD as the authentication type in the environment.

    You got it right. Within the InfoView, your Xcelsius-swf gets the CELogonToken as a parameter field to authenticate against the data for example. If you access another Xcelsius-Dashboard from within a swf you can even pass the LogonToken on.
    Using dashboard and QaaWS outside of InfoView, the user will have to enter username and password before the data is fetched. At least that is the way it works here.
    Regards,
    Peter

Maybe you are looking for

  • Sync address book uses old file

    When I sync my contacts from Address Book to my iPhone 4s, it is syncing an old address book file or library. Deleted contacts from my Mac show up, and new contacts created over the last several months are not downloaeded to the iPhone. Do I have a c

  • Need info on the class that is used for BUILHEADER Genil query

    Hi All, Can some one pls let me know the class that is called by executing the query BUILHEADER. I m facing a strange error, everytime when i search and open any account other than sold to party in WEBUI, I am noticing soldto party in the Roles Assig

  • Issues converting Pie Chart to 3D

    Hello all, I am having issues within Illustrator CC.  I created a Pie Chart and found a tutorial on how to convert it to 3D.  Unfortunately whenever I Extrude and Bevel it, nothing happens.  I turn preview on...no change.  Nothing I am doing will con

  • Need Help Centering Thumbnails!

    Question #1 Hi, on my web page the thumbnals are not centered in the page but go to the left. In Dreamweaver I've turned on outlines so you can see that the thumbnails are not centered. I am trying to vertically and horizontally center my thumbnails

  • Icon - outline blue arrow on black square - what is it ?

    My wife has just purchased a Q10 (I have a Bold) - having set up Link and sync'ed Outlook contacts and calendar an icon appeared at the top right hand corner of the handset screen (obscuring the network signal strength indicators) whcih is an arrow i