[WLW 10.3] keepgenerated option with workshop generated build script

I want to generate java files out of JSPs for the application on weblogic 10.3.
I am using build script generated by workshop which contains the following entry for jsp compiler:
<jspc classpathref="jspc.classpath" source="${staging.dir}" library="${appc.library}"> </jspc>
Now I want to know how to use keepgenerated option to generate java files using this script.
I do not want to do the following:
- Set this property in weblogic.xml file
- Use manual build script such as following:
<wlappc source= "D:\DELETE\JSP_Appc\Test_Appc" output= "D:\DELETE\JSP_Appc\Test_Appc_Output" forceGeneration= "true" verbose= "true" keepgenerated="true" deprecation= "true">
Any pointers related to this issue will be of great help. Thank you.
Ravikiran

I want to generate java files out of JSPs for the application on weblogic 10.3.
I am using build script generated by workshop which contains the following entry for jsp compiler:
<jspc classpathref="jspc.classpath" source="${staging.dir}" library="${appc.library}"> </jspc>
Now I want to know how to use keepgenerated option to generate java files using this script.
I do not want to do the following:
- Set this property in weblogic.xml file
- Use manual build script such as following:
<wlappc source= "D:\DELETE\JSP_Appc\Test_Appc" output= "D:\DELETE\JSP_Appc\Test_Appc_Output" forceGeneration= "true" verbose= "true" keepgenerated="true" deprecation= "true">
Any pointers related to this issue will be of great help. Thank you.
Ravikiran

Similar Messages

  • Problem with Exported ant build script(WLS 8.1SP4) working with IBMJDK1.4.2

    Hi,
    I am trying to use the exported ant script from wls workshop for building the process application.But i am using IBM JDK 1.4.2 in AIX 5.2 box.
    IBM has disintegrated the rt.jar by SUN into a number of other jar files.When i run the ant script, i have a problem like,
    <b>classpath error:unable to find required rt.jar</b>
    error and the build fails with
    <b>noClassDefFoundError:org.apache/crimson/tree/XmlDocument</b>
    I tried adding <b>rt.jar</b> into the classpath forcibly but it did not work out.
    The ear file is built and packaged but the build fails.+
    Do we have a fix for this either by bea or IBM?
    Thanks,
    Vijay

    Hi
    This is a known issue addressed by CR205204
    As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
    IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
    You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
    Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
    Thanks
    Vimala

  • Problem with exported ant build scripts of a  WebService Project

    Hi All,
    My current task is a migration of working application (from Weblogic 8.1 to Weblogic 10.2).
    We have several independent projects and an EAR type of project in the workshop.
    When running ant from the command line, I am getting the following build error:
    BUILD FAILED
    D:\HPRA2\Services\BuildScripts\build.xml:388: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:125: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:125: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 12 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\BLD_Transformation.xml:67: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 21 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\workspace_build.xml:30: The following error occurred while executing this line
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 29 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:199: The following error occurred while executing
    this line:
    jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:380)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 37 more
    Caused by: jar:file:/D:/HPRA2/Services/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while
    executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:380)
    at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
    at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
    at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
    at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    ... 45 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\Ear_Transformation\build.xml:211: The following error occurred while executing
    this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:378)
    ... 55 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:413: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing this line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
    at com.bea.workshop.cmdline.antlib.AntCallExTask.execute(AntCallExTask.java:118)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:406)
    ... 69 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:207: The following error occurred while executing t
    his line:
    D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:406)
    ... 77 more
    Caused by: D:\HPRA2\Services\CoreServices\Transformation\Java\Transformation\TransformationWS\build.xml:546: java.lang.NullPointerException
    at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    ... 85 more
    Caused by: java.lang.NullPointerException
    at weblogic.wsee.tools.jws.decl.WebTypeDecl.getTargetNamespace(WebTypeDecl.java:213)
    at weblogic.wsee.tools.jws.decl.WebTypeDecl.<init>(WebTypeDecl.java:84)
    at weblogic.wsee.tools.jws.decl.WebResultDecl.<init>(WebResultDecl.java:22)
    at weblogic.wsee.tools.jws.decl.WebMethodDecl.<init>(WebMethodDecl.java:68)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.buildMethod(WebServiceSEIDecl.java:317)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.initMethods(WebServiceSEIDecl.java:303)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:95)
    at weblogic.wsee.tools.jws.decl.WebServiceSEIDecl.<init>(WebServiceSEIDecl.java:68)
    at weblogic.wsee.tools.jws.decl.WebServiceDeclFactory.newInstance(WebServiceDeclFactory.java:54)
    at weblogic.wsee.tools.anttasks.JwsModule.buildAndValidate(JwsModule.java:463)
    at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:454)
    at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:306)
    at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:226)
    at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:174)
    ... 93 more
    I really dont know what exactly the problem is?
    Any assistance would be highly appreciated.
    Thanks,
    Nirmal

    Hi...
    Actually the build.xml is created by the workshop itself when we use export ant scripts.
    And this build.xml contains the following target:
    &lt;target name="webservice.build" depends="init,generated.root.init"&gt;
    &lt;path id="jwsc.srcpath"&gt;
    &lt;path path="${java.sourcepath}" /&gt;
    &lt;pathelement path="build/assembly/.src" /&gt;
    &lt;/path&gt;
    &lt;taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" &gt;
    &lt;classpath&gt;
    &lt;path refid="weblogic.jar.classpath" /&gt;
    &lt;/classpath&gt;
    &lt;/taskdef&gt;
    &lt;property name="jwsc.module.root" value="${project.dir}/build/weboutput"/&gt;
    &lt;property name="jwsc.contextpath" value="TransformationWS"/&gt;
    &lt;property name="jwsc.srcpath.prop" refid="jwsc.srcpath"/&gt;
    &lt;path id="jwsc.classpath"&gt;
    &lt;path refid="weblogic.jar.classpath" /&gt;
    &lt;path refid="java.classpath" /&gt;
    &lt;pathelement path="${java.outpath}" /&gt;
    &lt;/path&gt;
    *&lt;jwsc*
    *destdir="${project.dir}/build"*
    *classpathref="jwsc.classpath"*
    *&gt;*
    &lt;module name="weboutput" explode="true" contextPath="${jwsc.contextpath}"&gt;
    &lt;jwsFileSet srcdir="${jwsc.srcpath.prop}"&gt;
    &lt;include name="**/*.java"/&gt;
    &lt;/jwsFileSet&gt;
    &lt;descriptor file="${jwsc.module.root}/WEB-INF/web.xml" /&gt;
    &lt;descriptor file="${jwsc.module.root}/WEB-INF/weblogic.xml" /&gt;
    &lt;/module&gt;
    &lt;/jwsc&gt;
    &lt;/target&gt;
    I never touch this build.xml as for rest of the services this gives no error.
    But for one of the services it gives the the error mentioned above.....
    Moreover the property "*jwsc.classpath*" is not set in the script.
    Although it seems that build script tries to set this property. How can I manually set this property as to run the script successfully.
    Thanks
    Nirmal...
    Edited by: nirmal_kumar on Jan 4, 2009 11:02 PM
    Edited by: nirmal_kumar on Jan 4, 2009 11:05 PM

  • Help with Workshop tutorial : building an ejb

    Hi, I've been trying to compile a project, with no luck.
    Please help!
    I have an entity bean and a session bean that references the entity bean. I can compile the entity bean by itself, but when I add the session bean, I'm not able to compile :-( I'm really new to ejbs & java. Please help!
    Thanks,
    Meera
    Here is the error log:
    Build project MyEJBProject started.
    BUILD STARTED
    build:
    check-env:
    WARNING: Checking to see if there is anything new to build...
    no-ejbgen:
    run-build:
    clean-modules:
    removed module 'MyEJBProject.jar'
    WARNING: Running EJBGen...
    Loading source file C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp/Hello\HelloBean.java...
    Loading source file C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp/Hello\VisitBean.java...
    Constructing Javadoc information...
    EJBGen 2.16
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\HelloHome.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\Hello.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\Visit.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\Hello\VisitHome.java
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\ejb-jar.xml
    [Info:] null [Bean] MAKE CLASS NAME G:HelloHome P:Hello N:HelloHome
    [Info:] null [Bean] MAKE CLASS NAME G:Hello P:Hello N:Hello
    [Info:] null [Bean] MAKE CLASS NAME G:VisitHome P:Hello N:VisitHome
    [Info:] null [Bean] MAKE CLASS NAME G:Visit P:Hello N:Visit
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-ejb-jar.xml
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\META-INF\weblogic-cmp-rdbms-jar.xml
    [Info:] Creating C:\Temp\/wlw_MyEJBProject_build/../wlw_ejb_crc//ejbgentemp\ejbgen-build.xml
    post-ejbgen:
    clean-ejbc:
    Copying 10 files to C:\Temp\wlw_MyEJBProject_build
    WARNING: EJBGen ok. Compiling...
    runjavac:
    Compiling 14 source files to C:\Temp\wlw_MyEJBProject_build
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_EOImpl.java:15: cannot resolve symbol
    symbol : class Hello
    location: interface Hello.Hello
    implements Hello.Hello, weblogic.utils.PlatformConstants
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_HomeImpl.java:13: cannot resolve symbol
    symbol : class HelloHome
    location: interface Hello.Hello
    implements Hello.HelloHome, weblogic.utils.PlatformConstants
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_HomeImpl.java:68: cannot resolve symbol
    symbol : class Hello
    location: interface Hello.Hello
    public Hello.Hello create ()
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_ELOImpl.java:15: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    implements Hello.Visit, weblogic.utils.PlatformConstants, java.io.Serializable
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_Intf.java:33: cannot resolve symbol
    symbol : class Visit_cbnl1s_Intf
    location: interface Hello.Hello
    (java.sql.ResultSet rs, java.lang.Integer offset, Object __WL_pk, Hello.Visit_cbnl1s_Intf var)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:13: cannot resolve symbol
    symbol : class VisitHome
    location: interface Hello.Hello
    implements Hello.VisitHome, weblogic.utils.PlatformConstants
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:70: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    public Hello.Visit create (java.lang.String arg0)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:95: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    public Hello.Visit findByPrimaryKey(java.lang.String arg0)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:76: cannot resolve symbol
    symbol : class VisitBean
    location: interface Hello.Hello
    public final class Visit_cbnl1s__WebLogic_CMP_RDBMS extends Hello.VisitBean
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:604: cannot resolve symbol
    symbol : class Visit_cbnl1s_Intf
    location: interface Hello.Hello
    Hello.Visit_cbnl1s_Intf beanIntf)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Hello_oztp1s_HomeImpl.java:72: cannot resolve symbol
    symbol : class Hello
    location: interface Hello.Hello
    return (Hello.Hello) super.create(md_ejbCreate);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:74: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    return (Hello.Visit) super.create(md_ejbCreate_S,
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s_LocalHomeImpl.java:99: cannot resolve symbol
    symbol : class Visit
    location: interface Hello.Hello
    return (Hello.Visit)
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:238: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.setEntityContext(arg0);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:251: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.unsetEntityContext();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:263: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbActivate();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:367: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS __WL_bean = null;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:443: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    __WL_bean = (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)__WL_pm.getBeanFromRS(__WL_pk, __WL_rsInfo);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:607: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS __WL_bean = (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)beanIntf;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:607: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS __WL_bean = (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)beanIntf;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:733: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbLoad();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:747: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbStore();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:761: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbRemove();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:826: cannot resolve symbol
    symbol : class Visit_cbnl1s__WebLogic_CMP_RDBMS
    location: interface Hello.Hello
    case 0: __WL_loadGroup0FromRS(rs, offset, __WL_pk, (Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS)eb); break;
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:919: reference to + is ambiguous, both method +(java.lang.String,java.lang.String) in and method +(java.lang.String,int) in match
    if(__WL_verbose) Debug.say("setting("+this+") 'visitNumber' using column " __WL_num ". Value is " + this.visitNumber);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1359: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbCreate( arg0);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1398: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbPostCreate( arg0);
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1543: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbRemove();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1603: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbLoad();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1634: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbStore();
    ^
    C:\Temp\wlw_MyEJBProject_build\Hello\Visit_cbnl1s__WebLogic_CMP_RDBMS.java:1750: cannot resolve symbol
    symbol : variable super
    location: class Hello.Visit_cbnl1s__WebLogic_CMP_RDBMS
    super.ejbPassivate();
    ^
    31 errors
    BUILD FAILED
    ERROR: Compile failed; see the compiler error output for details.

    It seems that the example provided (in the link) requires a web serverNo it doesn't. It requires an HTTP server.
    tomcat will be a better option which you can useThe Apache HTTP server might be more to the point.
    But If you are new to RMI and need to understand the exact flow of RMI I think this will not be a better exercise to start withI agree. I would get it running without the codebase feature. This isn't as widely used as you might think, and anyway it is a deployment option not something you need to engage with much when developing.
    @OP: ignore the HTTP stuff and the codebase feature and build 3 JAR files:
    (a) the common stuff (remote interface, stubs if any, and any classes referecned by the remote interface)
    (b) the server (the remote object itself and anything server-side it uses)
    (c) the client.
    The common JAR file should be deployed to both the server and the client, and both the other JARs should name it in their Class-Path entry in the manifest.

  • Customizing location of Workshop generated build files

    Hi,
    When I perform a build from Workshop on Windows 2000, the temp build files are
    created in
    a dir somewhere deep in the Documents and Settings folder.
    How do you customize Workshop to create build files in a different location ?
    Thanks in advance
    -Anil

    Are you sure those differences are just timestamps?
    As someone on comp.unix.programmer mentioned, those hex values map to chars,
    0x4C == 'L'
    0x5A == 'Z'
    0x44 == 'D'
    0x6A == 'j'
    Which looks to me possibly like C++ name-mangling. Are you sure the function signatures didn't change between compiles? You could check:
    %nm try14.o > symbols14.txt
    %nm try15.o > symbols15.txt
    %diff symbols14.txt symbols15.txt
    What is the source of your requirement to compare binaries?
    Josh Walker

  • Issue with Generate Create Script in new ODT 11.1.0.5.10 beta

    So I'm trying to determine if there's an issue with the Generate Create Script option in the new ODT 11.1.0.5.10 beta (when you right click on a table in Server Explorer).
    The SQL create script that it generates lacks the slash between lines. For example I generated the create script for my User table and this is what was generated:
    CREATE TABLE "DEV"."SYSTEM_USER_TB" ("RID" NUMBER(10,0),"USER_NAME" VARCHAR2(256 CHAR),"APPLICATION_RID" NUMBER(10,0),"FIRST_NAME" VARCHAR2(256 CHAR),"LAST_NAME" VARCHAR2(256 CHAR),"PW" VARCHAR2(128 CHAR),"PW_FORMAT" NUMBER,"PW_SALT" VARCHAR2(128 CHAR),"LAST_ACTIVITY_DT" DATE,"EXPIRATION_DT" DATE,"EMAIL" VARCHAR2(256 CHAR),"PW_QUESTION" VARCHAR2(256 CHAR),"PW_ANSWER" VARCHAR2(256 CHAR),"APPROVED_FLG" NUMBER(1,0),"LOCKED_OUT_FLG" NUMBER(1,0),"LAST_LOGIN_DT" DATE,"LAST_PW_CHANGED_DT" DATE,"LAST_LOCKOUT_DT" DATE,"FAILED_PW_ATTEMPT_CNT" NUMBER(6,0),"FAILED_PW_ATTEMPT_WINSTART" DATE,"FAILED_PW_ANSW_ATTEMPT_CNT" NUMBER(8,0),"FAILED_PW_ANSW_ATTEMPT_WINSTRT" DATE,"CREATED_BY_RID" NUMBER(10,0),"CREATED_DT" DATE,"MODIFIED_BY_RID" NUMBER(10,0),"MODIFIED_DT" DATE) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 131072 MAXEXTENTS 2147483645 MINEXTENTS 1 )
    CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033033" PRIMARY KEY ("RID") USING INDEX "DEV"."XPKSTAFF" ENABLE VALIDATE )
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033032" CHECK ("RID" IS NOT NULL) ENABLE VALIDATE )
    CREATE TRIGGER "DEV"."SYSTEM_USER_TRG1"
    BEFORE
    INSERT
    ON "DEV"."SYSTEM_USER_TB"
    FOR EACH ROW
    begin
         select SYSTEM_USER_SEQ.nextval into :new.RID from dual;
    end;
    In my new Oracle Database Project, if I right click on the script and select "Run" or "Run On", the script fails saying:
    Connected.
    CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
    ERROR at line 2:
    ORA-00922: missing or invalid option
    If I then add, a slash between lines, the script runs successfully and creates the table/trigger and whatever else just fine. For example, I changed the above generated code to look as follows:
    CREATE TABLE "DEV"."SYSTEM_USER_TB" ("RID" NUMBER(10,0),"USER_NAME" VARCHAR2(256 CHAR),"APPLICATION_RID" NUMBER(10,0),"FIRST_NAME" VARCHAR2(256 CHAR),"LAST_NAME" VARCHAR2(256 CHAR),"PW" VARCHAR2(128 CHAR),"PW_FORMAT" NUMBER,"PW_SALT" VARCHAR2(128 CHAR),"LAST_ACTIVITY_DT" DATE,"EXPIRATION_DT" DATE,"EMAIL" VARCHAR2(256 CHAR),"PW_QUESTION" VARCHAR2(256 CHAR),"PW_ANSWER" VARCHAR2(256 CHAR),"APPROVED_FLG" NUMBER(1,0),"LOCKED_OUT_FLG" NUMBER(1,0),"LAST_LOGIN_DT" DATE,"LAST_PW_CHANGED_DT" DATE,"LAST_LOCKOUT_DT" DATE,"FAILED_PW_ATTEMPT_CNT" NUMBER(6,0),"FAILED_PW_ATTEMPT_WINSTART" DATE,"FAILED_PW_ANSW_ATTEMPT_CNT" NUMBER(8,0),"FAILED_PW_ANSW_ATTEMPT_WINSTRT" DATE,"CREATED_BY_RID" NUMBER(10,0),"CREATED_DT" DATE,"MODIFIED_BY_RID" NUMBER(10,0),"MODIFIED_DT" DATE) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 131072 MAXEXTENTS 2147483645 MINEXTENTS 1 )
    CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033033" PRIMARY KEY ("RID") USING INDEX "DEV"."XPKSTAFF" ENABLE VALIDATE )
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033032" CHECK ("RID" IS NOT NULL) ENABLE VALIDATE )
    CREATE TRIGGER "DEV"."SYSTEM_USER_TRG1"
    BEFORE
    INSERT
    ON "DEV"."SYSTEM_USER_TB"
    FOR EACH ROW
    begin
         select SYSTEM_USER_SEQ.nextval into :new.RID from dual;
    end;
    So, does anyone know if this is a bug? Could I be missing an option to add in the slashes to the generated code? Is there an option to not require the slashes? Could there be another way to execute these scripts?
    Seriously, I think I'm having deja vu from the last release of the Dev Tools: Generate Create Script creates scripts that won't run: ORA-00922: missing..
    ...except this time the documentation says I should be able to use the "Run" and "Run On" commands in the Oracle Database Project (see page 8): http://www.oracle.com/technology/tech/dotnet/pdf/ODT11_whatsnew.pdf
    null

    There are 2 issues in the generated script :
    1. Missing semicolons at the end of the create stmts
    2. Missing slashes
    Both of these fixes will be available in the ODT 11.1 release.

  • Excluding directories for Workshop generated EAR

    I am using the default exported build script to build my ear. The EAR has 2 java
    projects and a portal webapp. However in my directory structure I also have some
    other directories that contain things like SQL scripts etc. How do I set up the
    default build scripts in such a way that these directories are not included in
    the EAR?
    Thanks
    rv

    So I just started playing with WLW and created a Web
    Service in a couple hours. Now I want to deploy the
    generated .ear to another Weblogic server.
    First I got this error on the deploy:
    java.lang.NoClassDefFoundError:
    weblogic.servlet.wlwJSPServlet
    ...so I changed the reference in the weblogic.xml to
    weblogic.servlet.JSPServlet.
    Now I get another error on the deploy:
    java.lang.NoClassDefFoundError:
    com/bea/wlw/runtime/core/bean/SLSBContainerBean
    ...and I figure there are hooks all over this .ear
    for a Workshop Domain.
    So my question is:
    Is there a way (aside from packaging the whole thing
    g myself) to get Workshop to generate an .ear that
    will just work on my non-Workshop Weblogic Server?Probably not... Check out the following on upgrading an existing domain to a workshop domain: http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html

  • Runtime-Error after deploying a mapping with the generated script

    For example a very easy scenario:
    1. Create a table and a view in a DB-schema, witch ist registered as WB-target-schema with the following scripts:
    create view v1(c1) as select 'a' c1 from dual;
    create table t1(c1 varchar2(1));
    2. Import the table and the view into a OWB-module
    3. Create a mapping ‘m1’
    4. Drag and drop view and table into the mapping
    5. Draw an arrow from the view-column to the table-column
    6. Save and close the mapping
    7. Mark the mapping in the ‘Design Center’ and klick the ‘Generate’-Button
    8. Save the generated script ‘M1.pls’ to file
    9. Run the script in SQL*Plus, connected with the target-schema (without using the Control Center Manager)
    => very easy right now ;-)
    10. Start the mapping with the following script will produce the following error
    SQL> declare
    2 v_status varchar2(100);
    3 begin
    4 m1.main(v_status);
    5 end;
    6 /
    declare
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "OWB_OWN.WB_RT_MAPAUDIT_UTIL", line 1027
    ORA-06512: at "SCOTT.M1", line 2048
    ORA-06512: at line 4
    If i delete or comment the four WB_RT_MAPAUDIT_UTIL-calls - it work´s fine!
    But is this a good advise?
    What exactly does the wrapped package ‘WB_RT_MAPAUDIT_UTIL do?
    Thanks
    jwehner

    I just ran into the same problem myself. I used the same technique of saving the generated OWB script to file and then compiling it through sqlplus. When I used the "Deploy" option for the mapping, then the problem went away. So when OWB is deploying the code it seems to be setting something internally that doesn't get set when you simple compile the PL/SQL. I don't know of any workaround to this. I will need it eventually, since I don't want to use the UI to deploy to various test environments and production. Maybe the built-in scripting language is the way to go.

  • Unable to start WLS8.1sp4 after extended with Workshop& Integration Templat

    Hi,
    I have configured three domains of WLS8.1sp4 on
    unique ports namely 6001, 7001 & 8001 but
    only one domain can be started on the port 7001
    but there is a problem starting the other ports.
    All the three domains WLS were able to be started
    without any problem at all before the domains
    were being extended with Workshop and Integration
    Templates from the Basic Weblogic Server Domain
    in the Weblogic Configuration using the built-in Configuratino Wizard.
    Could someone please assist ?
    ./startWebLogic.sh
    JAVA Memory arguments: -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=:/dev_app/bea/weblogic81/server/lib/weblogic_knex_patch.jar:/dev_app/bea/weblogic81/common/lib/log4j.jar:/dev_app/bea/weblogic81/server/lib/debugging.jar:/dev_app/bea/weblogic81/server/lib/knex.jar:/dev_app/bea/weblogic81/javelin/lib/javelin.jar:/dev_app/bea/weblogic81/server/lib/wlw-lang.jar:/dev_app/bea/jdk142_05/lib/tools.jar:/dev_app/bea/weblogic81/server/lib/weblogic_sp.jar:/dev_app/bea/weblogic81/server/lib/weblogic.jar:/dev_app/bea/weblogic81/server/lib/ant/ant.jar:/dev_app/bea/jdk142_05/jre/lib/rt.jar:::/dev_app/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/dev_app/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/dev_app/bea/weblogic81/server/lib/webserviceclient.jar:/dev_app/bea/weblogic81/server/lib/webserviceclient+ssl.jar:/dev_app/bea/weblogic81/server/lib/xbean.jar:/dev_app/bea/weblogic81/server/lib/wlxbean.jar:/dev_app/bea/weblogic81/server/lib/xqrl.jar:/dev_app/bea/weblogic81/server/lib/netui/netui-compiler.jar:/dev_app/bea/weblogic81/server/lib/wli.jar:/dev_app/bea/weblogic81/server/lib/fop.jar:/dev_app/bea/weblogic81/integration/adapters/sample/lib/sample-eis.jar:
    PATH=/dev_app/bea/weblogic81/server/bin:/dev_app/bea/jdk142_05/jre/bin:/dev_app/bea/jdk142_05/bin:/usr/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-480R/sbin:/opt/sun/bin::/opt/SUNWexplo/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    Error [125] in bind() call!
    err:: Address already in use
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    FATAL ERROR in native method: No transports initialized
    Starting WLS with line:
    /dev_app/bea/jdk142_05/bin/java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -Dplatform.home=/dev_app/bea/weblogic81 -Dwls.home=/dev_app/bea/weblogic81/server -Dwli.home=/dev_app/bea/weblogic81/integration -Dlog4j.configuration=file:/dev_app/bea/weblogic81/common/lib/workshopLogCfg.xml -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled= -Dweblogic.security.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.Name=myserver -Djava.security.policy=/dev_app/bea/weblogic81/server/lib/weblogic.policy weblogic.Server
    === Debugging ===
    This window is necessary for debugging code using WebLogic Workshop
    Error [125] in bind() call!
    err:: Address already in use
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    FATAL ERROR in native method: No transports initialized
    Stopping the Weblogic Workshop debugger...
    ERROR: Proxy already running...
    weblogic.debugging.comm.SocketCommException
    at weblogic.debugging.comm.SocketComm.accept(SocketComm.java:53)
    at weblogic.debugging.comm.ServerSocketComm.accept(ServerSocketComm.java:53)
    at weblogic.debugging.engine.ProxyThread.run(ProxyThread.java:81)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.io.InterruptedIOException: operation interrupted
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
    at java.net.ServerSocket.implAccept(ServerSocket.java:448)
    at java.net.ServerSocket.accept(ServerSocket.java:419)
    at weblogic.debugging.comm.SocketComm.accept(SocketComm.java:47)
    ... 3 more
    Debugger Stopped.
    Stopping Pointbase server...
    Pointbase server stopped.

    Problem solved since default ports 8453 & 9093 were occupied
    But behaviour on Windows for debug is different from Unix which requires unique potr althought windows still works.

  • RPC/SOAP-Encoded Web Service with Workshop

    Is there anyway to create a RPC/SOAP-Encoded Web Service with Workshop ? There is an "encoding" attribute in the autotype ant task but no corresponding properties in Workshop.

    Hi,
    Thanks for the reference.
    I have checked both in the wsdl and the Soap message,
    rpc property effectively means rpc/encoded. Now that
    would say that RPC/Literal is not supported ?
    Here are what the messages looks like with rpc and
    document properties
    Thanks all for making this clear.
    document wlw property = Document/Literal
    <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <ns:getEmployeeResponse xmlns:ns="http://www.openuri.org/">
    <ns:getEmployeeResult xmlns:ns="http://www.openuri.org/">
    <ns:Address xmlns:ns="http://www.openuri.org/">
    <ns:City xmlns:ns="http://www.openuri.org/">Luxembourg</ns:City>
    <ns:Country xmlns:ns="http://www.openuri.org/">LU</ns:Country>
    <ns:Number xmlns:ns="http://www.openuri.org/">2</ns:Number>
    <ns:PostCode xmlns:ns="http://www.openuri.org/">1000</ns:PostCode>
    <ns:Street xmlns:ns="http://www.openuri.org/">Bld. Royal</ns:Street>
    </ns:Address>
    <ns:Age xmlns:ns="http://www.openuri.org/">20</ns:Age>
    <ns:Name xmlns:ns="http://www.openuri.org/">Dupont</ns:Name>
    <ns:FirstNames xmlns:ns="http://www.openuri.org/">
    <ns:String xmlns:ns="http://www.openuri.org/">Jean</ns:String>
    <ns:String xmlns:ns="http://www.openuri.org/">Jacques</ns:String>
    </ns:FirstNames>
    </ns:getEmployeeResult>
    </ns:getEmployeeResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    rpc wlw property = RPC/Soap-Encoded
    <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <ns:getEmployeeResponse xmlns:ns="http://www.openuri.org/">
    <getEmployeeResult xmlns:s="http://www.openuri.org/encodedTypes" xsi:type="s:Employee">
    <Address xsi:type="s:Address">
    <City xsi:type="xsd:string">Luxembourg</City>
    <Country xsi:type="xsd:string">LU</Country>
    <Number xsi:type="xsd:int">2</Number>
    <PostCode xsi:type="xsd:string">1000</PostCode>
    <Street xsi:type="xsd:string">Bld. Royal</Street>
    </Address>
    <Age xsi:type="xsd:int">20</Age>
    <Name xsi:type="xsd:string">Dupont</Name>
    <FirstNames SOAP-ENC:arrayType="xsd:string[2]" xsi:type="SOAP-ENC:Array">
    <String xsi:type="xsd:string">Jean</String>
    <String xsi:type="xsd:string">Jacques</String>
    </FirstNames>
    </getEmployeeResult>
    </ns:getEmployeeResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Message was edited by phcollignon at Aug 27, 2004 2:54 AM

  • Ant with Workshop

    When I exported ant build script out of workshop (it creates exported_build.xml),
    and run the same script at command line I am getting the following error:
    UNCAUGHT EXCEPTION IN JAVELIN COMPILER!
    File a pri-1 bug on knex-compilerthread: Exclusive Thread error: com/bea/xml/marshall/SchemaTypeBuilder
    stack: java.lang.NoClassDefFoundError: com/bea/xml/marshal/SchemaTypeBuilder
    Any help is greatly appreciated.
    Thanks, Prasad

    The normal "exported_build.xml" file has two hardcoded paths, one for "weblogic.home", and one for "app.dir". If either one of these is invalid when checked out by CruiseControl, then the build will fail. From what you describe, it sounds like the "weblogic.home" value is invalid.
    Noting this, I set up a build process in a "build.xml" script that generates a "transformed_build.xml" file from an XSLT stylesheet, which replaces the "weblogic.home" value with the value of "env.BEA_HOME", and replaces "app.dir" with ".". The "build.xml" then runs the "build" target from the "transformed_build.xml" file.

  • Workshop generated WSDL.

    In short when I load a WSDL that Workshop generates into XMLSpy , SoapScope , and
    Cape Clear Studio 4 the file shows up as invalid.
    So when I tried to generate a WSDL with Cape Clear Studio 4 using the same input
    and out put
    parameters for the previously generated wsdl file from WorkShop, WorkShop compiles
    the schema but the says method blah blah cannot be executed.
    Is this a bug with Workshop or just me not doing something correctly.

    Here is a big one for you.
    basically I took a WSDL that web logic generated. Put it in another wsdl tool
    and
    added a header to it. I also renamed the service and port binding too.
    Workshop did compile that and produce a web service for it.
    I do not know if I am the cause of the error. In the attached
    WSDL you can see that I added to header messages.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    targetNamespace="http://www.openuri.org/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd1="http://www.openuri.org/.xsd1">
    <types>
    <s:schema
    elementFormDefault="qualified"
    targetNamespace="http://www.openuri.org/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.openuri.org/"
    xmlns:sea="http://testing/searchparameters"
    xmlns:sea2="http://testing/searchresults"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <s:import namespace="http://testing/searchparameters"/>
    <s:import namespace="http://testing/searchresults"/>
    <s:element name="startQuery">
    <s:complexType>
    <s:sequence>
    <s:element nillable="true" ref="sea:SearchParameters"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="startQueryResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="startQueryResult" type="s:boolean"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="getResults">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getResultsResponse">
    <s:complexType>
    <s:sequence>
    <s:element nillable="true" ref="sea2:search_results"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="isQueryDone">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="isQueryDoneResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="isQueryDoneResult" type="s:boolean"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    <xs:schema
    attributeFormDefault="unqualified"
    elementFormDefault="qualified"
    targetNamespace="http://testing/searchparameters"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:parm="http://testing/searchparameters"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="SearchParameters">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" name="LibraryName" type="xs:string"/>
    <xs:element maxOccurs="unbounded" name="Fields" nillable="true">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FieldName" type="xs:string"/>
    <xs:element name="Query" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="DocumentTextQuery" type="xs:string"/>
    <xs:element default="BOOLEAN" name="QueryMode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="PATTERN"/>
    <xs:enumeration value="CONCEPT"/>
    <xs:enumeration value="BOOLEAN"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element default="3" minOccurs="0" name="WordExpansion">
    <xs:simpleType>
    <xs:restriction base="xs:int">
    <xs:minInclusive value="1"/>
    <xs:maxInclusive value="9"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element minOccurs="0" name="FromDate" type="parm:searchdate"/>
    <xs:element minOccurs="0" name="ToDate" type="parm:searchdate"/>
    <xs:element minOccurs="0" name="RetrievalLimits">
    <xs:complexType>
    <xs:sequence>
    <xs:element default="1000" minOccurs="0" name="MaxNumberOfDocs">
    <xs:simpleType>
    <xs:restriction base="xs:int">
    <xs:minInclusive value="1"/>
    <xs:maxInclusive value="1000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element default="0" minOccurs="0" name="MinCoarseGrainRank">
    <xs:simpleType>
    <xs:restriction base="xs:int">
    <xs:minInclusive value="0"/>
    <xs:maxInclusive value="99"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element minOccurs="0" name="NaturalLanguageSettings">
    <xs:complexType>
    <xs:sequence>
    <xs:element default="3" minOccurs="0" name="WordExpansionLevel">
    <xs:simpleType>
    <xs:restriction base="xs:int">
    <xs:minInclusive value="1"/>
    <xs:maxInclusive value="9"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element default="APROXIMATE" minOccurs="0"
    name="ExactPhraseMatching">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="PRECISE"/>
    <xs:enumeration value="APROXIMATE"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element minOccurs="0" name="ExpansionLimits">
    <xs:complexType>
    <xs:sequence>
    <xs:element default="100" minOccurs="0"
    name="NumberofWildcardWords">
    <xs:simpleType>
    <xs:restriction base="xs:int">
    <xs:minInclusive value="1"/>
    <xs:maxInclusive value="1000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element default="25" minOccurs="0"
    name="NumberofPatternMatchingWords">
    <xs:simpleType>
    <xs:restriction base="xs:int">
    <xs:minInclusive value="1"/>
    <xs:maxInclusive value="1000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:simpleType name="searchdate">
    <xs:annotation>
    <xs:documentation>date format is YYYY-MM-DD or *</xs:documentation>
    </xs:annotation>
    <xs:union memberTypes="xs:date">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="*"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:union>
    </xs:simpleType>
    </xs:schema>
    <xs:schema
    attributeFormDefault="unqualified"
    elementFormDefault="qualified"
    targetNamespace="http://testing/searchresults"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:rslt="http://testing/searchresults"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="search_results">
    <xs:annotation>
    <xs:documentation>This represents the returnable items in
    a search.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="number_of_documents" type="xs:int"/>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="documents">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="document_id" type="xs:string"/>
    <xs:element name="title" type="xs:string"/>
    <xs:element name="rank" type="xs:int"/>
    <xs:element minOccurs="0" name="pub_name"
    type="xs:string"/>
    <xs:element minOccurs="0" name="source" type="xs:string"/>
    <xs:element name="origdate" type="xs:date"/>
    <xs:element minOccurs="0" name="origdtg" type="xs:date"/>
    <xs:element minOccurs="0" name="input_id"
    type="xs:string"/>
    <xs:element minOccurs="0" name="from" type="xs:string"/>
    <xs:element name="library_name" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <s:schema
    elementFormDefault="qualified"
    targetNamespace="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:s0="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <s:element name="StartHeader" type="conv:StartHeader"/>
    <s:element name="ContinueHeader" type="conv:ContinueHeader"/>
    <s:element name="CallbackHeader" type="conv:CallbackHeader"/>
    <s:complexType name="StartHeader">
    <s:sequence>
    <s:element maxOccurs="1" minOccurs="0" name="conversationID"
    type="s:string"/>
    <s:element maxOccurs="1" minOccurs="0" name="callbackLocation"
    type="s:string"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="ContinueHeader">
    <s:sequence>
    <s:element maxOccurs="1" minOccurs="1" name="conversationID"
    type="s:string"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="CallbackHeader">
    <s:sequence>
    <s:element maxOccurs="1" minOccurs="1" name="conversationID"
    type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:schema>
    <xsd:schema
    targetNamespace="http://www.openuri.org/.xsd1"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd1="http://www.openuri.org/.xsd1">
    <s:complexType name="Authentication">
    <s:sequence>
    <s:element maxOccurs="1" minOccurs="1" name="username" type="s:string"/>
    <s:element maxOccurs="1" minOccurs="1" name="password" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </xsd:schema>
    </types>
    <message name="getResultsSoapOut">
    <part element="s0:getResultsResponse" name="parameters"/>
    </message>
    <message name="getResultsSoapIn">
    <part element="s0:getResults" name="parameters"/>
    </message>
    <message name="startQuerySoapIn">
    <part element="s0:startQuery" name="parameters"/>
    </message>
    <message name="StartHeader_literal">
    <part element="conv:StartHeader" name="StartHeader"/>
    </message>
    <message name="isQueryDoneSoapOut">
    <part element="s0:isQueryDoneResponse" name="parameters"/>
    </message>
    <message name="ContinueHeader_literal">
    <part element="conv:ContinueHeader" name="ContinueHeader"/>
    </message>
    <message name="Authentication">
    <part name="AuthHeader" type="xsd1:Authentication"/>
    </message>
    <message name="isQueryDoneSoapIn">
    <part element="s0:isQueryDone" name="parameters"/>
    </message>
    <message name="startQuerySoapOut">
    <part element="s0:startQueryResponse" name="parameters"/>
    </message>
    <message name="getResultsRequest"> </message>
    <portType name="ExecuteQuerySoap">
    <operation name="startQuery">
    <input message="s0:startQuerySoapIn"/>
    <output message="s0:startQuerySoapOut"/>
    </operation>
    <operation name="getResults">
    <input message="s0:getResultsRequest"/>
    <output message="s0:getResultsSoapOut"/>
    </operation>
    <operation name="isQueryDone">
    <input message="s0:isQueryDoneSoapIn"/>
    <output message="s0:isQueryDoneSoapOut"/>
    </operation>
    </portType>
    <binding name="TestBinding" type="s0:ExecuteQuerySoap">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="startQuery">
    <soap:operation soapAction="startQuery" style="document"/>
    <input>
    <soap:body use="literal"/>
    <soap:header
    encodingStyle=""
    message="s0:StartHeader_literal"
    part="StartHeader"
    use="literal"> </soap:header>
    <soap:header
    encodingStyle=""
    message="s0:Authentication"
    part="AuthHeader"
    use="literal"> </soap:header>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="getResults">
    <soap:operation soapAction="getResults" style="document"/>
    <input>
    <soap:body use="literal"/>
    <soap:header
    encodingStyle=""
    message="s0:ContinueHeader_literal"
    part="ContinueHeader"
    use="literal"> </soap:header>
    <soap:header
    encodingStyle=""
    message="s0:Authentication"
    part="AuthHeader"
    use="literal"> </soap:header>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="isQueryDone">
    <soap:operation soapAction="isQueryDone" style="document"/>
    <input>
    <soap:body use="literal"/>
    <soap:header
    encodingStyle=""
    message="s0:ContinueHeader_literal"
    part="ContinueHeader"
    use="literal"> </soap:header>
    <soap:header
    encodingStyle=""
    message="s0:Authentication"
    part="AuthHeader"
    use="literal"> </soap:header>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ExecuteQuerySoap">
    <port binding="s0:TestBinding" name="asdasdasdasd">
    <soap:address location="http://localhost:8000/ccx/ExecuteQuerySoap"/>
    </port>
    </service>
    </definitions>
    and here is the test result from the workshop webservices test screen/console.
    here is the start query call.
    <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <startQuery xmlns="http://www.openuri.org/">
    <SearchParameters>
    <LibraryName>
    <String>string</String>
    </LibraryName>
    <Fields>
    <Fields>
    <FieldName>string</FieldName>
    <Query>string</Query>
    </Fields>
    </Fields>
    <DocumentTextQuery>string</DocumentTextQuery>
    <QueryMode>string</QueryMode>
    <WordExpansion>3</WordExpansion>
    <RetrievalLimits>
    <MaxNumberOfDocs>3</MaxNumberOfDocs>
    <MinCoarseGrainRank>3</MinCoarseGrainRank>
    </RetrievalLimits>
    <NaturalLanguageSettings>
    <WordExpansionLevel>3</WordExpansionLevel>
    <ExactPhraseMatching>string</ExactPhraseMatching>
    <ExpansionLimits>
    <NumberofWildcardWords>3</NumberofWildcardWords>
    <NumberofPatternMatchingWords>3</NumberofPatternMatchingWords>
    </ExpansionLimits>
    </NaturalLanguageSettings>
    </SearchParameters>
    </startQuery>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    here is the error.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode xmlns:fc="http://www.bea.com/2003/04/jwFaultCode/">fc:JWSError</faultcode>
    <faultstring>
    Error deserializing arguments.
    Unrecognized element SearchParameters@http://www.openuri.org/ - expected SearchParameters@http://testing/searchparameters
    </faultstring>
    etc.........
    So what am I doing wrong.
    "Raj Alagumalai" <[email protected]> wrote:
    Tim,
    Can you attach the generated WSDL and the errors displayed.
    Also can you verify the build number from the WebLogic Workshop IDE.
    The build information can be obtained from Help -> About WebLogic Workshop
    The build number for the GA release is Version 8.1 Build ( 2003.0710.190003)
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Tim Bounds" <[email protected]> wrote in message
    news:[email protected]...
    In short when I load a WSDL that Workshop generates into XMLSpy ,SoapScope , and
    Cape Clear Studio 4 the file shows up as invalid.
    So when I tried to generate a WSDL with Cape Clear Studio 4 using thesame
    input
    and out put
    parameters for the previously generated wsdl file from WorkShop, WorkShopcompiles
    the schema but the says method blah blah cannot be executed.
    Is this a bug with Workshop or just me not doing something correctly.

  • OSB with Workshop for Weblogic 10.3 ?

    Hi,
    I have a simple webservice deployed on weblogic server and the wsdl for the same service is below.
    Now my question is i was trying to create the proxy service from the wsdl web service. I selected the browse button and selected this webservice to be consumed and i get the following error.
    What can be the possible cause?
    <?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.3-07/10/2008 08:41 PM(bt). --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.3-07/10/2008 08:41 PM(bt). --><definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://services/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://services/" name="MailingListServiceService">
    <types>
    <xsd:schema>
    <xsd:import namespace="http://services/" schemaLocation="http://10.131.29.86:7001/ServiceWeb/MailingListServiceService?xsd=1" />
    </xsd:schema>
    </types>
    <message name="getCustomers">
    <part name="parameters" element="tns:getCustomers" />
    </message>
    <message name="getCustomersResponse">
    <part name="parameters" element="tns:getCustomersResponse" />
    </message>
    <portType name="MailingListService">
    <operation name="getCustomers">
    <input message="tns:getCustomers" />
    <output message="tns:getCustomersResponse" />
    </operation>
    </portType>
    <binding name="MailingListServicePortBinding" type="tns:MailingListService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="getCustomers">
    <soap:operation soapAction="" />
    <input>
    <soap:body use="literal" />
    </input>
    <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    <service name="MailingListServiceService">
    <port name="MailingListServicePort" binding="tns:MailingListServicePortBinding">
    <soap:address location="http://10.131.29.86:7001/ServiceWeb/MailingListServiceService" />
    </port>
    </service>
    </definitions>
    !http://img4.imageshack.us/img4/4765/osbrahul.th.gif! http://img4.imageshack.us/img4/4765/osbrahul.gif
    Thanks,
    Rahul
    Edited by: Rahul Juneja on Jun 18, 2009 2:40 PM

    Hi Rahul,
    Did you try the Bulk Import option in Workshop / Service Bus Console for the WSDL? Generally, this takes care of the dependent resources
    For Bulk Import, you can:
    a. From Editor:
    1. Select a Project and then a folder > right click > select Import > Oracle Service Bus - Resources from URL
    2. Give the URL of the WSDL file (I guess it would be http://10.131.29.86:7001/ServiceWeb/MailingListServiceService?WSDL), a resource name, and select WSDL from the drop down
    3. Click on Next / Finish. I believe the editor does an introspection, finds the dependent resources (if the exists, see additional comments below) and imports them into the environment
    b. From OSB Web Console
    1. Start a session
    2. Go To create New Resource and Select Bulk Imports. Rest of the steps remains the same
    Additionally, you may also want to check:
    a. Whether the xsd document mentioned in the import statement is accessable. For this, from your development environment, open a web browser and type in the URL (ei. http://10.131.29.86:7001/ServiceWeb/MailingListServiceService?xsd=1). If it is accessable, you may want to save it for manual referencing, in case Bulk Import does not work
    b. Check if the XSD file thus obtained has any other import statements, refering to some other schemas. In that case, you may have to repeat the exercise for all dependent schemas, till you have covered the list.
    Thanks & Regards,
    Vivek

  • Different migration options with OWB.

    Hi there,
    We are very new to Oracle Warehouse Builder (OWB) version 10.2.0.3. We are Oracle E-Business Suite users. We will be loading data into 10gOLAP cubes via Analytical Workspace Manager and will be using Discoverer for OLAP for reporting.
    We are considering various options with OWB migration from DEV -> UAT -> PROD.
    Our current thinking is to install OWB in our DEV environment only. PL/SQL packages that are generated in DEV and tested will be migrated to UAT for execution.
    Results of the execution of the PL/SQL packages in UAT will be subjected to users testing. Upon successful UAT testing by the users, we then migrate the PL/SQL code to PROD for execution.
    What are the short comings of the above arrangement as compare to installing OWB on all three environments.
    Also what are the benefits of using Workflow Manager as compared to using concurrent manager to submit our OWB PL/SQL packages?
    Please share your thoughts on the above.
    Thank you in advance

    Sorry, but as you deduced, you cannot use branching in tests.
    A test is expected to be a linear progression of slides,
    where all scored slides have answers. If the user never sees some
    questions, they cannot get 100%.
    You might want to submit a feature request to specify that
    only answered questions be evaluated when determining quiz passing
    (or whatever terminology best fits what you'd like to see).
    You can so so here:
    Link
    to Adobe Captivate Feature Request Form

  • _pageflow folder creation problems with generated build.xml

    I currently have a Workshop project with a web app that builds my ear file just fine. But the problem is, when I export the build.xml file from the project and try to run it with ant, it doesn't generate the _pageflow folders that I would expect.  Consequently, it doesn't get packaged in and causes errors when I deploy it.  The funny thing is that if I generate the ear file from Workshop, it builds, deploys, and runs just fine.
    Anybody encountered this before? Does anyone know how the pageflow folders get built?  I narrowed it down the to build.xml <apt> task which seems to be one responsible for creating the pageflow folders. It also seems to be looking for jar file references in the .factorypath file, but I don't quite know which ones I'm supposed to use.
    Any help?

    No help from anyone?

Maybe you are looking for

  • Reports Layout- storing custom report layouts that aren't FOP/RTF

    I am actually setting up a similar environment to the supported FOP processor, but with a JasperReports custom j2ee web application (WAR). I am having some degree of success. Instead of relying on passing user/pass for a JDBC connection, I have repor

  • Need a fix for page loading halfway down.

    On my laptop, the page for "Glory of Rome" a facebook game, loads halfway down the page. On my desktop I do not have this issue. Would you please provide some suggestions on how I may fix this issue?

  • Populate PDF

    Hi How Populate my PDF Form, with asp, or asp.net? I have a PDF Form, and asp page The asp page consulting data base form send data XML to pdf, How Populate my PDF Form with that data? Thanks you

  • Help. New to Photoshop

    Hi, I own tanning salon in Dallas which provice spray tan, body wrap, teeth whitening and tanning products in Dallas Area. I would like to create advertising material using photoshop myself. Can anyone please guide me to right dirction about lessons

  • AIA documentation for operations

    I am looking fror documentation to operate and monitor AIA. - How to monitor ESB/BPEL processes - Error handling - Stop/start server - Retry failed processes - Analyze errors This information is probably scattered in BPEL PM, Enterprise Manager, ESB