Issues in binding to a panelGroupLayout within an ApplicationPanel control

Hi,
The JSFF page I am using is as shown here:
<fnd:applicationsPanel id="AP1"
title="#{pageFlowScope.TransactionName} #{viewcontrollerBundle.APPLICATION_FORM}"
scrollable="true" contentsFacet="scroll"
navigationType="none" saveAndCloseVisible="false"
saveOptionsStyle="button" cancelRendered="true"
submitRendered="true" submitAction="submit">
<f:facet name="contents">
<af:panelGroupLayout id="pgl1"
binding="#{pageFlowScope.panelGroupLayout}"
layout="vertical" partialTriggers="::AP1"/>
</f:facet>
<f:facet name="contentsStretch"/>
<f:facet name="actionButtonBar"></f:facet>
<f:facet name="navigationBar"/>
<f:facet name="saveButtonMenu"/>
<f:facet name="submitButtonMenu"/>
<f:facet name="popup"/>
<f:facet name="appsPanelLegend"/>
<f:facet name="appsPanelContext"/>
<f:facet name="customSaveDropButton"/>
<f:facet name="localContext"/>
<f:facet name="taskStamp"/>
<f:facet name="scalingInfo"/>
<f:facet name="collaborationToolbar"/>
<f:facet name="appsPanelTrain"/>
</fnd:applicationsPanel>
The "submit" action is defined in the taskflow to point to a method which updates the pageflowscope variable that stores the dynamic contents of the panel group layout (#{pageFlowScope.panelGroupLayout}).
The issue is as follows: when I click on submit the panel group layout is not refreshed. However when I refresh the page, I can see the updated panel group layout.
Since there is no explicit button for submit within the ApplicationPanel markup, I have setup the applicationpanel itself as the partialtrigger for the panelgrouplayout. Please let me know how this issue can be resolved.

Hi,
the fnd:applicationPanel is no in the ADF Faces standards component set so most likely yo post to the wrong forum. However, there are issues I see with your code
1. binding="#{pageFlowScope.panelGroupLayout}"
Components should be bound to beans in requestScope only (JSF restriction)
2. The fnd:applicationPanel doesn't seem to have behavior, which means that you need to reference the commend button in the PartialTriggers property not the panel
Frank

Similar Messages

  • Dynamic value binding for InputTextField - Expression within an expression

    Hi,
    I have this requirement where I have to use an EL expression's output as a bean's property in the value attribute of a InputTextField. E.g.
              <h:dataTable value="#{entity.formats}" var="field">
                   <h:column>
                        <h:outputLabel value="#{field.shortDesr}"/>
                   </h:column>
                   <h:column>
                        <h:inputText value="#{*entity."+#{field.shortDesr}+*"}"/>     
                   </h:column>     
              </h:dataTable>
    The JSF page will be a generic one so the fields within a form will be dynamic and will be formed at run-time. Since the exact bean property(entity in the code above) for a particular field is not known before, it needs to be dynamicaly built
    To give more clarity. In the following snippet, i know that entity is the bean to be used but which property(XXX) the text field has to be bound is not known and needs to be assigned at run-time.
    <h:inputText value="#{entity.*XXX*"/>     
    Is this possible? Are there any direct JSF solution or work arounds for it? Appreciate your inputs.
    Thanks
    Ranjith

A: Dynamic value binding for InputTextField - Expression within an expression

Hi BaluSC,
Your solution is totally acceptable. But I was also looking for something that can make possible direct binding to the bean properties without going through a Map.
In the meantime, I worked around the problem by not using the DataTable. Instead I loop the collection and add the Form elements programatically (code given below). With this I am able to achieve the desired effect of binding directly to the bean's property. But I am hitting another problem now, On submit the form Seam throws up 'No active conversational context" error while binding the #{sdmManager.grid} attribute. Now, I am trying to figure out how to come across it.
JSF
     <h:panelGrid columns="2" binding="#{sdmManager.grid}">
</h:panelGrid>
Bean code
     public HtmlPanelGrid getGrid(){
     grid = new HtmlPanelGrid();
     List<UIComponent> children = grid.getChildren();
     Collection<FieldFormatData> formats = dataManager.getFieldFormatData();
     for(FieldFormatData format:formats){
          HtmlOutputLabel outputLabel = new HtmlOutputLabel();
          outputLabel.setValue(format.getShortDesr());
          children.add(outputLabel);
          HtmlInputText inputText = new HtmlInputText();
          inputText.setSize(10);
          inputText.setMaxlength(10);
          System.out.println("Binding ................................... " + format.getEntityField());
          inputText.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{entity."+format.getEntityField()+"}"));
          children.add(inputText);
     return grid;

Hi BaluSC,
Your solution is totally acceptable. But I was also looking for something that can make possible direct binding to the bean properties without going through a Map.
In the meantime, I worked around the problem by not using the DataTable. Instead I loop the collection and add the Form elements programatically (code given below). With this I am able to achieve the desired effect of binding directly to the bean's property. But I am hitting another problem now, On submit the form Seam throws up 'No active conversational context" error while binding the #{sdmManager.grid} attribute. Now, I am trying to figure out how to come across it.
JSF
     <h:panelGrid columns="2" binding="#{sdmManager.grid}">
</h:panelGrid>
Bean code
     public HtmlPanelGrid getGrid(){
     grid = new HtmlPanelGrid();
     List<UIComponent> children = grid.getChildren();
     Collection<FieldFormatData> formats = dataManager.getFieldFormatData();
     for(FieldFormatData format:formats){
          HtmlOutputLabel outputLabel = new HtmlOutputLabel();
          outputLabel.setValue(format.getShortDesr());
          children.add(outputLabel);
          HtmlInputText inputText = new HtmlInputText();
          inputText.setSize(10);
          inputText.setMaxlength(10);
          System.out.println("Binding ................................... " + format.getEntityField());
          inputText.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{entity."+format.getEntityField()+"}"));
          children.add(inputText);
     return grid;

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

  • Issue services with different Internal Orders within a Plant from one PO?

    Hiii... Please advice me of issuing services through one purchase order (one vendor comes and do the service to different machines of different internal orders in a plant) to different  internal orders within a plant.
    Thanks
    Manoj

    what is the problem?  you can have Multiple Line Items in a PO  (one for each internal Order).
    And within one Line item you can add multiple service lines.

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

  • 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

  • Issue in binding table in interactive adobe

    Hi,
    I need to update data in a database table through interactive adobe form.
    For this I have created a table in the layout using table wizard.
    I have created just one node as I need to update the fields in the node to the database table.
    The problem that I am facing is when I bind the fields to the rows of the table and enter the values in it,it is taking the same values for both the rows e.g if I change the value in description field for one row it automatically changes it for the second row also with the same value.
    Please suggest if I am doing something wrong.
    Thanks in advance.

    Hi,
    I had the same issue. This is what I tried -
    I removed the binding of the whole table ie instead of $.record.Table_name , there was NONE.
    I removed the binding the individual rows ie instead of DATA[*], there was NONE.
    I only binded each of the fields with the corresponding context which will look like this -> $.record.Table_name.DATA[*].Fieldname
    This worked for me and the same value population issue got solved.
    Hope this helps.
    Regards, Liz

  • 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

  • Issue in binding person/group picker control with splist columns

    hi,
    i have a infopath form with fields, we have Primary approver and Secondary approver fields as person/group picker control, user will enter the person name and on clicking save button data getting saved in lists.
    When user come back to this page data not getting populated in person/group picker control like other textboxes. So we need binding of list data to person/group picker control.
    Same issue exists with the dropdown list. 
    can anyone pls  help how to do this.

    You have to do this: 
    http://spandps.com/2012/02/16/infopath-2010-people-picker-control/
    to promote people picker fields from InfoPath to SharePoint LIbrary.
    Hope it helps.
    Best regards.

  • Issue in Binding Custom controller to Component Controller

    Dear All,
    I have enhanced a standard component ERP_H.
    I created a custom controller with context nodes BTSTATUS, BTSTATUSH
    I enhanced the component controller with context node BTSTATUS, BTSTATUSH
    Now when i try to bind the custom controller to component controller using this code in the context class of my custom controller
    bind to component controller
      owner->do_context_node_binding(
               iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_COMPONENT
               iv_target_node_name = 'BTSTATUS'  " component controller context node
               iv_node_2_bind = BTStatus ).
    its not working since this context node in component controller is not the standard one but the custom added one.
    Am i missing something, or is there any way to bind customer context node in custom controller to customer context node in component controller.
    regards,
    pradeep

    Hi pradeep,
        Try the other way round go to the context class in the component controller and paste the following code in the
    create_contextnode( context node = name of the node to be linked).
    *owner->do_context_node_binding(
            iv_controller_type = cl_bsp_wd_controller=>co_type_custom   <-----linking from component to custom
            iv_target_node_name = 'BUILHEADER' "target node: component controller node
            iv_node_2_bind = BUILHEADER ). "source node: current node.
    See if this works.
    Thanks

  • Security issues with calling web services from within Oracle?

    I'd like to use a trigger to initiate pushing data to a web service, so I thought we should call the web service from PL/SQL in a DBMS job, or perhaps create a .NET stored proc to call the service. Our DB Lead is concerned about security, since the standard model is for clients to call the database, and not for the database to function as a client.
    Does this pose any security risk? Can you refer me to any best practices or articles on this?
    Thanks in advance.
    Edited by: Kit.net on Nov 9, 2010 11:28 AM

    First, a trigger is there to for a single sole purpose - guaranteeing the integrity of the data and the transaction. It is not there to interact with external services and processes (like mail, web and other services). Doing that exposes the transaction to those other processes/services. The transaction can now fail. not because of a business rule validation, but because of a network error when the trigger accesses an external service. How on earth can a business transaction fail when the transaction is valid, but a the transaction's trigger hit an external access error!?
    And what happens do that event you have fired off in the trigger, when the transaction is rolled back? How do you undo that event you have created in the trigger that was based on uncommitted data?
    So using a trigger like this is simply stupid (and yes, I have seen it too often in practice with horrible results to sugarcoat such an idiotic approach).
    As for calling a web service from the database, using the database as the client in such a case. This is not a security risk. This is not unusual. In fact, it is very common in my experience. We have a lot of databases, ranging from SE to EE and several RAC clusters. All of them function as a client at some stage during processing. Some use a db link - and as a client fire off a SQL via that db link to a database server to obtain data. Some use ftp and act as a ftp clients, transferring processed data (XML format) to a server. Some call web services to extract data from 3rd party systems to reconcile the differences between local data sets and 3rd party data sets..
    This is common between server and server. I do not see anything unusual in the database server using another server (and acting as a client when it does). Security between servers should not be a major problem (in fact, it can easily be done in a very robust way using trusted and encrypted communication).
    The problem occurs when a client connects to the server and client and server roles are swapped at some stage (like the server "writing" a file directly to the client's filesystem). This very seldom makes any sense. And this is where authentication and security become an issue.

  • Issue on binding e4x to dataprovider

    I have a items.xml like this:
    <items>
         <item>..</item>
         <item>..</item>
         <item>..</item>
    </items>
    In mxml, the codes are:
    <fx:XML id="dataSet" source="items.xml" format="e4x"/>
    <mx:DataGrid dataProvider="{dataSet.item}">
    The datagrid is empty.
    Anyone can help?  thanks!

    Thanks!
    I binded it with Datagrid, and I must set the dataFields in  DataGridColumn,
    not like normal XML( Object, not e4x) which don't need to set those
    datafields.

  • Facing issues on binding VFC to a MAC-Address on Nexus 5010

    Hello,
    After creating a VFC interface, I am binding it to Ethernet MAC-Address of the CNA. On the wireshark trace it is observed that the initiator is sending a VLAN request but there is no response from the switch hence no FLOGI is seen.
    Although when I bind the VFC to the ethernet interface, everything works well and the initiator logs into the switch. Is there a extra config that needs to be done while a VFC is bound to a MAC?
    Thanks,
    Somayajulu

    No other special configuration.. Just make sure the MAC address is correct one. If this interface connects to a single CNA/Server, you could just bind it to physical ethernet interface. Binding to a MAC address is needed only if you have multiple servers connected on the interface through a FIP snooping device.

  • Maybe you are looking for

    • Video ipod wont add any more MP4 video files?

      i have well over 23 GB left on my 30 GB video ipod and for some reason stupid itunes will not add the files to my movies setion of my library. I have the videos in my documents, and i click add file to library, that doesnt work, and when i double clc

    • Sql developer 3.0.02 create unit_test_repos cannot log in

      I create a user like the way of "Performing a Unit Test of Your PL/SQL in Oracle SQL Developer 2.1" (http://st-curriculum.oracle.com/obe/db/11g/r2/prod/appdev/sqldev/sqldev_unit_test/sqldev_unit_test_otn.htm), but cannot log in, when test it says"Ora

    • Replicat process abended

      Hello, Before replicat process abended, I received warnings and inserted in exceptions table. "Error - OCI Error ORA-14400: inserted partition key does not map to any partition " . One of the table doesn't have the partitions on the target database.

    • Unable to install any ver of Flash Player

      In trying to incorporate new external HD, by selecting and dragging the computer HD into that folder,  I didn't see any change in the availabe space on the ext. HD. I clicked the icon and dragged it to the original venue, I was met with two successiv

    • 10.7.5 supplemental update doesn't change build number to 11G63b

      I have a bunch of Macs still with Lion and Apple Remote Desktop reports that one of them has Mac OS X 10.7.5 build number 11G63 while all the others have build number 11G63b. I'd like to align them so I installed the OS X Lion 10.7.5 Supplemental Upd