Filter inside Tble UI element

Dear Experts,
Im having two columns in my table and im using filter in my table, In onfilter event i written the code 
wd_this->table_control->apply_filter( ).
And  in the table column i enabled the isFiltered option and i also binded the filtervalue to a variable of type string.
when i execute my program and give input in filter field the following error occurs,
The following error text was processed in the system EBP : Access via 'NULL' object reference not possible.
The error occurred on the application server kaar-server15_EBP_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: ONACTIONONFILTER of program /1BCWDY/6CS8GWLR56619XU3FP87==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/6CS8GWLR56619XU3FP87==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: IF_WDR_RUNTIME~EXECUTE of program CL_WDR_MAIN_TASK==============CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
please help me to sort out this problem
Thanks & Regards
Arun.P

Hi,
You must not have defined wd_this->table_control
You need to do this in WDDOMODIFY and get table control in global variable as follows:
  CHECK first_time EQ abap_true.
**Get table handler for table from view
  DATA: l_table TYPE REF TO cl_wd_table.
* Get reference of the table view element
  l_table ?= view->get_element( 'TBL_MAIN' ).
* Get reference to the Filter & Sorting API
  wd_this->table_control ?= l_table->_method_handler.
Hope this helps!
Thanks,
Tejaswini
Edited by: Tejaswini Chafekar on Aug 27, 2009 2:53 PM

Similar Messages

  • Post subject: cannot apply filter to the report element

    Hi All,
    I have a report that has checkbox Input Controls. when the user is viewing the report and try to manuplate the input controls its throwing an error saying
    cannot apply filter to the report element: DP0.DO1e5
    I tried to do the same with an admin account still its showing the same error but when when I edit the report its not throwing the error. The problem is with the View mode
    Thanks
    -K

    Not sure why this is but deleting the input controls in the edit mode and re-applying works sometimes.
    Thanks,
    Karthik

  • Found character data inside an array element while deserializing

    Hi Experts,
    When I am trying to execute the webservice I am getting the following error
    Found character data inside an array element while deserializing
    Actual structure is as follows
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://10.1.2.21:8090/axis/services/InventoryManager" targetNamespace="http://10.1.2.21:8090/axis/services/InventoryManager">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <xsd:element xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns="" name="retrieveInventoryRequest" type="retrieveInventoryRequest" />
    <xsd:complexType xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="ArrayOf_xsd_string">
    <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="ArrayOf_tns1_SkuQuantity">
    <xsd:complexContent>
    <xsd:restriction base="soapenc:Array">
    <xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:SkuQuantity[]" />
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:schema>
    I know XI doesnt support array types thats why I have created my own structure as follows
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="retrieveInventory" type="InvArray" />
    <xsd:complexType name="InvArray">
    <xsd:sequence>
    <xsd:element name="pOutletList" type="xsd:string" maxOccurs="unbounded" form="qualified" />
    <xsd:element name="pSkuQuantityList" type="xsd:string" maxOccurs="unbounded" form="qualified" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    This webservice takes input like
    storenumber1;storenumner2....
    item1,qty;item2,qty.
    I am passing values like this to my webservice. But still I am getting the same probl

    The problem doesn't seem to be related to the XI system. Have you done any configuration at receiver Webservice to convert the string data passed through XI into string array data? I think there is a mismatch in what XI sends and receiver expects.
    Regards,
    Prateek

  • Filter Factory in Photoshop Elements

    Can the plug-in Filter Factory be used in Photoshop Elements?
    I have PSCS3, not PE. I will be addressing a mixed group of users, the majority probably having only PE. If I demo procedures using FF in PSCS3, can I assure the PE users the procedures can be used by them as well if they download and install FF in PE?

    Thanks.
    You have helped tremendously!

  • Spry:if inside a tr element

    Hello,
    I would like to add a "selected" class to a html table row
    element if the curRowID == {dsRowID} so I tried the following
    <tr spry:if="searchBar.searchResults.listDataSet.curRowID
    == {ds_RowID}" class="selected" spry:select="selected"
    spry:repeat="searchBar.searchResults.pagedView"
    onclick='searchBar.searchResults.itemClick("{x}","{y}","{id}");'>
    <td>{fileid}</td>
    <td>{title}</td>
    </tr>
    <tr spry:if="searchBar.searchResults.listDataSet.curRowID
    != {ds_RowID}" spry:select="selected" class="listRow"
    spry:repeat="searchBar.searchResults.pagedView"
    onclick='searchBar.searchResults.itemClick("{x}","{y}","{id}");'>
    <td>{fileid}</td>
    <td>{title}</td>
    </tr>
    The above doesn't work for me as all the table rows are given
    the "selected" class. It looks as if the spry:if is only executed
    once.
    I can put the spry:if inside the table cells and the code
    below works i.e only one table row is "selected" with that row's td
    elements having a class of "selected" -
    <tr spry:select="selected" class="listRow"
    spry:repeat="searchBar.searchResults.pagedView"
    onclick='searchBar.searchResults.itemClick("{x}","{y}","{id}");'>
    <td spry:if="searchBar.searchResults.listDataSet.curRowID
    == {ds_RowID}" class="selected">{id}</td>
    <td spry:if="searchBar.searchResults.listDataSet.curRowID
    != {ds_RowID}">{id}</td>
    <td spry:if="searchBar.searchResults.listDataSet.curRowID
    == {ds_RowID}" class="selected">{title}</td>
    <td spry:if="searchBar.searchResults.listDataSet.curRowID
    != {ds_RowID}">{title}</td>
    </tr>
    Is it possible to use spry:if inside a tr like I want to ,
    rather than each cell?
    Thanks.

    Just to clarify here, if you had the following:
    <tr spry:if="a == b" spry:repeat="ds1" spry:test="a ==
    c">
    It gets interpreted like this:
    If a==b then spry:repeat over all the rows in the data set
    and only write out the <tr> if a==c.
    If a!=b then don't execute the spry:repeat, so nothing gets
    written out.
    In other words, spry:if always gets evaluated first and then
    spry:repeat. If you need to conditionally write out something
    during the repeat, then place your expression in a spry:test, which
    gets evaluated for every iteration of the repeat.
    --== Kin ==--

  • Gibt es den PS Express Carmine-Filter auch in Photoshop Elements?

    Ich habe auf dem iPhone im iPhone-App PS Express den Filter Carmine. Er wandelt das Foto in schwarz-weiss und lässt nur die roten Farbtöne bestehen. Gibt es einen vergleichbaren Filter in Photoshop Elements?

    Hallo,
    Du könntest Dich aber auch noch hier umsehen, da findest Du sicherlich noch einige wertvolle Kriterien für Deine Entscheidung:
    Bild- und Videobearbeitung | Adobe Photoshop Elements 12 & Adobe Premiere Elements 12 – Häufig gestellte Fragen
    Ich persönlich habe mir die CC genehmigt um dem allem aus dem Wege zu gehen.
    Hans-Günter

  • Filter on Table UI Element

    Hi am trying to implement the table filter for my webdynpro component based up on the inputs from the SDN posting:
    [Link To SDN Post|Filter functionality;
    I have 2 context nodes:TABLE_NODE & FILTER. The 1st node is based on the dictionary structure MARA and have defined a few attributes from MARA. The 2nd node has just 1 attribute MATNR and is meant for binding to the filterValue property of the table column MATNR. On execution I get a shortdump with the message as:
    Context binding for property FILTER_VALUE of "TABLE_ELEMENT_MATNR" cannot be resolved: Node MAIN.1.FILTER does not contain any elements
    I tried specifying a default MATNR value for the MATNR attribute of FILTER node but it didnt help. Anyone help suggest me as to where am going wrong.
    Regards,
    Uday

    Hello Experts,
    I realised that the attribute MATNR under FILTER wasn't having any values. So I populated all MATNR values into an internal table and binded it to that node using bind_table. Now the shortdump which was occuring earlier has disappeared but I have a new query. In the [SDN Post|Filter functionality; the user "Guest" had said, "If the value set is assigned to the attribute, a drop-down box is provide instead of an input field." But I still am left with the same input field displaying the 1st MATNR value of my internal table." Is this the normal behaviour? If yes then how can I get the drop-down to be displayed in the filter field with the MATNR values that I had binded to.
    Thanks,
    Uday

  • ADF Faces: How to insert an HREF inside a table element

    Hi,
    I have a web service data control, and this web service returns the email of a department.
    I have to display this email inside a table, but, since this email is used to integrate the application with Microsoft OCS, the email must be inside an HREF tag, for example:
    <a href='sip:"+employeeBean.getEmail()+"'><img src='images/OCS.png'/></a>How can I insert this HREF inside the table, so the table displays the image and the href works ?

    Yes it works.
    Here is my code, so it will be usefull for others:
    <af:column headerText="OCS" id="c3333">
                              <af:goImageLink text="Contatta dipendente" id="gil1"
                                              icon="images/OCS.png"
                                              destination="#{row.ocsContact}"/>
                            </af:column>Many many thanks.
    Edited by: GheParDo on Jan 12, 2011 7:05 PM

  • The SVG code inside the Stage element doesn't render the image as expected in safari and Chrome

    Hi All,
    I tried include this simple SVG (as a Code "<svg>...</svg>") in stage OR into a rectangle(div) in side the stage. It comes up good in Firefox ONLY, not in other browsers.
    sym.$("Stage").append('<svg xmlns:dc="http://purl.org/............................ </svg>');
    Demo URL - http://www.dealsdrizzle.com/uxdesign/uxd.html
    Download Link - http://www.dealsdrizzle.com/uxdesign/Archive.zip
    Observations -
    1. If I inculde SVG as a image, for instance - <img src="example.svg"/> OR background image, it comes out fine in all browsers.
    2. If I try to add it "Body" or "Div" OUTSIDE of "Stage" Div. It works consistenetly.
    Why do I need to put it as SVG Code ?? -
    1. I am trying to create actions for each path (<path/>) in SVG. I think I can get access to the "Path" tag by ID only if I have included it as code.. not as image.
    Thanks in advance.
    - Vinay

    The problem was `xcompmgr` which caused "freezing" view. I switched it to `unagi` and all of the problems have gone.

  • Is it possible to use either an analysis prompt OR a fixed element filter?

    I am running up against a problem. I have a simple analysis being called by an agent. I want this analysis to be called via agent every morning with a fixed filter on the date element. I am using the following.
    ("Date"."Date" IN (SELECT case when 1=0 then "date"."date" else timestampadd(sql_tsi_day, -1, current_date) end FROM "RProBIEE"))
    This works fine and delivers my analysis to me using yesterdays date. The problem I am having is, what if I want to add a prompt to this analysis to select a date range, in case I want to run the report manually? If I set a prompt, run it manually, and select a date range. It follows that date range. However when I run the agent again, the fixed filter is not applying. Is there a way to have an either or option? Or should I simply have another analysis that I run manually with a prompt for date range, and another simply for my agent to give me yesterdays date?
    Please help.
    Thanks,
    Joe

    Thanks for the reply even though it is bad news for me, as it looks as though I will have to shell out for Airport Express.
    I think that Apple have missed a trick here (maybe not financially - see my previous comment) as I am able to mirror my Iphone, iPad and MacBook Pro to a normal TV via Apple TV and an HDMI connector, so it seems odd that the four Apple products cannot share their screens.

  • Can I add a third party filter (ASFROC) to the filter sub-folder of Photoshop Elements 13?

    I have been using a third party filter (Applied Science fiction R-O-C (now Kodak)) with Photoshop elements 9.  After upgrading to Elements 13 I would like to continue using the ASFROC plug-in filter.  Can I just add it to the Filter sub-folder in Elements 13?

    I believe the problem is those filters are 32 bit filters and you most likely have the 64 bit version of photoshop elements 13.
    The 64 bit version of pse 13 requires 64 bit filters, so you wouldn't be able to use the Kodak filters in pse 13
    Which operating system are you using?
    If windows, is your windows system 32 or 64 bit?
    (the mac version of pse 13 is always 64 bit)

  • Oil paint filter for Elements

    I downlaoded a trial version of CS6 and when it expired bought the much cheaper Elements 10. However, the dedicated Oil Paint filter I used frequently in CS6 isn't there in Elements. Had I have known this I doubt whether I would have bought Elements.
    There is an Oil Paint filter of sorts in Elements but the effects are nothing at all like the dedicated Oil Paint filter in CS6, which gave amazing brush strokes and effects.
    I've tried using the different brushes in Elements to get the same effect but to no avail.
    Does anyone know where I could get this filter or something very similar?

      Not sure if anything is available that is compatible with elements. You could try a Google search.
    The nearest effect to oil painting in Elements is using the Dry brush filter and bumping up the texture slider, but it‘s otherwise limited in what can be done.
     

  • PS Elements 6.0: kann man den Fluchtpunkt-Filter noch nachträglich bekommen?

    Hallo zusammen,
    ich arbeite mit PS Elements 6.0 und habe zunächst auch nicht vor "aufzurüsten". Leider hat der den Fluchtpunkt-Filter nicht.
    Hat jeman Du für mich einen Tipp, wo man diesen Fluchtpunkt-Filter herunterladen kann?
    Danke im voraus.
    Hans-G.

    Hallo Hans-G,
    Du meinst wahrscheinlich die Funktion, die Willi Adelberger in einem anderen Posting erwähnt hat. Aber zum einen hat er damit die Vollversion 7 gemeint, nicht PSE7. Und selbst wenn: Es war bisher noch nie möglich und vom Hersteller wohl auch kaum gewünscht, Funktionen einzeln nachzurüsten. Dafür gibts ja die (kostenpflichtigen) Updates. Meines Wissens gibts den genannten Filter auch in Photoshop Elements 8 nicht.
    Gruß
    Bernhard

  • Black and White Filter

    Hello!
    Is there anyway to apply a black and white filter over all the elements of a Group in Flex 4, please?

    Hi,
    below is the solution for you problem.Origionally all spark componets are having their label and text in red color.
    But when you added these three lines inside the spark group all the elements becomes Black and White.
    <s:filters>
                    <s:ColorMatrixFilter id="cmf" matrix="{bwMatrix}" />
    </s:filters>
    So If you want to see them in origional color then comment these three lines.
    Hope you will like it. Let me know if you have any issue.Below is code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="955" minHeight="600">
        <fx:Script>
            <![CDATA[
                private var r:Number = 0.2225;
                private var g:Number = 0.7169;
                private var b:Number = 0.0606;
                [Bindable]
                private var bwMatrix:Array = [r, g, b, 0, 0,
                    r, g, b, 0, 0,
                    r, g, b, 0, 0,
                    0, 0, 0, 1, 0];
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    <mx:VBox width="800" height="600" borderStyle="solid" horizontalAlign="center" verticalAlign="middle">
            <s:Group>
                <s:filters>
                    <s:ColorMatrixFilter id="cmf" matrix="{bwMatrix}" />
                </s:filters>
                    <s:VGroup>
                        <s:Label text="Spark Label" color="0xFF0000"/>   
                        <s:Button label="Spark button" color="0xFF0000"/>
                        <s:TextArea text="Text area of spark" color="0xFF0000"/>
                    </s:VGroup>
                </s:Group>
    </mx:VBox>       
    </s:Application>
    with Regards,
    Shardul Singh Bartwal

  • Using an external web service  and local element declarations

    I am attempting to use (call) an external web service from workshop
    8.1. It seems that if the web service's schema contains local element
    declarations with the same name then workshop will generate incorrect
    JCX code because it doesn't scope the generated classes.
    I think the following simple example will do a better job explaining
    than that last paragraph ;). In the following WSDL, the element
    "testLocalDec" is used inside two different element types. In XML
    Schema this is not a problem because each one is "scoped" by the
    element types its included in. However, the generated JCX (listed
    second) simply contains the testLocalDec structure twice which causes
    problems in Java.
    Is there some workaround for this? Note that making this element
    declaration in the WSDL will not work because they are different
    structures (with different names).
    Also see my next email around using XMLBeans with external services
    (since that could be a workaround if I knew how to do it).
    thanks,
    dave
    *** sample WSDL ***
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
         <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn" element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    *** generated JCX ***
    package helloTest;
    * @jc:location
    http-url="http://localhost:18080/tutorial/HelloWorldService"
    * @jc:wsdl file="#HelloWorldServiceWsdl"
    * @editor-info:link source="HelloWorldService.wsdl" autogen="true"
    public interface HelloWorldServiceControl extends
    com.bea.control.ControlExtension, com.bea.control.ServiceControl
    public static class testLocalDec
    implements java.io.Serializable
    public static class sayHelloResponse
    implements java.io.Serializable
    public java.lang.String sayHelloReturn;
    public testLocalDec testLocalDec;
    public static class testLocalDec
    implements java.io.Serializable
    public java.lang.String different;
    * @jc:protocol form-post="false" form-get="false"
    public sayHelloResponse sayHello (java.lang.String caller,
    testLocalDec testLocalDec);
    static final long serialVersionUID = 1L;
    /** @common:define name="HelloWorldServiceWsdl" value::
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
         <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
         <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn"
    element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Hi David,
    The folks in the workshop newgroup may have a suggestion, if you could
    try your post there:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.workshop
    Thanks,
    Bruce
    David Rees wrote:
    >
    I am attempting to use (call) an external web service from workshop
    8.1. It seems that if the web service's schema contains local element
    declarations with the same name then workshop will generate incorrect
    JCX code because it doesn't scope the generated classes.
    I think the following simple example will do a better job explaining
    than that last paragraph ;). In the following WSDL, the element
    "testLocalDec" is used inside two different element types. In XML
    Schema this is not a problem because each one is "scoped" by the
    element types its included in. However, the generated JCX (listed
    second) simply contains the testLocalDec structure twice which causes
    problems in Java.
    Is there some workaround for this? Note that making this element
    declaration in the WSDL will not work because they are different
    structures (with different names).
    Also see my next email around using XMLBeans with external services
    (since that could be a workaround if I knew how to do it).
    thanks,
    dave
    *** sample WSDL ***
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
    <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn" element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    *** generated JCX ***
    package helloTest;
    * @jc:location
    http-url="http://localhost:18080/tutorial/HelloWorldService"
    * @jc:wsdl file="#HelloWorldServiceWsdl"
    * @editor-info:link source="HelloWorldService.wsdl" autogen="true"
    public interface HelloWorldServiceControl extends
    com.bea.control.ControlExtension, com.bea.control.ServiceControl
    public static class testLocalDec
    implements java.io.Serializable
    public static class sayHelloResponse
    implements java.io.Serializable
    public java.lang.String sayHelloReturn;
    public testLocalDec testLocalDec;
    public static class testLocalDec
    implements java.io.Serializable
    public java.lang.String different;
    * @jc:protocol form-post="false" form-get="false"
    public sayHelloResponse sayHello (java.lang.String caller,
    testLocalDec testLocalDec);
    static final long serialVersionUID = 1L;
    /** @common:define name="HelloWorldServiceWsdl" value::
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:tns="urn:tutorial/hello"
    targetNamespace="urn:tutorial/hello"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <s:schema targetNamespace="urn:tutorial/hello">
    <s:element name="sayHelloResponse" >
    <s:complexType>
    <s:sequence>
    <s:element name="sayHelloReturn" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType />
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="sayHello" >
    <s:complexType>
    <s:sequence>
    <s:element name="caller" type="s:string" />
    <s:element name="testLocalDec" >
    <s:complexType >
    <s:sequence>
    <s:element name="different" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="sayHelloRequestMsg">
    <wsdl:part name="message" element="tns:sayHello"/>
    </wsdl:message>
    <wsdl:message name="sayHelloResponseMsg">
    <wsdl:part name="sayHelloReturn"
    element="tns:sayHelloResponse"/>
    </wsdl:message>
    <wsdl:portType name="HelloWorld">
    <wsdl:operation name="sayHello" >
    <wsdl:input message="tns:sayHelloRequestMsg" />
    <wsdl:output message="tns:sayHelloResponseMsg" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloWorldServiceSoapBinding"
    type="tns:HelloWorld">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequestMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponseMsg">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloWorldService">
    <wsdl:port binding="tns:HelloWorldServiceSoapBinding"
    name="HelloWorldService">
    <wsdlsoap:address
    location="http://localhost:18080/tutorial/HelloWorldService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

Maybe you are looking for

  • Customer Reconciliation Account Change

    Hello Friends, Our client had a requirement of changing the recon account for customer. Customer A (recon account 100) already had line items posted from last 2 years, these line items are cleared also. Now business wants the recon account for this c

  • Connection timeout error in web report(portal)

    Hi Experts, Points to note about the 500 connection timeout error 1. Error persists only in portal. query/ report works fine in RSRT and Bex Analyser. 2.As per previous discussions tried implementing SAP notes to change ICM parameter for max of 10 mi

  • I can't view "Adobe webpage" when i clicked on "web Widgets" with my dreamweaver cs4

    Hi there, i purchased Adode CS4 in 2009, but i haven't tried the "web widgets" in Dreamweaver CS4. i contacted Adode but they said to me that i might have some answer in the forum Adobe. Can't someone help me for CS4 old version for my "web widgets"?

  • I have a problen in opening or downloading pdf file from firefox browser.

    I am not able to view or download PDF files in firebox browser from varies site such as http://www.careerjunction.org.in .it simply shows black page and then blank.I check the add on list and it shows me Adobe firefox plugin.Pls help as every time i

  • FCP7 Interface on FCPX

    I heard a rumor that you could change the interface so it acts like FCP7. Any truth to this? jv