Binding file to update package name issue

I'm trying to change the package name via a binding file, however I'm having issues. The schema within the WSDL is defined as a local schema rather than at http: How would I get the following to work? Thank you for your time
1) WSDL
<wsdl:definitions xmlns="..."
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" ...>
<xs:import namespace=""/>
<xs:import namespace="http://aaa" schemaLocation="a.xsd"/>
</xs:schema>
2) Binding file
<jxb:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="a.xsb" node="/xs:schema">     
<jxb:schemaBindings>
<jxb:package name="com.a"/>
</jxb:schemaBindings>
</jxb:bindings>
3) Output
a.xsb" is not a part of this compilation. Is this a mistake for ...

Hello,
You are creating your url using the SPList object "docLibrary" which is not providing you the url of the list, that's your error
here a sample to how upload file :http://blogs.msdn.com/b/peterj/archive/2008/01/23/creating-folders-and-adding-files-to-sharepoint-document-library.aspx
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer?

Similar Messages

  • Binding file for controlling package name

    I looked at the related links, tried a few examples, not much success...
    I realize this can be solved with more effort, but just trying the easy path, so ... ignore this if looks unreasonable, I know how busy developers feel...
    Is there a good example to conform to these requirements:
    Basically i would like binding file as a child element for wsdlc running in JAXWS mode that will follow package naming rules for JAXRPC... meaning:
    Java files generated from xsd will match package name with xsd name space, while for JWS classes control specific package name ...
    Most of my attempts failed due to xpath complaining for not finding any element for the node ...
    Binding attempt 1: make all classes serializable
    ============================
         <jaxws:bindings
                        xs:schemaLocation="Customer.xsd"
    node="/xs:schema">
    <jxb:globalBindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <jxb:serializable/>
    </jxb:globalBindings>
    </jaxws:bindings>
    Binding attempt 2: keep same name for xsd classes
    ============================
    <schemaBindings>
    [ <package> com.myown.pack</package> ]
    [ <nameXmlTransform> http://xmlschema.my.xsd.com/CustomerCall </nameXmlTransform> ]*

    Yes, select the project in the mapping workbench, click on the "Defaults" tab.
    There's a checkbox called "Specify Project Package".
    Darren
    Is there is way to specify a package name for the java file generated when you export a project.
    Thanks,
    Rajiv

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

  • Class.forname - Unable to load class if two jars with same package name

    class.forname - Unable to load class if two jars contains same package name exists in classpath.
    JVM is stopping search for class one it finds the package name in the jar file that is ahead in classpath,
    JVM is not continuing search in the remaining jar files.
    For this , I put the jar file that contained class ahead of of ther jar file containing same package name, then it worked.
    Is this a JVM bug ? (JDK 1.5)

    I reported as bug to sun. I got auto email, looks they have not assigned any Bug ID so far.

  • ThinApp Updated Package doesn't update existing Sandbox files

    This has to be a common problem, but the discussion topics are not quite the same scenarios. I must be using the wrong search terms to search by in the forums.
    First, the issue in simple terms.. and then greater detail:  I'm having an issue where a very simple app is created, but if the app is re-built with only a couple of changes, not all files in the "existing" users's Sandbox will be updated to reflect the change.  Meaning, if I maintain the same Sandbox path, and it is reused on the updated app, the sandbox will sometimes continue to use the old files from the prior build.
    Example:  Let's say the package consists of...
         ThinApp_Package.exe  (living in \\networkshare\AppHome)
                   App.exe  (original)
                   xxx.dll
                   yyy.dll              
                   user_settings.ini
                   another_config.ini  (original)
          SandboxPath=D:\SandboxFolder\
          SandboxName=App-Saved-Files           (Sandbox shows the original files above just fine)
    Now, if our developer creates a new "app.exe" and it uses a new statement to Read/Write in the "config.ini", I will recompile the app with those two files updated.
    When the new ThinApp package is launched, the new binary "App.exe" will be correct, but the "config.ini" that is being referenced is the OLD, prior file that exists in the Sandbox.  The Sandbox never updates it.
    If I delete the Sandbox, it will be recreated with the new and proper "config.ini" (but, of course all other custom settings for that user is lost).
         Rebuilt_and_Updated_ThinApp_Package.exe  (living in \\networkshare\AppHome)
                 App.exe  (updated)
                   xxx.dll
                   yyy.dll              
                   user_settings.ini
                   another_config.ini  (updated)
          SandboxPath=D:\SandboxFolder\
          SandboxName=App-Saved-Files          
    (The updated "App.exe" runs fine and as expected, but continues to refer to the original "another_config.ini" in the Sandbox from the prior build and does not update... so I have no choice but to delete the Sandbox and lose the users settings)
    More details:  If this is not a common, simple issue (which, I'm sure it is, and I'm overlooking something... I'm not too skilled with ThinApp).
    The App is centrally hosted on a network share (has run this way since Thinstall days), I don't recall the issue before, so I must be triggering it somehow.
    The overall age of the sandbox is not that old.  I can recreate the issue starting with a new Sandbox and then updating the package once.
    The Sandbox is a forced path to the Local User's D_Drive, in a common accessible area for all.
    The Package is WRITECOPY, except for the one sub-folder where the EXE and INI exist, that one folder is FULL (This is due to the App needing to be on the C: drive, but the current company Administrative rules won't allow writing to the C: Drive.
    It is an older 32bit, Visual Basic compiled app, running on Windows 7 (64bit).
    Just as a quick test I have asked the developer to always write a new "config.ini" that creates a time entry on launch, so that the file is forced to be changed (thinking a forced change in the file should force it to the sandbox... but that has no affect, it still does not update the sandbox.
    We have several, similar programs of that hosted in the same manner.. and have for years.  But, it appears that this one is giving me a hassle and I cannot pinpoint the change that causes this behavior.
    So, I guess a general question is, "What is the decision process within ThinApp that would direct the application to view Sandbox Content over -internal- compiled content if the internal content is newer or different size?"  The only common thing between the compiled content and sandbox content is the file name.
    Thanks for helping an amateur.

    Hey there, thanks for the reply.  The project's Default isolation is "WriteCopy".  But the folder that contains the config.ini file is "Full".  (stated in the original post).  You can view the INI the sandbox just fine, as expected... except now it is not updating with the one in the package.   There was never an answer, so I had no choice but to delete the Sandboxes... it is fine now.  But it would be nice to know how/why ThinApp will suddenly misbehave and not update the file.  Reading some undertones in other posts, it seems to happen now and then.
    Thanks again.

  • After installing latest update Realplayer recording no longer works, I think Mozila is using a library file with the same name

    After installing the latest update to Firefox onto Vista operating system the record part of real player no longer works, I think Mozila and Real are using a library file with the same name and the Mozila update is overwriting a Realplayer library file.

    I was giong to say, "Help me, Adobe Joe Kenobi", but it looks like you're growing a beard waiting for an answer, too.
    The same thing happened to me today. I trusted the "update" message since it was from Adobe, and apprently did so at my own peril. Now I get the "failed to load Core dll" message with a secondary reference to a memory address.
    Just an observation, but what good are these forums when there are no answers? I see this problem as "Caused by Adobe Update", and would expect them to troublshoot and offer up a remedy. Since you've been waiting over two months with no response, I suppose it's time to trek off wasting more of my precious time to fix their problem. If I find the solution, I'll post it back to you.
    May the Force be with you.
    Mark

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

  • How to change generated class name when create binding files.

    I have a dtd file, which has lines like this:
    <!ELEMENT rights (
         %plain-text;
         | rights.owner
         | rights.startdate
         | rights.enddate
         | rights.agent
         | rights.geography
         | rights.type
         | rights.limitations
         )*>
         <!ELEMENT rights.type (%plain-text;)*>
    when i use xjc to create binding files, I got an error:
    trying to create the same field twice: value.
    I suspect that the reason is because the name of rights and rights.type.
    so, i'd like to know how can i control the generated class name. for example, i want to generate a class RightTypeEle for element rights.type. how can do that?
    btw, i use latest version of jaxb.
    Thanks in advance.

    hi Vincentq,
    What function are you using to create the attachment?  Have you looked at SAP_WAPI_ATTACHMENT_ADD?
    Cheers,
    Sue

  • The package name in the java files are modified

    Hey All,
    After creating a Portal Web Project, I imported the existing web applications to Weblogic Workshop. Then I found that the package names in the Java source codes are modified. The <folder name>. is added to the existing package name.
    For example,
    package com.symphonia.script.engine;
    is changed into
    package ScriptingEngine.com.symphonia.script.engine;
    because ScriptingEngine is the folder name.
    The package name of some other Java codes are doubled.
    For example,
    package symphonia.util;
    is changed into
    package syms-util.com.symphonia.util;
    Are there any ways to avoid this package rewriting when importing web applications to the Workshop?
    Thanks!
    Jeff

    To avoid path modifications add all 'base' paths(paths form which you will store the source code) to 'source paths' to Tools-->Project Properties-->Selected-project
    Then you add files/directories to one of the source-paths.
    They should not have any package modifications.
    HTH,
    Raj

  • Can one avoid names to be listed in packaged applications (issue tracker, for example)?

    I've installed the packaged app "Issue tracker" in a workspace, but now have a problem with German's law (and maybe others), which does not allow people to make reports that explicitely mention names of employees, except if you are their manager.
    So the issue tracker's reports, which can be used by anybody and display assignees' names, are not allowed by German's law !
    I guess that all packaged apps have the same users control mechanism. If so, this issue is not specific to the issue tracker. Is that right?
    To make the issue tracker compliant with German's law, one should be able to hide names or ideally to make them only visible by the employee's management.
    Hide name would imply:
    - Remove the updaters' name in the projects/issues
    - Remove assignees' name in the projects/issues/reports
    I guess this could be done via a plugin "display names" in the "build options".
    Make names only visible to managers would imply:
    - Assign a manager to each user
    - Adapt the display depending on the identity of the user
    Does this make sense? If so, I guess I should add an entry in Oracle Application Express Feature Requests, right?
    TIA for your feedback,
    Stefane

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Package name for Toplink generated file

    Is there is way to specify a package name for the java file generated when you export a project.
    Thanks,
    Rajiv

    Yes, select the project in the mapping workbench, click on the "Defaults" tab.
    There's a checkbox called "Specify Project Package".
    Darren
    Is there is way to specify a package name for the java file generated when you export a project.
    Thanks,
    Rajiv

  • Getting Package Name From Class File Without Parsing File

    I am writing an application where I need to get the package name from a class file without parsing the class file itself.
    Basically, what happens is the user chooses a class file from anywhere in the file system. I then want to use reflection to get information about that class. To do that I need the fully qualified class name. I know that the package name is part or all of the path name but I don't know for sure which part it is. I don't want to parse the class file directly for the package name in case the class file spec is changed (that way I won't have to rewrite any code).
    Does Java have any way of getting this information without doing something stupid like gradually stripping off part of the pathname and trying it?

    The ClassLoader way seems to work fine, copy a class file to "A.class" and run this:import java.io.*;
    class ClassLoaderExample {
        public static void main(String[] args) throws Exception {
            class MyClassLoader extends ClassLoader {
                public Class load() throws IOException {
                    File f = new File("A.class");
                    byte[] classData = new byte[(int) f.length()];
                    new RandomAccessFile(f, "r").readFully(classData);
                    Class loaded = defineClass(null, classData, 0, classData.length);
                    resolveClass(loaded);
                    return loaded;
            Class c = new MyClassLoader().load();
            System.out.println(c);
            System.out.println(c.newInstance());
    }

  • 1/23/14 update erase a dll file and who knows what else. I had to restore my computer back several months to get the file back. I just got another update package. Is it safe to use?

    1/23/14 update erased a dll file and who knows what else. I had to restore my computer back several months to get the file back. I just got another update package. Is it safe to use?

    Thank you. After two system restores and three program removals using the control panel I got itunes back.  I would feel better if Apple would include items you don't need options in installs so that the constant checking for what is not there would not create problems.  For me it was MobileMe associations. I never would have thought of Bonjour and (Quicktime - which I don't even use but did not remove just in case)
    Again, Thanks!.

  • I need to remove "air." from package name. I'm get a Layout xml error when repackaging android app..

    So, i'm doing this on my own app. I made an update for an older app that was build using Native Android. But this time, i used Adobe AIR... The catch is Adobe likes to append a "air." to the front of your package name without asking you. So basically I can't upload my update because it has a new package name is now "air.com.mycompany.myapp" rather than the original "com.mycompany.myapp"
    Basically I'm going through this guide..
    http://helpx.adobe.com/air/kb/opt-out-air-application-analytics.html
    I followed all the steps, made all the adjustments to the androidmanifest.xml like it asks.
    But after going along with the above guide, with no issues when i get to the step that says
    "Run the following command to create the resource file for the updated AndroidManifest.xml:"
    I run this..
        "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platform-tools/aapt" package -f -M AndroidManifest.xml -F resources.arsc -I "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platforms/android-8/android.jar" -S ./res
    But I keep getting the same error regarding the xml files in res/layout
        ./res/layout/expandable_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/expandable_multiple_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/main.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/multiple_file_selection_panel.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/ssl_certificate_warning.xml:1: error: Error parsing XML: not well-formed (invalid token)
    The guide doesn't say anything about these xml files, and im not sure what to do with these or how to handle them.
    If i go into the res/layout folder, and just delete these (i know they're necessary. But i just deleted them as a test, to get through the rest of the guide...)
    I was able to get through the rest of the steps in the guide fine, make an apk, and put it on my phone...only to find out the app will crash the moment you try to run it. Probably because i deleted the layout xml files...But i cant get the command i need to run above to accept them!
    So, earlier in the guide they have me use thing thing called the "AXMLPrinter2.jar" to make the AndroidManifest.xml readable so i can edit it.
    I run something like this:
        java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" AndroidManifest.xml > AndroidManifest.xml.bk
    This makes a new file "AndroidManifest.xml.bk" and i can edit that.
    So, I was thinking with all of these layout xml files, maybe I could run this "AXMLPrinter2.jar" on them and then edit them. Because right now if you open them they're not human readable, and its hard for me to work on them if they're not...
    I tried this thinking i could do the same thing...
        java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" main.xml > main.xml.bk
    Just get a blank file and a console erorr when trying to use the AXMLPrinter2.jar on the layout xml files...
        java.lang.ArrayIndexOutOfBoundsException: 67
                  at android.content.res.StringBlock.getShort(StringBlock.java:231)
                  at android.content.res.StringBlock.getString(StringBlock.java:91)
                  at android.content.res.AXmlResourceParser.getName(AXmlResourceParser.java:140)
                  at test.AXMLPrinter.main(AXMLPrinter.java:56)
    So, I think my whole issue is based around these XML files not being converted to human readable before i try and re-package....
    EDIT:::
    Ok, so I found a site that talks about the error I'm getting but it's in chinese, and even after translating the page...I'm still not well versed with terminal and this stuff to get it.
    It reads:
    "Error.
    Final conclusion:
    In minSdkVersion <= 7, AXMLPrinter2.jar can normally decompile xml file
    Greater than 7 can not be normal decompile xml file (AndroidManifest.xml except)
    Give way to share a batch decompile xml file:
    First, create a *. Txt file
    Stresses inside the content authoring
    for / r layout%% a in (*. xml) do @ java-jar AXMLPrinter2.jar "%% a" >> "%% a". txt
    Then this txt file extension into bat form, and this BAT the file and AXMLPrinter2.jar on the same directory will be decompiled xml into the layout directory
    Decompilation results can be generated by executing the bat file multiple xml files."
    - http://hi.baidu.com/ghcghc/item/ecbaa1ce997cb225a0b50ac2
    Maybe someone with more know-how could explain what they're explaining? I get that he's saying the issue im seeing appears when you're using minSdK <=7 but I need to use minSdk 8. Does anyone understand this work around? And how I might go about it on a Mac with terminal?
    I wish adobe would make it easy to remove the "air." from the package name. If they want to convert old Native devs to AIR devs...the transition needs to be seamless. But now I'm about to have to go back to Native because I can't update an app I already have out on the market with an air app.

    Hello~
         I also tried to remove "air." package name in air application. And i encounter the same problem.
         I do not find any solution to decode the xml inside res folder by AXMLPrinter2.jar. And those xml inside is compressed which is unreadable.
         However, what you can do is copying the structure of res folder. And go to your air sdk file path -  adobeair-sdk-folder/lib/android/lib/resources/
         Replace those file exists in your res folder. And copy "values" folder to your res folder.
         Hope this solve your problem~

  • Updated package not applies on RDS

    the situation:
    1. updated package was published and enabled for AD global group. No issues. The app was updated on global refresh (1hour) or on logon as it should be
    2. the same published package was enabled for RDSH.
    The updated package folder does appear in PrData\Appv\PACAGE_ID with previous package ID folder
    get-appvclientpackage shows just one package v.0001
    get-appvclientpackage -all shows just both packages v.0001 and v.0002
    (see below powershell output and screenshot)
    Sure in this situation the updated package does not apply...
    What could be done?
    Thx.
    PS C:\Windows\system32> get-appvclientpackage -all
    PackageId            : 40807a65-0cea-4e40-bdcf-7f7cb4787bc5
    VersionId            : ad2f6e12-b161-42fd-8c45-4b954fa0ba34
    Name                 : my_app 5.4.0 v00
    Version              : 0.0.0.2
    Path                 :
    \\00VAPPVPUB-01\Content\my_app 5.4 v.00 21 Jan
                           2015\my_app 5.4.0 v00_2.appv
    IsPublishedToUser    : False
    UserPending          : False
    IsPublishedGlobally  : False
    GlobalPending        : False
    InUse                : False
    InUseByCurrentUser   : False
    PackageSize          : 289720664
    PercentLoaded        : 100
    IsLoading            : False
    HasAssetIntelligence : True
    PackageId            : 40807a65-0cea-4e40-bdcf-7f7cb4787bc5
    VersionId            : 7cd93749-8ea9-4498-92a5-6142371e5d28
    Name                 : my_app 5.4.0 v00
    Version              : 0.0.0.1
    Path                 :
    \\00VAPPVPUB-01\Content\my_app 5.4.0 v.00 13 jan
                           2015\my_app 5.4.0 v00.appv
    IsPublishedToUser    : False
    UserPending          : False
    IsPublishedGlobally  : True
    GlobalPending        : False
    InUse                : True
    InUseByCurrentUser   : False
    PackageSize          : 229408841
    PercentLoaded        : 100
    IsLoading            : False
    HasAssetIntelligence : True
    PS C:\Windows\system32> get-appvclientpackage
    PackageId            : 40807a65-0cea-4e40-bdcf-7f7cb4787bc5
    VersionId            : 7cd93749-8ea9-4498-92a5-6142371e5d28
    Name                 : my_app 5.4.0 v00
    Version              : 0.0.0.1
    Path                 :
    \\00VAPPVPUB-01\Content\my_app 5.4.0 v.00 13 jan
                           2015\my_app 5.4.0 v00.appv
    IsPublishedToUser    : False
    UserPending          : False
    IsPublishedGlobally  : True
    GlobalPending        : False
    InUse                : True
    InUseByCurrentUser   : False
    PackageSize          : 229408841
    PercentLoaded        : 100
    IsLoading            : False
    HasAssetIntelligence : True
    PS C:\Windows\system32>
    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

    PackageId            : 40807a65-0cea-4e40-bdcf-7f7cb4787bc5
    VersionId            : 7cd93749-8ea9-4498-92a5-6142371e5d28
    Name                 : my_app 5.4.0 v00
    Version              : 0.0.0.1
    Path                 :
    \\00VAPPVPUB-01\Content\my_app 5.4.0 v.00 13 jan
                           2015\my_app 5.4.0 v00.appv
    IsPublishedToUser    : False
    UserPending          : False
    IsPublishedGlobally  : True
    GlobalPending        : False
    InUse                : True
    InUseByCurrentUser   : False
    It can't apply version 0.0.0.2 because 0.0.0.1 is in use (InUse = TRUE). If you don't have the app open then it may be still locking a file. Check that there are no other users logged into that machine and check to see if there are any executables related to
    "my_app 5.4.0 v00" that are running. 

Maybe you are looking for

  • Apple mail showing wrong body in gmail (imap) messages

    I asked about this the other day and thought I had solved my own problem by rebuilding Mail. But it is persisting and becoming more than annoying. Does anyone know why this is happening suddenly and how to fix it? I have recently repaired permissions

  • Help me out to run Interactive forms in CE7.1

    Hi experts, I am new to this SAP webdynPro for java World.Can you please help me to run interactive Forms. I have installed CE7.1 Dev_studio and J2EEServer.To Develop Adobe Interactive Forms i have installed Adobe Designer7.1. When i run the Applicat

  • How to review all questions in a question pool ?

    Captivate v4 I have created projects each with a question pool of approx 15 questions from which 5 random questions with answers shuffled will be drawn at the end of the project. I find that creating questions in v4 is very hit and miss and the forma

  • Captivate 3 Training

    hi everyone, our company purchased Captivate 3 months ago and have been trying without much luck to find training - online or in person on how to use the product to create different kinds of learning activities. I've seen the overall tutorial, and ev

  • Using an XML Bean in a WS Client app

    We're experience problems trying to use a XML Bean returned to a Java application from a WebLogic Workshop Web Service. As a test case we decided to write a Java application that would use the CustomerDB_XMLBeanClient Web Service supported in the Sam