Issues  with binding conatiner

Requirement :
Lets say my page contains two jsff,dragged and dropped as regions.
I want to get the binding container of the other jsff while I am in the first jsff.
The jsff contains form and has few input text components and checkbox component.
This I have done before but in that case the other jsff had a table component.
I wrote this code to get the Binding container :
RichTable deptable = (RichTable)ADFUtil.findComponentInRoot("deptTable");
CollectionModel model = (CollectionModel)deptable.getValue();
JUCtrlHierBinding employeesTableBinding =(JUCtrlHierBinding)model.getWrappedData();
DCBindingContainer dcbindings = employeesTableBinding.getBindingContainer();
OperationBinding operationBinding =dcbindings.getOperationBinding("ExecuteWithParams");
How to get the binding container when I dont have a table component but a form layout containing some input texts and checkboxes.

Hi,
you cannot get directly to the binding container of a another region. Instead you need to perform region-interaction, which you use contextual events for or other means. See this recording for the options you have
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf-region-interaction/adf-region-interaction.html
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AdfInsiderContextualEvents/AdfInsiderContextualEvents.html
and read this
http://www.oracle.com/technetwork/issue-archive/2013/13-may/o33adf-1920483.html
Frank

Similar Messages

  • Integrated Planning:  Planning Functions in the Web - Issues with Binding

    Hi
    We are on SPS 11 and are having some difficulties getting our Planning Functions to execute corerctly in the web templates.
    I have created a simple planning function that performs a distribution.
    The Planning Function works as expected using the plannning wizard and ristricts the data based on the Filter that I have created on the Aggregation Level as well as the Planning Function Selections.
    I have created a query and web template that contains the same restriction as the filter in my aggregation level. The Agg Level filter / planning function and Query Filter all contain the Hierarchy Node Variable ZN_CC1 for the standard Cost Center Hierarchy.
    I have created the following 4 Planning Buttons to test the execution of the Planning Function in the Web:
    1. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Hierarchy Variable ZN_CC1, Planning Function ZDistrib1.
    2. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Variable Input String Default ZN_CC1, Planning Function ZDistrib1.
    3. Planning Function Simple. Binding ref to the DP_1 (Query), Variable = Hierarchy Variable ZN_CC1, Planning Function ZDistrib1. Display variable property selected.
    4. Planning Function Simple. Binding ref to the DP_1 (Query), Cost Center Characteristic Data Provider Selection Default, Planning Function ZDistrib1.
    When the query is executed and a node representing a group in the hierarchy is selected the query is executed and is input ready for the selected group. This is a subset of the hierarchy.
    When the above planning fucntions are executed the following results display.
    1.  The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user.  The planning function is executed for the entrire hierarchy.  It is not restricted by the cost center hierarchy node variable value.
    2. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user.  The planning function is executed for the entrire hierarchy.  It is not restricted by the cost center hierarchy node variable value.
    3. The variable popup displays and a hierarchy node is selected. The planning function is executed however it is not restricted to the selection based on the hierarhcy variable node selected by the user.  The planning function is executed for the entrire hierarchy.  It is not restricted by the cost center hierarchy node variable value, that was entered when prompted.
    4.  The planning function is executed however it is not restricted to the cost center selection based on the query DP1. The planning function is not restricted by the cost center selections.
    HOWEVER,
    If I goto to the filter web item and edit the cost center filter by selecting and adding all available cost centers to the filter.  (This list of cost centers is restricted to the cost centers subordinate to the hierarhcy node selected in the variable)
    When the above the planning functions are executed the function is now restricted to the cost centers added to the filter as explained above.
    If anyone has had a similar issue with Planning Functions executing for data outside of the Dataprovider Selections I would be interested to know how you managed to get the planning function to retrict to the DP Selections that include hierarchy node variables.
    If anyone from SAP can comment before I raise this as an OSS issue it would be much appreciated.
    Thanks in advance.
    Ian

    Hi
    Just wondering if this is the correct forum to post BI IP questions?
    Any comments if this the right forum.
    Thanks
    Ian

  • Any Issues with Binding/Home Directories SnowLeopard Client to Tiger Xserve

    Does anyone know if I can bind a Snow Leopard client to a Tiger Server?
    Can I sync Home Directories of a Snow Leopard client to a Tiger Server?
    Are there any major issues with Snow Leopard clients and Tiger Servers?
    Thanks in advance.

    Hi Ron Yochum;
    You might have more luck if you ask over in the Server Froum instead of here.
    Allan

  • Servicegen issue with binding webservice.jar

    Hey, I am trying to build a ejb webservice using ant and servicegen. When I run it, it blows up and gives me a ton of binding errors. The problem is the binding errors are on files from the webservices.jar not from my jar. What is wrong with my script?
    Script:
    <project name="HEOOrdersService" default="build" basedir=".">
    <!-- Load the standard properties -->
    <loadproperties srcfile="${user.home}/ant_build.properties" />
    <!-- Define the project classpath -->
    <path id="classpath">
    <pathelement location="${bin}" />
    <pathelement location="${env10.dev.lib}/epicentric.jar" /> <!-- Example: 'oracle_jdbc_8_1_6.zip' -->
    <pathelement location="${env10.dev.lib}/hef.jar" />
    <pathelement location="${env10.dev.lib}/weblogic.jar" />
    <pathelement location="c:/bea/weblogic81/server/lib/webservices.jar" />
    <pathelement location="${env10.dev.libext}/servlet.jar"/>
    <pathelement location="${env10.dev.classes}"/> <!-- For un-jared class files on the app server -->
    </path>
    <!-- Jar and car file names for deployment -->
    <property name="jar.file" value="heounsorders.jar" /> <!-- Example: 'mercytransc.car' -or- 'mercyrad.car' -->
    <property name="namespace" value="http://www.bea.com/servers/wls70/samples/examples/webservices/basic/statelessSession"/>
    <taskdef name="servicegen" classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask">
    <classpath path="c:/bea/weblogic81/server/lib/webservices.jar"/>
    <classpath path="c:/bea/weblogic81/server/lib/weblogic.jar"/>
    </taskdef>
    <target name="clean"
    description="Delete all of the compiled classes and documentation">
    <delete dir="${bin}" />
    <delete dir="${jar}" />
    <delete dir="${car}" />
    <delete dir="${doc}" />
    </target>
    <target name="init" depends="clean"
    description="Create the build directory structures used by compile, package, and doc">
    <mkdir dir="${bin}" />
    <mkdir dir="${bin}/classes" />
    <mkdir dir="${jar}" />
    <mkdir dir="${car}" />
    <mkdir dir="${doc}" />
    </target>
    <target name="compile" depends="init"
    description="Compile the java code from ${src} into ${bin}">
    <javac srcdir="${src}" destdir="${bin}/classes" >
    <classpath refid="classpath" />
    </javac>
    </target>
    <!-- Document when the libraries were created for versioning purposes -->
    <target name="create-tstamp">
    <tstamp>
    <format property="build.time" pattern="yyyy-MM-dd HH:mm:ss" />
    </tstamp>
    </target>
    <!-- Document which developer created the libraries -->
    <target name="create-manifest" depends="create-tstamp">
    <manifest file="${bin}/MANIFEST.MF">
    <attribute name="Built-By" value="${developer.name}" />
    <attribute name="Contact" value="${developer.contact}" />
    <attribute name="Built-On" value="${build.time}" />
    </manifest>
    </target>
    <target name="jar" depends="compile, create-manifest">
    <delete dir="${car.work}" />
    <mkdir dir="${car.work}" />
    <copy todir="${car.work}">
    <fileset dir="${bin}/classes" />
    </copy>
    <copy todir="${car.work}/META-INF">
    <fileset dir="./xml" />
    </copy>
    <jar destfile="${car}/${jar.file}" manifest="${bin}/MANIFEST.MF">
    <fileset dir="${car.work}" />
    </jar>
    <delete dir="${car.work}" />
    </target>
    <target name="build" depends="jar" >
    <delete dir="build_dir" />
    <mkdir dir="build_dir" />
    <copy todir="build_dir" file="${car}/${jar.file}"/>
    <servicegen
    destEar="build_dir/heounsorders.ear"
    warName="heounsorders.war"
    contextURI="WebService">
    <service
    ejbJar="build_dir/heounsorders.jar"
    targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
    serviceName="HEOOrdersService"
    serviceURI="/HEOOrdersService"
    generateTypes="True"
    expandMethods="True" >
    </service>
    </servicegen>
    </target>
    </project>
    Part of the resulting errors which are in the servicegen:
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:37: package weblogic.xml.stream does not exist
    [servicegen] new weblogic.xml.schema.binding.util.runtime.PropertyInfo(weblogic.xml.stream.ElementFactory.createXMLName("java:com.
    mckesson.hcsp.heoorders","account",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:38: package weblogic.xml.stream does not exist
    [servicegen] weblogic.xml.stream.ElementFactory.createXMLName("http://ww
    w.w3.org/2001/XMLSchema","string",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:52: package weblogic.xml.schema.binding.util.runtime does not exist
    [servicegen] new weblogic.xml.schema.binding.util.runtime.PropertyInfo(weblogic.xml.stream.ElementFactory.createXMLName("java:com.
    mckesson.hcsp.heoorders","count",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:52: package weblogic.xml.stream does not exist
    [servicegen] new weblogic.xml.schema.binding.util.runtime.PropertyInfo(weblogic.xml.stream.ElementFactory.createXMLName("java:com.
    mckesson.hcsp.heoorders","count",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:53: package weblogic.xml.stream does not exist
    [servicegen] weblogic.xml.stream.ElementFactory.createXMLName("http://ww
    w.w3.org/2001/XMLSchema","int",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:158: package weblogic.xml.schema.binding does not exist
    [servicegen] return weblogic.xml.schema.binding.ModelGroupCompositor.SEQUENCE ;
    [servicegen] ^
    [servicegen] 57 errors
    [servicegen] weblogic.xml.schema.binding.BindingException: ERROR: during code compilation - with nested exception:
    [servicegen] [java.io.IOException: Compiler failed executable.exec]
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:145)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:377)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:322)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:190)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [servicegen] Caused by: weblogic.xml.schema.binding.BindingException: ERROR: during code compilation - with nested exception:
    [servicegen] [java.io.IOException: Compiler failed executable.exec]
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:572)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:169)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:91)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:104)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] ... 16 more
    [servicegen] --- Nested Exception ---
    [servicegen] java.io.IOException: Compiler failed executable.exec
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:566)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:169)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:91)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:104)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:377)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:322)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:190)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [servicegen]
    nested within:
    [servicegen] weblogic.xml.schema.binding.BindingException: ERROR: during code compilation - with nested exception:
    [servicegen] [java.io.IOException: Compiler failed executable.exec]
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:572)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:169)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:91)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:104)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:377)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:322)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:190)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    Please tell me why it is doing this.

    Hi Nag,
    With little reference to Sir Walter Scott, it would be a very tangled
    web we weave in an attempt to factor out the inter-relationships of
    javax interfaces that are hindering your effort. All to say, we don't
    currently support JSR 110 (javax.wsdl.*) and it is not on the near term
    horizon.
    Have you considered using autotype [1]?
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1080062
    Nag wrote:
    >
    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

  • Servicegen issue with binding webservices.jar

    Hey, I am trying to build a ejb webservice using ant and servicegen. When I run it, it blows up and gives me a ton of binding errors. The problem is the binding errors are on files from the webservices.jar not from my jar. What is wrong with my script?
    Script:
    <project name="HEOOrdersService" default="build" basedir=".">
    <!-- Load the standard properties -->
    <loadproperties srcfile="${user.home}/ant_build.properties" />
    <!-- Define the project classpath -->
    <path id="classpath">
    <pathelement location="${bin}" />
    <pathelement location="${env10.dev.lib}/epicentric.jar" /> <!-- Example: 'oracle_jdbc_8_1_6.zip' -->
    <pathelement location="${env10.dev.lib}/hef.jar" />
    <pathelement location="${env10.dev.lib}/weblogic.jar" />
    <pathelement location="c:/bea/weblogic81/server/lib/webservices.jar" />
    <pathelement location="${env10.dev.libext}/servlet.jar"/>
    <pathelement location="${env10.dev.classes}"/> <!-- For un-jared class files on the app server -->
    </path>
    <!-- Jar and car file names for deployment -->
    <property name="jar.file" value="heounsorders.jar" /> <!-- Example: 'mercytransc.car' -or- 'mercyrad.car' -->
    <property name="namespace" value="http://www.bea.com/servers/wls70/samples/examples/webservices/basic/statelessSession"/>
    <taskdef name="servicegen" classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask">
    <classpath path="c:/bea/weblogic81/server/lib/webservices.jar"/>
    <classpath path="c:/bea/weblogic81/server/lib/weblogic.jar"/>
    </taskdef>
    <target name="clean"
    description="Delete all of the compiled classes and documentation">
    <delete dir="${bin}" />
    <delete dir="${jar}" />
    <delete dir="${car}" />
    <delete dir="${doc}" />
    </target>
    <target name="init" depends="clean"
    description="Create the build directory structures used by compile, package, and doc">
    <mkdir dir="${bin}" />
    <mkdir dir="${bin}/classes" />
    <mkdir dir="${jar}" />
    <mkdir dir="${car}" />
    <mkdir dir="${doc}" />
    </target>
    <target name="compile" depends="init"
    description="Compile the java code from ${src} into ${bin}">
    <javac srcdir="${src}" destdir="${bin}/classes" >
    <classpath refid="classpath" />
    </javac>
    </target>
    <!-- Document when the libraries were created for versioning purposes -->
    <target name="create-tstamp">
    <tstamp>
    <format property="build.time" pattern="yyyy-MM-dd HH:mm:ss" />
    </tstamp>
    </target>
    <!-- Document which developer created the libraries -->
    <target name="create-manifest" depends="create-tstamp">
    <manifest file="${bin}/MANIFEST.MF">
    <attribute name="Built-By" value="${developer.name}" />
    <attribute name="Contact" value="${developer.contact}" />
    <attribute name="Built-On" value="${build.time}" />
    </manifest>
    </target>
    <target name="jar" depends="compile, create-manifest">
    <delete dir="${car.work}" />
    <mkdir dir="${car.work}" />
    <copy todir="${car.work}">
    <fileset dir="${bin}/classes" />
    </copy>
    <copy todir="${car.work}/META-INF">
    <fileset dir="./xml" />
    </copy>
    <jar destfile="${car}/${jar.file}" manifest="${bin}/MANIFEST.MF">
    <fileset dir="${car.work}" />
    </jar>
    <delete dir="${car.work}" />
    </target>
    <target name="build" depends="jar" >
    <delete dir="build_dir" />
    <mkdir dir="build_dir" />
    <copy todir="build_dir" file="${car}/${jar.file}"/>
    <servicegen
    destEar="build_dir/heounsorders.ear"
    warName="heounsorders.war"
    contextURI="WebService">
    <service
    ejbJar="build_dir/heounsorders.jar"
    targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
    serviceName="HEOOrdersService"
    serviceURI="/HEOOrdersService"
    generateTypes="True"
    expandMethods="True" >
    </service>
    </servicegen>
    </target>
    </project>
    Part of the resulting errors which are in the servicegen:
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:37: package weblogic.xml.stream does not exist
    [servicegen] new weblogic.xml.schema.binding.util.runtime.PropertyInfo(weblogic.xml.stream.ElementFactory.createXMLName("java:com.
    mckesson.hcsp.heoorders","account",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:38: package weblogic.xml.stream does not exist
    [servicegen] weblogic.xml.stream.ElementFactory.createXMLName("http://ww
    w.w3.org/2001/XMLSchema","string",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:52: package weblogic.xml.schema.binding.util.runtime does not exist
    [servicegen] new weblogic.xml.schema.binding.util.runtime.PropertyInfo(weblogic.xml.stream.ElementFactory.createXMLName("java:com.
    mckesson.hcsp.heoorders","count",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:52: package weblogic.xml.stream does not exist
    [servicegen] new weblogic.xml.schema.binding.util.runtime.PropertyInfo(weblogic.xml.stream.ElementFactory.createXMLName("java:com.
    mckesson.hcsp.heoorders","count",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:53: package weblogic.xml.stream does not exist
    [servicegen] weblogic.xml.stream.ElementFactory.createXMLName("http://ww
    w.w3.org/2001/XMLSchema","int",null),
    [servicegen] ^
    [servicegen] C:\Documents and Settings\e7nw1fu\Local Settings\Temp\web-services.war-136753285\WEB-INF\classes\com\mckesson\hcsp\heoo
    rders\UnsignedOrdersResultCodec.java:158: package weblogic.xml.schema.binding does not exist
    [servicegen] return weblogic.xml.schema.binding.ModelGroupCompositor.SEQUENCE ;
    [servicegen] ^
    [servicegen] 57 errors
    [servicegen] weblogic.xml.schema.binding.BindingException: ERROR: during code compilation - with nested exception:
    [servicegen] [java.io.IOException: Compiler failed executable.exec]
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:145)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:377)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:322)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:190)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [servicegen] Caused by: weblogic.xml.schema.binding.BindingException: ERROR: during code compilation - with nested exception:
    [servicegen] [java.io.IOException: Compiler failed executable.exec]
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:572)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:169)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:91)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:104)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] ... 16 more
    [servicegen] --- Nested Exception ---
    [servicegen] java.io.IOException: Compiler failed executable.exec
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
    [servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:566)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:169)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:91)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:104)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:377)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:322)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:190)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [servicegen]
    nested within:
    [servicegen] weblogic.xml.schema.binding.BindingException: ERROR: during code compilation - with nested exception:
    [servicegen] [java.io.IOException: Compiler failed executable.exec]
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.invoke_compiler(Compiler.java:572)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:169)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:91)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:104)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:377)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:322)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:190)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    Please tell me why it is doing this.

    Hi Nag,
    With little reference to Sir Walter Scott, it would be a very tangled
    web we weave in an attempt to factor out the inter-relationships of
    javax interfaces that are hindering your effort. All to say, we don't
    currently support JSR 110 (javax.wsdl.*) and it is not on the near term
    horizon.
    Have you considered using autotype [1]?
    Regards,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1080062
    Nag wrote:
    >
    Hi,
    Here is a very small program, for which i am facing the problem of getting the
    types from the wsdl. It works fine, as standalone....You do not have to deploy
    the code any where..just have weblogic.jar in the classpath. It does not work.
    It works when weblogic.jar is not in the classpath..any help is GREATLY APPRECIATED...
    java.wsdl.Types from the java.wsdl.Definition object and the schema in the types
    is null ( when weblogic.jar is present in the
    I am always getting null in the schema (
    import javax.wsdl.Definition;
    //import weblogic.soap.wsdl.binding.Definition;
    import javax.wsdl.xml.WSDLReader;
    import javax.wsdl.factory.WSDLFactory;
    public class Test {
    Definition definition = null;
    public static void main(String args[] ) {
    Test test = new Test();
    test.parseWSDL(args[0]);
    public void parseWSDL(String WSDLName)
    try
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
    wsdlReader.setFeature("javax.wsdl.verbose",false);
    wsdlReader.setFeature("javax.wsdl.importDocuments",true);
    definition = wsdlReader.readWSDL(WSDLName);
    System.out.println("-----------" + definition.getTypes() );
    catch( Exception e ) {
    System.out.println("Exception" + e ); }
    Thank for your help.
    Nag

  • Issues with binding an XML object

    Hi all.
    I'm doing a quick data editor for a game I'm working on using
    AIR and flexbuilder. Anyway, I've stored all the data in an XML
    object and I'm binding various controls to the XML object. But I've
    come across a weird issue when I update the data.
    Basically I create a datagrid thats bound to the XML
    (basically it reads a list of companies from the XML object). I
    also have a MXML form thats bound to the same data (only from a
    single company at the selected index of the datagrid).
    So its all working neatly, apart from one thing. When I
    select different rows from my datagrid, I'm getting strange
    behavior from my update function (which simply sets the XML objects
    values to the values in my form fields). Its as though there is
    some caching going on within the data binding thats essentially
    overriding my text edit fields .text properties.
    Strangely enough, the update works, but not the first time
    you select a new row from the datagrid.
    So I'm wondering if there is some method to use to invalidate
    any caching of data (its almost like the text is being retrieved
    from a cache and stored back into the edit fields text property).
    I'd added the MXML code for the app. Although the app reads
    an XML file in the storage directory so its unlikely you'll be able
    to run it. But if you need the xml, here it is:
    <companies>
    <company>
    <companyname>Ericson</companyname>
    <companydesc>Some kind of description
    here</companydesc>
    </company>
    <company>
    <companyname>Vodaphone</companyname>
    <companydesc>This is another
    description</companydesc>
    </company>
    <company>
    <companyname>Smother</companyname>
    <companydesc>Wingles another
    description</companydesc>
    </company>
    </companies>
    Hope someone can shed some light here.

    You could try the Apache XMLBeans 2.1.0.
    I have the same need to use xs:any datatype and, at least, XMLBeans do not fail in the bean generation process.
    Cheers.

  • Having issues with bind variable refcursor

    Hi,
    I have a procedure which returns just the list of employees from the emp table.
    while executing this package, it gives me an error
    Ex:
    sql> variable cur refcursor;
    sql> exec emp.getemplist(:cur);
    error:
    not all variables bound
    Please let me know what is wrong here.
    Thanks
    Manju

    manjukn wrote:
    package is a simple one..
    Exact Oracle version? Works fine on 10.2.0.4.0:
    SQL> create or replace package body emp_pkg is
      2  PROCEDURE getemplist (result_cursor OUT sys_refcursor)
      3  IS
      4  begin
      5  open result_cursor for select * from emp where deptno=10;
      6  end getemplist;
      7  end emp_pkg;
      8  /
    Package body created.
    SQL> variable cur refcursor;
    SQL> exec emp_pkg.getemplist(:cur);
    PL/SQL procedure successfully completed.
    SQL> print cur
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    SQL> SY.

  • A data-binding issue with a combo box.

    Hi,
    Iu2019m having a data-binding issue with a combo box.  The field it is bound to is an integer.  The valid values in the combo box are 1, 2, and 3.  If I add a record when it is set to 1 or 2, the value gets stored correctly.  If I add a record when it is set to 3, it is stored as 1.  However, I can bring up the record just added on the form, change it to 3, and click u201CUpdateu201D and it is saved correctly as 3.  If I change it so that the valid values are 4, 5, and 6, it saves a 1 regardless of what is selected in the combo box.  It looks like the combo box is correctly bound for updates but not for adds.  The table is a master type UDO.  Any ideas?  Iu2019m somewhat committed to the field being an integer.  I'm using 2007A PL47.
    Thanks,
    Mike
    Edited by: Mike Angelastro on Jul 1, 2009 2:43 PM

    I tried a few things on my own.  The result is that I decided that it was not a good idea to use a combo box bound to an integer (numeric) field.  I donu2019t think the SDK can handle it.  The reason it was an integer field in the first place is that before I changed it to a combo box it was a group of two option buttons.  Option buttons use an integer (numeric) field.  This worked just fine until I added a third option; the SDK didnu2019t handle the third option correctly when adding records.  I thought that using a combo box instead would fix that.  I was wrong; the problem remained.  So I decided to use a character (alphanumeric) field instead.  This works just fine.
    So here is my advice:  Never use option buttons if they need to be bound to the database; a combo box will actually work better when bound to the database.  But use a character (alphanumeric) field.
    Edited by: Mike Angelastro on Jul 5, 2009 9:15 PM

  • Crystal report Parameter binding issue with Liveoffice

    Hello,
    I have created a Crystal report on top of BW query. In crystal report when parameter is set to null the report gets all data from BW query.
    On inserting the same Crystal report to Live office document on binding the parameter i get the data for selected value for parameter but i am not able to set the parameter to null to get all the data from BW queries.
    Please help!
    Regards,
    Rahul Doshi

    Hi,
    I was able to solve the issue with the below code. I have added a parameter value as <Not Specifed> in paramter.
    if {?parameter1}='<Not Specified>' Then like '*' else
    ={?Parameter1} and
    if {?Parameter2}='<Not Specified>' Then like '*' else
    ={?Parameter2} and
    if {?Parameter3}='<Not Specified>' Then like '*' else
    ={?Parameter3} and
    if {?Parameter4}='<Not Specified>' Then like '*' else
    ={?Parameter4}
    This code works perfectly fine in crystal report. But when i bind the parameter with excel in Live office it gives me below error.
    Parameter has no value.
    Details: errorKind
    Error in File {7D9B961E-ADB9-4292-9DDE-A8D11B94D78E}.rpt:
    Error in formula  Record Selection:
    'if {?Sales Office}='<Not Specified>' Then {0SD_C03_ZQRY_0SD_C03_0011_BOBJ.D[0SALES_OFF]K} like '*' else
    Parameter has no value.
    Details: errorKind (LO 26603)  (6603)
    Please help.
    Regards,
    Rahul Doshi

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • Issue with instant ringback when using sip trunk to SP

    Hi all,
    We use CUCM 8.0.2.
    We have a SIP trunk to a SP connected via one of our Cisco 2911 routers configured as a CUBE.
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.0(1)M3, RELEASE SOFTWARE (fc2)
    c2900-universalk9-mz.SPA.150-1.M3.bin
    Cisco CISCO2911/K9 (revision 1.0)
    Technology Package License Information for Module:'c2900'
    Technology Technology-package
                      Current       Type
    ipbase        ipbasek9      Permanent
    security      securityk9    Permanent
    uc              uck9            Permanent
    data           None            None
    We also have several ISDN lines that run out via various Cisco routers configured as H323 gateways.
    We use 7945 and CIPC for our phones.
    We're having an issue with calls going via the SIP trunk where we hear ringing instantly after dialling - but before the actual device at the other end starts ringing (considerable difference).
    Using the SIP trunk: If I make a call to my mobile phone - I hear ringing instantly - about 3 rings before my mobile phone actually starts ringing - undesireable.
    Using H323 gateway: If I make a call to my mobile phone - I hear silence for a bit - then ringing when the mobile starts ringing - desired.
    Using SIP trunk: If I make a call to a landline that is ready - it rings instantly for at least 1 ring - before the actual phone I'm calling starts ringing - undesireable.
    Using H323 gateway: There is a momentary pause before hearing ringing on my phone and the phone I dialled - desired.
    Using SIP trunk: If I make a call to a landline that is off-hook (with no call-waiting/etc.) - it rings once and then returns the busy signal (the worst issue) - undesireable.
    Using H323 gateway: There is a momentary pause before hearing busy signal - desired.
    Phone to phone internally (same network): Operates as expected (instantly rings locally and on the phone I'm calling). Between phones that utilise the SIP trunk and phones that utilise the H323 gateways within the same network - communication is instant and as expected.
    Any ideas why this happens and how to stop it?
    I want it to not ring until the situation is known and that it can provide the appropriate feedback (ringing/busy/etc.).
    Some possibly relevant config (note that there is a known bug with this IOS that meant I had to declare the codec in each dial-peer as the voice class would not work):
    voice service voip
    address-hiding
    mode border-element
    allow-connections sip to sip
    sip
      bind control source-interface GigabitEthernet0/0
      bind media source-interface GigabitEthernet0/0
      header-passing error-passthru
      early-offer forced
      midcall-signaling passthru
    interface GigabitEthernet0/0
    ip address x.x.x.x 255.255.255.252
    ip access-group acl.SIP-IN in
    no ip redirects
    no ip unreachables
    ip verify unicast reverse-path
    ip virtual-reassembly
    duplex full
    speed 100
    no cdp enable
    gateway
    timer receive-rtp 1200
    sip-ua
    connection-reuse
    gatekeeper
    shutdown
    dial-peer voice 1 voip
    description *** INBOUND CALLS FROM CARRIER ***
    translation-profile incoming SIPTRUNK-INCOMING
    session protocol sipv2
    incoming called-number #blah blah#
    dtmf-relay rtp-nte
    codec g711alaw
    ip qos dscp cs5 media
    no vad
    dial-peer voice 61 voip
    description **** WA, SA AND NT NUMBERS ****
    destination-pattern 0[8]........
    session protocol sipv2
    session target ipv4:<MY SP's SIP SERVER>
    incoming called-number 0[8]........
    dtmf-relay rtp-nte
    codec g711alaw
    ip qos dscp cs5 media
    no vad
    dial-peer voice 81 voip
    description **** MOBILE NUMBERS ****
    destination-pattern 0[4]........
    session protocol sipv2
    session target ipv4:<MY SP's SIP SERVER>
    incoming called-number 0[4]........
    dtmf-relay rtp-nte
    codec g711alaw
    ip qos dscp cs5 media
    no vad
    dial-peer voice 500 voip
    description *** INBOUND SIP TRUNK TO CUCM PUB ***
    translation-profile outgoing SIPTRUNK-CALLING-ADD-0
    preference 1
    destination-pattern 5[12]..
    session protocol sipv2
    session target ipv4:<OUR CUCM PUBLISHER IP>
    dtmf-relay rtp-nte
    codec g711alaw
    ip qos dscp cs5 media
    no vad
    Any help or a point in the right direction would be greatly appreciated.
    Cheers,
    Brett

    I ended up resolving this issue as follows:
    In CUCM, under Device > Device Settings > SIP Profile.
    I modifed the profile relevant to my SIP trunk, under the "Trunk Specific Configuration", I set "SIP Rel1XX Options" from "Disabled" to "Send PRACK if 1xx Contains SDP".
    Now, I get the expected delay before hearing ringback.
    Solved!

  • Calling issue with Cisco 7937 conference station

    Hi Friends,
    I am facing issue wiht Cisco 7937 conference station, our customer have various branch offices accross the world. All branches are connected over MPLS through service provider( SIP service provider) . there is a centralized CUCM and remote office have SIP Voice gateways .
    When making calls from once remote site to another using Cisco 6921 phones calls working fine
    When making calls from once remote site to another using Cisco 7937 conference station to make call  any phone at remote office, calls are getting disconneted, remote phone rings when calls,  but its gets fast busy tone when other party picks up the phone and  not able to talk.
    I suspect the issue with Codec but we have configured transcoders  in VG and registered with CUCM
    Please help me if any one experience such issue earlier.
    Regards
    Siva

    hi Basant,
    1. Actually tow phones A and B are registerd with centralized CUCM, A and B are located in two different locations, RTP traffic between And B pass through service provider. 
    Call Flow --> Phone A ---->CUCMRouterpattern--> SIP trunk ----> Voice gateway--->Service provider cloud---> Respective Voice Gateway---> CUCM -- Phone B
    Show Run
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.02.27 15:14:52 =~=~=~=~=~=~=~=~=~=~=~=
    sh run
    Building configuration...
    Current configuration : 12139 bytes
    ! Last configuration change at 06:35:59 UTC Tue Feb 25 2014
    ! NVRAM config last updated at 11:16:38 UTC Mon Feb 24 2014 by administrator
    ! NVRAM config last updated at 11:16:38 UTC Mon Feb 24 2014 by administrator
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname eucamvgw01
    boot-start-marker
    boot system flash:c2900-universalk9-mz.SPA.151-4.M5.bin
    boot-end-marker
    card type e1 0 0
    logging buffered 51200 warnings
    no logging console
    no aaa new-model
    no network-clock-participate wic 0
    no ipv6 cef
    ip source-route
    ip traffic-export profile cuecapture mode capture
    bidirectional
    ip cef
    ip multicast-routing
    ip domain name drreddys.eu
    ip name-server 10.197.20.1
    ip name-server 10.197.20.2
    multilink bundle-name authenticated
    stcapp ccm-group 2
    stcapp
    stcapp feature access-code
    stcapp feature speed-dial
    stcapp supplementary-services
    port 0/1/0
    fallback-dn 5428025
    port 0/1/1
    fallback-dn 5428008
    port 0/1/2
    fallback-dn 5421462
    port 0/1/3
    fallback-dn 5421463
    isdn switch-type primary-net5
    crypto pki token default removal timeout 0
    voice-card 0
    dsp services dspfarm
    voice call send-alert
    voice call disc-pi-off
    voice call convert-discpi-to-prog
    voice rtp send-recv
    voice service voip
    ip address trusted list
    ipv4 10.198.0.0 255.255.255.0
    ipv4 152.63.1.0 255.255.255.0
    address-hiding
    allow-connections sip to sip
    no supplementary-service h225-notify cid-update
    no supplementary-service sip moved-temporarily
    no supplementary-service sip refer
    fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
    fax-relay ans-disable
    sip
    rel1xx supported "track"
    privacy pstn
    no update-callerid
    early-offer forced
    call-route p-called-party-id
    voice class uri 100 sip
    host 41.206.187.71
    voice class codec 10
    codec preference 1 g711alaw
    codec preference 2 g711ulaw
    codec preference 3 ilbc
    codec preference 4 g729r8
    codec preference 5 g729br8
    voice class codec 20
    codec preference 1 g729br8
    codec preference 2 g729r8
    voice moh-group 1
    moh flash:moh/Panjo.alaw.wav
    description MOH G711 alaw
    multicast moh 239.1.1.2 port 16384 route 10.198.2.9
    voice translation-rule 1
    rule 1 /^012237280\(..\)/ /54280\1/
    rule 2 /^012236514\(..\)/ /54214\1/
    rule 3 /^01223651081/ /5428010/
    rule 4 /^01223506701/ /5428010/
    voice translation-rule 2
    rule 1 /^00\(.+\)/ /+\1/
    rule 2 /^0\(.+\)/ /+44\1/
    rule 3 /^\([0-9].+\)/ /+\1/
    voice translation-rule 3
    rule 1 /^9\(.+\)/ /\1/
    rule 2 /^\+44\(.+\)/ /0\1/
    rule 3 /^\+\(.+\)/ /00\1/
    voice translation-rule 4
    rule 1 /^54280\(..\)/ /12237280\1/
    rule 2 /^54214\(..\)/ /12236514\1/
    rule 3 /^\+44\(.+\)/ /\1/
    rule 4 /^.54280\(..\)/ /12237280\1/
    rule 5 /^.54214\(..\)/ /12236514\1/
    voice translation-rule 9
    rule 1 /^\(....\)/ /542\1/
    voice translation-rule 10
    voice translation-rule 11
    rule 1 /^\+44122372\(....\)/ /542\1/
    rule 2 /^\+44122365\(....\)/ /542\1/
    voice translation-rule 12
    voice translation-rule 13
    rule 1 /^\([18]...\)/ /542\1/
    voice translation-rule 14
    voice translation-profile MPLS-incoming
    translate calling 10
    translate called 9
    voice translation-profile MPLS-outgoing
    translate calling 11
    translate called 12
    voice translation-profile PSTN-incoming
    translate calling 2
    translate called 1
    voice translation-profile PSTN-outgoing
    translate calling 4
    translate called 3
    voice translation-profile SRST-incoming
    translate calling 14
    translate called 13
    license udi pid CISCO2921/K9 sn FGL145110RE
    hw-module ism 0
    hw-module pvdm 0/0
    username administrator privilege 15 secret 5 $1$syu5$DsxdOgfS7Wltx78o4PV.60
    redundancy
    controller E1 0/0/0
    ip tcp path-mtu-discovery
    ip scp server enable
    interface Embedded-Service-Engine0/0
    no ip address
    shutdown
    interface GigabitEthernet0/0
    description internal LAN
    ip address 10.198.2.9 255.255.255.0
    duplex auto
    speed auto
    interface ISM0/0
    ip unnumbered GigabitEthernet0/0
    service-module ip address 10.198.2.8 255.255.255.0
    !Application: CUE Running on ISM
    service-module ip default-gateway 10.198.2.9
    interface GigabitEthernet0/1
    description to TATA NGN
    ip address 115.114.225.122 255.255.255.252
    duplex auto
    speed auto
    interface GigabitEthernet0/2
    description SIP Trunks external
    ip address 79.121.254.83 255.255.255.248
    ip access-group SIP-InBound in
    ip traffic-export apply cuecapture size 8000000
    duplex auto
    speed auto
    interface ISM0/1
    description Internal switch interface connected to Internal Service Module
    no ip address
    shutdown
    interface Vlan1
    no ip address
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    ip route 0.0.0.0 0.0.0.0 10.198.2.1
    ip route 10.198.2.8 255.255.255.255 ISM0/0
    ip route 41.206.187.0 255.255.255.0 115.114.225.121
    ip route 77.37.25.46 255.255.255.255 79.121.254.81
    ip route 83.245.6.81 255.255.255.255 79.121.254.81
    ip route 83.245.6.82 255.255.255.255 79.121.254.81
    ip route 95.223.1.107 255.255.255.255 79.121.254.81
    ip route 192.54.47.0 255.255.255.0 79.121.254.81
    ip access-list extended SIP-InBound
    permit ip host 77.37.25.46 any
    permit ip host 83.245.6.81 any
    permit ip host 83.245.6.82 any
    permit ip 192.54.47.0 0.0.0.255 any
    permit icmp any any
    permit ip host 95.223.1.107 any
    deny ip any any log
    control-plane
    voice-port 0/1/0
    compand-type a-law
    timeouts initial 60
    timeouts interdigit 60
    timeouts ringing infinity
    caller-id enable
    voice-port 0/1/1
    compand-type a-law
    timeouts initial 60
    timeouts interdigit 60
    timeouts ringing infinity
    caller-id enable
    voice-port 0/1/2
    compand-type a-law
    timeouts initial 60
    timeouts interdigit 60
    timeouts ringing infinity
    caller-id enable
    voice-port 0/1/3
    compand-type a-law
    timeouts initial 60
    timeouts interdigit 60
    timeouts ringing infinity
    caller-id enable
    no ccm-manager fax protocol cisco
    ccm-manager music-on-hold bind GigabitEthernet0/0
    ccm-manager config server 152.63.1.19 152.63.1.100 172.27.210.5
    ccm-manager sccp local GigabitEthernet0/0
    ccm-manager sccp
    mgcp profile default
    sccp local GigabitEthernet0/0
    sccp ccm 10.198.2.9 identifier 3 priority 3 version 7.0
    sccp ccm 152.63.1.19 identifier 4 version 7.0
    sccp ccm 152.63.1.100 identifier 5 version 7.0
    sccp ccm 172.27.210.5 identifier 6 version 7.0
    sccp
    sccp ccm group 2
    bind interface GigabitEthernet0/0
    associate ccm 4 priority 1
    associate ccm 5 priority 2
    associate ccm 6 priority 3
    associate ccm 3 priority 4
    associate profile 1002 register CFB_UK_CAM_02
    associate profile 1001 register XCODE_UK_CAM_02
    associate profile 1000 register MTP_UK_CAM_02
    dspfarm profile 1001 transcode
    codec ilbc
    codec g722-64
    codec g729br8
    codec g729r8
    codec gsmamr-nb
    codec pass-through
    codec g711ulaw
    codec g711alaw
    codec g729ar8
    codec g729abr8
    maximum sessions 18
    associate application SCCP
    dspfarm profile 1002 conference
    codec g711ulaw
    codec g711alaw
    codec g729ar8
    codec g729abr8
    codec g729r8
    codec g729br8
    maximum sessions 2
    associate application SCCP
    dspfarm profile 1000 mtp
    codec g711alaw
    maximum sessions software 200
    associate application SCCP
    dial-peer cor custom
    name SRSTMode
    dial-peer cor list SRST
    member SRSTMode
    dial-peer voice 100 voip
    description *** Inbound CUCM ***
    translation-profile incoming PSTN-incoming
    incoming called-number .
    voice-class codec 10
    voice-class sip call-route p-called-party-id
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 500 voip
    description *** Inbound TATA MPLS ***
    translation-profile incoming MPLS-incoming
    session protocol sipv2
    session target sip-server
    incoming called-number ....
    incoming uri from 100
    voice-class codec 20
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 510 voip
    description *** Outbound TATA MPLS ***
    translation-profile outgoing MPLS-outgoing
    destination-pattern 54[013-9]....
    session protocol sipv2
    session target ipv4:41.206.187.71
    session transport udp
    voice-class codec 20
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 520 voip
    description *** Outbound TATA MPLS ***
    translation-profile outgoing MPLS-outgoing
    destination-pattern 5[0-35-9].....
    session protocol sipv2
    session target ipv4:41.206.187.71
    session transport udp
    voice-class codec 20
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 200 voip
    description *** Inbound M12 *** 01223651081, 01223651440 - 01223651489
    translation-profile incoming PSTN-incoming
    session protocol sipv2
    session target sip-server
    session transport udp
    incoming called-number 0122365....
    dtmf-relay rtp-nte
    codec g711ulaw
    no vad
    dial-peer voice 201 voip
    description *** Inbound M12 *** 012237280XX
    translation-profile incoming PSTN-incoming
    session protocol sipv2
    session target sip-server
    session transport udp
    incoming called-number 012237280..
    dtmf-relay rtp-nte
    codec g711ulaw
    no vad
    dial-peer voice 202 voip
    description *** Inbound M12 *** 01223506701
    translation-profile incoming PSTN-incoming
    session protocol sipv2
    session target sip-server
    session transport udp
    incoming called-number 01223506701
    dtmf-relay rtp-nte
    codec g711ulaw
    no vad
    dial-peer voice 210 voip
    description *** Outbound M12 ***
    translation-profile outgoing PSTN-outgoing
    destination-pattern +...T
    session protocol sipv2
    session target ipv4:83.245.6.81
    session transport udp
    dtmf-relay rtp-nte
    codec g711alaw
    no vad
    dial-peer voice 211 voip
    description *** Outbound ISDN for SRST and emergency ***
    translation-profile outgoing PSTN-outgoing
    destination-pattern 9.T
    session protocol sipv2
    session target ipv4:83.245.6.81
    session transport udp
    dtmf-relay rtp-nte
    codec g711alaw
    no vad
    dial-peer voice 212 voip
    description *** Outbound ISDN for emergency ***
    translation-profile outgoing PSTN-outgoing
    destination-pattern 11[02]
    session protocol sipv2
    session target ipv4:83.245.6.81
    session transport udp
    dtmf-relay rtp-nte
    codec g711alaw
    no vad
    dial-peer voice 2000 voip
    description *** Outbound to CUCM Primary ***
    preference 1
    destination-pattern 542....
    session protocol sipv2
    session target ipv4:152.63.1.19
    voice-class codec 10
    voice-class sip call-route p-called-party-id
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 2001 voip
    description *** Outbound to CUCM Secondary ***
    preference 2
    destination-pattern 542....
    session protocol sipv2
    session target ipv4:152.63.1.100
    voice-class codec 10
    voice-class sip call-route p-called-party-id
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 2002 voip
    description *** Outbound to CUCM Teritiary ***
    preference 3
    destination-pattern 542....
    session protocol sipv2
    session target ipv4:172.27.210.5
    voice-class codec 10
    voice-class sip call-route p-called-party-id
    dtmf-relay rtp-nte
    no vad
    dial-peer voice 999010 pots
    service stcapp
    port 0/1/0
    dial-peer voice 999011 pots
    service stcapp
    port 0/1/1
    dial-peer voice 999012 pots
    service stcapp
    port 0/1/2
    dial-peer voice 999013 pots
    service stcapp
    port 0/1/3
    sip-ua
    no remote-party-id
    gatekeeper
    shutdown
    call-manager-fallback
    secondary-dialtone 9
    max-conferences 4 gain -6
    transfer-system full-consult
    ip source-address 10.198.2.9 port 2000
    max-ephones 110
    max-dn 400 dual-line no-reg
    translation-profile incoming SRST-incoming
    moh flash:/moh/Panjo.ulaw.wav
    multicast moh 239.1.1.1 port 16384 route 10.198.2.9
    time-zone 22
    time-format 24
    date-format dd-mm-yy
    line con 0
    login local
    line aux 0
    line 2
    no activation-character
    no exec
    transport preferred none
    transport input all
    transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
    stopbits 1
    line 131
    no activation-character
    no exec
    transport preferred none
    transport input all
    transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
    stopbits 1
    line vty 0 4
    session-timeout 60
    exec-timeout 60 0
    privilege level 15
    login local
    transport input all
    line vty 5 15
    session-timeout 60
    exec-timeout 60 0
    privilege level 15
    login local
    transport input all
    scheduler allocate 20000 1000
    ntp server 10.1.30.1
    end
    eucamvgw01#
    Sh SCCP
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.03.03 17:57:44 =~=~=~=~=~=~=~=~=~=~=~=
    SCCP Admin State: UP
    Gateway Local Interface: GigabitEthernet0/0
    IPv4 Address: 10.198.2.9
    Port Number: 2000
    IP Precedence: 5
    User Masked Codec list: None
    Call Manager: 10.198.2.9, Port Number: 2000
    Priority: 3, Version: 7.0, Identifier: 3
    Call Manager: 152.63.1.19, Port Number: 2000
    Priority: N/A, Version: 7.0, Identifier: 4
    Trustpoint: N/A
    Call Manager: 152.63.1.100, Port Number: 2000
    Priority: N/A, Version: 7.0, Identifier: 5
    Trustpoint: N/A
    Call Manager: 172.27.210.5, Port Number: 2000
    Priority: N/A, Version: 7.0, Identifier: 6
    Trustpoint: N/A
    MTP Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Profile Identifier: 1000
    Reported Max Streams: 400, Reported Max OOS Streams: 0
    Supported Codec: g711alaw, Maximum Packetization Period: 30
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
    Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
    TLS : ENABLED
    Transcoding Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Profile Identifier: 1001
    Reported Max Streams: 36, Reported Max OOS Streams: 0
    Supported Codec: ilbc, Maximum Packetization Period: 120
    Supported Codec: g722r64, Maximum Packetization Period: 30
    Supported Codec: g729br8, Maximum Packetization Period: 60
    Supported Codec: g729r8, Maximum Packetization Period: 60
    Supported Codec: gsmamr-nb, Maximum Packetization Period: 60
    Supported Codec: pass-thru, Maximum Packetization Period: N/A
    Supported Codec: g711ulaw, Maximum Packetization Period: 30
    Supported Codec: g711alaw, Maximum Packetization Period: 30
    Supported Codec: g729ar8, Maximum Packetization Period: 60
    Supported Codec: g729abr8, Maximum Packetization Period: 60
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
    Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
    Conferencing Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Profile Identifier: 1002
    Reported Max Streams: 16, Reported Max OOS Streams: 0
    Supported Codec: g711ulaw, Maximum Packetization Period: 30
    Supported Codec: g711alaw, Maximum Packetization Period: 30
    Supported Codec: g729ar8, Maximum Packetization Period: 60
    Supported Codec: g729abr8, Maximum Packetization Period: 60
    Supported Codec: g729r8, Maximum Packetization Period: 60
    Supported Codec: g729br8, Maximum Packetization Period: 60
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
    Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
    TLS : ENABLED
    Alg_Phone Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Device Name: AN71FEF7F070080
    Reported Max Streams: 1, Reported Max OOS Streams: 0
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: g711ulaw, Maximum Packetization Period: 20
    Supported Codec: g711alaw, Maximum Packetization Period: 20
    Supported Codec: g729r8, Maximum Packetization Period: 220Supported Codec: g729ar8, Maximum Packetization Period: 220
    Supported Codec: g729br8, Maximum Packetization Period: 220
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: ilbc, Maximum Packetization Period: 120
    Alg_Phone Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Device Name: AN71FEF7F070081
    Reported Max Streams: 1, Reported Max OOS Streams: 0
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: g711ulaw, Maximum Packetization Period: 20
    Supported Codec: g711alaw, Maximum Packetization Period: 20
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: g729ar8, Maximum Packetization Period: 220
    Supported Codec: g729br8, Maximum Packetization Period: 220
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: ilbc, Maximum Packetization Period: 120
    Alg_Phone Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Device Name: AN71FEF7F070082
    Reported Max Streams: 1, Reported Max OOS Streams: 0
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: g711ulaw, Maximum Packetization Period: 20Supported Codec: g711alaw, Maximum Packetization Period: 20
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: g729ar8, Maximum Packetization Period: 220
    Supported Codec: g729br8, Maximum Packetization Period: 220
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: ilbc, Maximum Packetization Period: 120
    Alg_Phone Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 152.63.1.19, Port Number: 2000
    TCP Link Status: CONNECTED, Device Name: AN71FEF7F070083
    Reported Max Streams: 1, Reported Max OOS Streams: 0
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: g711ulaw, Maximum Packetization Period: 20
    Supported Codec: g711alaw, Maximum Packetization Period: 20
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: g729ar8, Maximum Packetization Period: 220
    Supported Codec: g729br8, Maximum Packetization Period: 220
    Supported Codec: g729r8, Maximum Packetization Period: 220
    Supported Codec: ilbc, Maximum Packetization Period: 120
    eucamvgw01#

  • Report query with bind variable

    Trying to create a report query for xsl-fo print. For output format I pick "derive from item" then pick the item name from the list, on the next screen, I paste the query with the bind variable. on the next step test query, I always get "data not found" regardless what value I type in. This is the same query that I ran under sql commands without any issues.
    Does anyone run into the same issue as I have when attempted to create a query with bind var ? There is no problem creating a query without bind varibles. . thanks.
    Munshar

    Hi, please did you get any solution to this issue? I am having similar challenge right now.
    select     EMP.DEPTNO as DEPTNO,
         DEPT.DNAME as DNAME,
         EMP.EMPNO as EMPNO,
         EMP.ENAME as ENAME,
         EMP.JOB as JOB,
         EMP.MGR as MGR,
         EMP.HIREDATE as HIREDATE,
         EMP.SAL as SAL
    from     SCOTT.DEPT DEPT,
         SCOTT.EMP EMP
    where EMP.DEPTNO=DEPT.DEPTNO
    and      DEPT.DNAME =upper(:dname)
    This run perfectly in sql developer, toad, and even inside publisher if I login directly to publisher to create report.
    Generating this same query in shared component query builder and testing it returns no data found. If I remove the last line, it works. but with the last line, it return no data found. It seems no one has been able to provide solution to this issue

  • Performance issue with pl/sql code

    Hi Oracle Gurus,
    I am in need of your recommendations for a performance issue that I am facing in production envrionment. There is a pl/sql procedure which executes with different elapsed time at different executions. Elapsed Times are 30minutes , 40 minutes, 65 minutes , 3 minutes ,3 seconds.
    Expected elapsed time is maximum of 3 minutes. ( But some times it took 3 seconds too...! )
    Output on all different executions are same that is deletion and insertion of 12K records into a table.
    Here is the auto trace details of two different scenarios.
    Slow execution - 33.65 minutes
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                         1,712,343    1,712,342.6    41.4
    CPU Time (ms)                             1,679,689    1,679,688.6    44.7
    Executions                                        1            N/A     N/A
    Buffer Gets                              ##########  167,257,973.0    86.9
    Disk Reads                                    1,284        1,284.0     0.4
    Parse Calls                                       1            1.0     0.0
    User I/O Wait Time (ms)                       4,264            N/A     N/A
    Cluster Wait Time (ms)                        3,468            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        6            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     4            N/A     N/A
    Sharable Mem(KB)                                 85            N/A     N/A
              -------------------------------------------------------------Fast Exection : 5 seconds
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                            41,550       41,550.3     0.7
    CPU Time (ms)                                40,776       40,776.3     1.0
    Executions                                        1            N/A     N/A
    Buffer Gets                               2,995,677    2,995,677.0     4.2
    Disk Reads                                       22           22.0     0.0
    Parse Calls                                       1            1.0     0.0
    User I/O Wait Time (ms)                         162            N/A     N/A
    Cluster Wait Time (ms)                          621            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                       55            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     4            N/A     N/A
    Sharable Mem(KB)                                 85            N/A     N/A
              -------------------------------------------------------------For security reasons, I cannot share the actual code. Its a report generating code that deletes and load the data into table using insert into select statement.
    Delete from table ;
    cursor X to get the master data ( 98 records )
    For each X loop
    insert into tableA select * from tables where a= X.a and b= X.b and c=X.c ..... ;
    -- 12 K records inserted on average
    insert into tableB select * from tables where a= X.a and b= X.b and c=X.c ..... ;
    -- 12 K records inserted on average
    end loop ;1. The select query is complex with bind variables ( explain plan varies for each values )
    2. I have checked the tablespace of the tables involved, it is 82% used. DBA confirmed that it is not the reason.
    3. Disk reads are high during long execution.
    4. At long running times, I can see a db sequential read wait event on a index object. This index is on the table where data is inserted.
    All I need to find is why this code is taking 3 seconds and 60 minutes on the same day and on the consecutive executions ?
    Is there any other approach to find the root cause of this behaviour and to fix it ? Kindly adivse.
    Thanks in advance your help.
    Regards,
    Hari
    Edited by: BluShadow on 26-Sep-2012 08:24
    edited to add {noformat}{noformat} tags.  You've been a member long enough to know to do this yourself... so please do so in future.  ({message:id=9360002})                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hariharan ST wrote:
    Hi Oracle Gurus,
    I am in need of your recommendations for a performance issue that I am facing in production envrionment. There is a pl/sql procedure which executes with different elapsed time at different executions. Please reedit your post and add some code tags around the trace information. This would improve readability greatly and will help us to help you
    example
    {<b></b>code}
    select * from dual;{<b></b>code}
    Based upon your description I can imagine two things.
    a) The execution plan for the select query does change frequently.
    A typical reason can be not up to date statistics.
    b) Some locking / wait conflict. For example upon a UK index.
    Are there any other operations going on while it is slow? If anybody inserts a value, then your session will wait, if the same (PK/UK) value also is to be inserted.
    Those wait events can be recognized using standard tools like oracle sql developer or enterprise manager while the query is slow.
    Also go through the links that are in the FAQ. They tell you how to get better information for makeing a tuning request.
    SQL and PL/SQL FAQ
    Edited by: Sven W. on Sep 25, 2012 6:41 PM

  • Issue with OSI PI WCF Web Service with wshttpbinding

    Hi Experts,
    System Details:
    SAP MII 14 SP4
    OSI PI Web Service: PITimeSeries
    I am having issue when trying to call OSI PI web service using http post. it is returning status 0 when i am using exception handler in BLS.
    Same web service works fine with basichttpbinding (SOAP 1.1)  but with wshttpbinding (SOAP 1.2) it is giving error.
    Following are Web config binding details for web service.
          <wsHttpBinding>
            <binding name="wsBinding_2011" sendTimeout="00:01:00" receiveTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
              <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
              <security mode="Message">
                <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true" />
              </security>
            </binding>
          </wsHttpBinding>
    I am not sure it could be the issue with passing windows credentials.
    Did anybody consumed WCF web service with wshttpbinding with security mode as Message and clientCredentialType as Windows.
    Also i was trying to pass MYSAPSSO2 SSO token to service in http post but first i am not sure if this is correct windows token and second which header property of service should be mapped and i am not sure that I am going into correct direction or not.
    Please let me know what i am missing.
    I have tried following other options and tools:
    SOAP UI: basichttpbinding works fine for wshttpbinding receiving Internal Server error in log and Response as
                      The security context token is expired or is not valid.
    MII Web Service Action Block: basichttpbinding works fine for wshttpbinding not able to configure url through wizard because as per                                                                              my discussion with other MII experts MII does not support SOAP1.2. that is one reason for using http post.
    WCF Storm: both bindings works fine (There is option to select windows authentication and Impersonation level as delegation)
    WCF Test Client: Both bindings works fine
    Any help is appreciated.
    Thanks & Regards,
    Manoj Bilthare

    Hi Sam,
    The web service is valid following are details of testing on various tools.
    SOAP UI: basichttpbinding works fine for wshttpbinding receiving Internal Server error in log and Response as The security context token is expired or is not valid.
    MII Web Service Action Block: basichttpbinding works fine for wshttpbinding not able to configure url through wizard because as per my discussion with other MII experts MII does not support SOAP1.2. that is one reason for using http post.
    WCF Storm: both bindings works fine (There is option to select windows authentication and Impersonation level as delegation)
    WCF Test Client: Both bindings works fine
    Please let me know if additional details required.
    Thanks & Regards,
    Manoj Bilthare

Maybe you are looking for