Generating user defined Graph nodes

Can anyone tell me how I can generate a user defined number of Graph.Nodes from the keyboard instead of going through them one at a time please. I have tried to use a for loop but I can't get it to work.
Can anyone help.
import java.util.Iterator;
public class GraphTest{
     public static void main(String[] args){
          ASDigraph graph = new ASDigraph();
                                           // Instead of the following I would like the user to type a number
          // from the keyboard to generate any number of nodes.
          Graph.Node nodeA = graph.addNode("A");
          Graph.Node nodeB = graph.addNode("B");
          Graph.Node nodeC = graph.addNode("C");
          Graph.Node nodeD = graph.addNode("D");
          Graph.Node nodeE = graph.addNode("E");
          Graph.Node nodeF = graph.addNode("F");
          // There is other code here to generate random edges to each
          // vertex
          Iterator iter;
          iter = graph.successors(nodeA);
          System.out.println("Depth first search starting at A:");
          while(iter.hasNext()){
               Graph.Node node = (Graph.Node) iter.next();
               System.out.print(node.getElement() + " ");
          System.out.println('\n');
}This is the method used to add a node to the graph. This is taken from the ASDigraph class
public Graph.Node addNode (Object elem) {
    // Add to this graph a new node containing element elem, but with no
    // connecting edges, and return the new node.
        ASDigraph.Node node = new ASDigraph.Node(elem);
        node.prevNode = null;
        node.nextNode = firstNode;
        firstNode = node;
        size++;
        return node;
    }I also use this Input class for user entry from the keyboard. For instance: -
// Create nodes
          System.out.print("Enter the number of nodes : ");
          nodeLength = new int[Input.readInt()];
          //Initialize each node an element
          for(i=1; i<nodeLength.length; i++){     
                                                 // I tried to put code here to generate graph nodes          
// class starts here
import java.io.*;
public class Input
        public static int readInt()
           byte nos[] = new byte[12];  //*** Stores characters read ***
           int noread;                 //*** Number of characters read ***
           //*** Read keys pressed as a set of bytes ***
           try
                noread = System.in.read(nos) - 2; //*** Ignore \n and \r ***
           catch(IOException e){}
           int v = 0;
           int multiplier = 1;
           int start = 0;
           //*** IF it starts with a minus THEN ***
           if(nos[0]=='-')
                //*** Start at the second char and change the sign ***
                start=1;
                multiplier= -1;
           //*** Create a value from the bytes ***
           for(int c=start;nos[c] !=13;c++)
                v = v*10 + nos[c] - '0';
           return v*multiplier;
        public static float readFloat()
           byte nos[] = new byte[15];
           int noread;
           //*** Read keys pressed as a set of bytes ***
           try
                noread = System.in.read(nos) - 2; //*** Ignore \n and \r
           catch(IOException e){}
           boolean frac=false;
           float v=0;
           float dp=0;
           int multiplier=1;
           int start=0;
           //*** IF first character is minus THEN ***
           if(nos[0]=='-')
                //***Start at second character and change sign ***
                start=1;
                multiplier=1;
           //*** Convert to number ***
           for(int c=start; nos[c]!=13; c++)
                if(nos[c]==(int)'.')
                        frac=true;
                        dp=10;
                        continue;
                 if(!frac)
                        v = v*10 +nos[c] - '0';
                 else
                        v = v+(float)((nos[c]-'0')/dp);
                        dp*=10;
            return v*multiplier;
         public static char readChar()
           byte nos[] = new byte[10];
           int noread=0;
           //*** Read keys pressed as a set of bytes ***
           try
                noread = System.in.read(nos) - 2; //*** Ignore \n and \r
           catch(IOException e){}
           if(noread>0)
                return (char)nos[0];
           else
                return'\0';
         public static String readString()
           byte nos[] = new byte[80];
           int noread=0;
           //*** Read keys pressed as a set of bytes ***
           try
                noread = System.in.read(nos) - 2; //*** Ignore \n and \r
           catch(IOException e){}
           String s="";
           //*** Convert bytes to  characters and add to string ***
           for(int p=0; p<noread; p++)
                s=s+(char)nos[p];
           return s;

ASDigraph graph = new ASDigraph();
// Create nodes
System.out.print("Enter the number of nodes : ");
int nodeLength = Input.readInt();
//Initialize each node an element
char currentCar = 'A';
for (int i = 0; i < nodeLength; i++) {     
    graph.addNode(String.valueOf(currentCar));
    currentCar++;

Similar Messages

  • Generating user defined nodes

    Can anyone tell me how I can generate a user defined number of Graph.Nodes from the keyboard instead of going through them one at a time please. I have tried to use a for loop but I can't get it to work.
    Can anyone help.
    import java.util.Iterator;
    public class GraphTest{
         public static void main(String[] args){
              ASDigraph graph = new ASDigraph();
              // Instead of the following I would like the user to type a number
              // from the keyboard to generate any number of nodes.
              Graph.Node nodeA = graph.addNode("A");
              Graph.Node nodeB = graph.addNode("B");
              Graph.Node nodeC = graph.addNode("C");
              Graph.Node nodeD = graph.addNode("D");
              Graph.Node nodeE = graph.addNode("E");
              Graph.Node nodeF = graph.addNode("F");
              // There is other code here to generate random edges to each
              // vertex
              Iterator iter;
              iter = graph.successors(nodeA);
              System.out.println("Depth first search starting at A:");
              while(iter.hasNext()){
                   Graph.Node node = (Graph.Node) iter.next();
                   System.out.print(node.getElement() + " ");
              System.out.println('\n');
    //This is the method used to add a node to the graph. This is taken from the ASDigraph class
    public Graph.Node addNode (Object elem) {
        // Add to this graph a new node containing element elem, but with no
        // connecting edges, and return the new node.
            ASDigraph.Node node = new ASDigraph.Node(elem);
            node.prevNode = null;
            node.nextNode = firstNode;
            firstNode = node;
            size++;
            return node;
    //I also use this Input class for user entry from the keyboard. For instance: -
    // Create nodes
              System.out.print("Enter the number of nodes : ");
              nodeLength = new int[Input.readInt()];
              //Initialize each node an element
              for(i=1; i<nodeLength.length; i++){     
                   // I tried to generate nodes from here
    import java.io.*;
    // Input class
    public class Input
            public static int readInt()
               byte nos[] = new byte[12];  //*** Stores characters read ***
               int noread;                 //*** Number of characters read ***
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r ***
               catch(IOException e){}
               int v = 0;
               int multiplier = 1;
               int start = 0;
               //*** IF it starts with a minus THEN ***
               if(nos[0]=='-')
                    //*** Start at the second char and change the sign ***
                    start=1;
                    multiplier= -1;
               //*** Create a value from the bytes ***
               for(int c=start;nos[c] !=13;c++)
                    v = v*10 + nos[c] - '0';
               return v*multiplier;
            public static float readFloat()
               byte nos[] = new byte[15];
               int noread;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               boolean frac=false;
               float v=0;
               float dp=0;
               int multiplier=1;
               int start=0;
               //*** IF first character is minus THEN ***
               if(nos[0]=='-')
                    //***Start at second character and change sign ***
                    start=1;
                    multiplier=1;
               //*** Convert to number ***
               for(int c=start; nos[c]!=13; c++)
                    if(nos[c]==(int)'.')
                            frac=true;
                            dp=10;
                            continue;
                     if(!frac)
                            v = v*10 +nos[c] - '0';
                     else
                            v = v+(float)((nos[c]-'0')/dp);
                            dp*=10;
                return v*multiplier;
             public static char readChar()
               byte nos[] = new byte[10];
               int noread=0;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               if(noread>0)
                    return (char)nos[0];
               else
                    return'\0';
             public static String readString()
               byte nos[] = new byte[80];
               int noread=0;
               //*** Read keys pressed as a set of bytes ***
               try
                    noread = System.in.read(nos) - 2; //*** Ignore \n and \r
               catch(IOException e){}
               String s="";
               //*** Convert bytes to  characters and add to string ***
               for(int p=0; p<noread; p++)
                    s=s+(char)nos[p];
               return s;
    }

    Take a look at [url http://forum.java.sun.com/thread.jsp?thread=515624&forum=31&message=2456219]reply #1 here.

  • Cannot Apply User Define Serial for ITEMS

    hi ,
    we have to generate user define serial # for items . for that we need to upload the MAC addresses as serial number from a excel spread sheet can any one help regarding that please
    Thanks & regards
    Moni.

    Moni,
    You have to do some coding to achieve this:
    1. Create a table with three columns like serial_id, serial_number,taken_sts.
    2. Load your serial numbers from spreadsheet to this table using an insert or SQL Loader.
    3. Oracle gives you this package user_pkg_serial with nothing coded in package body. Add your logic to this body to return only one serial number at a time. That is the reason I asked you to create table with three columns. Maintain taken_sts column as N for only one serial number at a time and return that serial number (out parameter of the package body).
    4. It is extremely important to return the x_return_status as 'S' otherwise this will not work.
    5. Run the Generate Serial Numbers program and your serial numbers can be seen in the mtl_serial_numbers table.
    Please let me know if you need more info.
    Thanks
    Nagamohan

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • How can i mark user defined points in amplitude versus frequency graph?

    i have an array of frequencies and amplitudes . i need these values to be displayed on x-axis frequency values and y axis amplitude values . one fixed default plot should be continuously visible in this graph and then i wish to mark few user defined points in the same graph, save these two plots in the same graph and then take a print out of the graph.
    Kindly help this is regarding my master of engineering project where i am trying to biuld an audiometer (for testing hearing sensitivity) and i am going to interface labview with ardiuno micrcontroller and my hardware devices.
    so kindly help.
    thank you.
    vanashree
    Solved!
    Go to Solution.

    hey....m able to generate a multiplot...
    it works...
    i have placed two fixed plots on it...
    now just one thing remains..i need to place user defined points on the same plot...i have attached my work..i have labview 7.1
    Attachments:
    24th home try me.vi ‏157 KB

  • How to call User defined functions in Mathscript Node ?

    Hi,
    I have created a user defined function and saved it to Search path of Labview as an M file. If I run my program in Math script window, the function is recognized and the program works properly. If I do the same with MathScript node , the user defined functions are not identified.
    Kindly help me with this problem. Thanks in advance
    Cheers
    Lenord Melvix

    This page may help:
    http://zone.ni.com/reference/en-XX/help/373123C-01/lvtextmathmain/caveats_recommendations_ms_search_...
    Kevin C.

  • How to implement a user-defined function in a mathscript node

    I am trying to use a mathscript node that includes self-defined functions, but I always get an error. I tried to run an NI-example: MathScript using Riemann Zeta.vi ,and I got the same error I get when I run my own programmes:MathScript Node'MathScript Node' (zeta): User-defined function contains an error. I didn't change anything in that example, so what could be wrong?

    Try the Mathscript forum instead. Good luck.
    (Maybe start reading this, for example)
    Message Edited by altenbach on 11-18-2009 01:48 PM
    LabVIEW Champion . Do more with less code and in less time .

  • User defined query parameter in query generator

    Hi All,
    i am using query generator in SAP to print some records of user defined query. precisely, the details about sales employees are to be printed. now the columns which exist in the database (ie. sales employee code, name, cardcode) etc can be given as a parameter like [%0] and [%1]. but some user defined parameter such as sales commission does not show as such parameter. i want one column as
    select T0.doctotal, (T0.doctotal * [%0]) / 100  as brokerage from OINV T0
    --where [%0] is some commission percentage that the user will give while running this query
    This query gives correct results but it gives the parameter name as 'doctotal' while showing. any idea as to how to handle it properly in SAP?
    thanks in advance,
    Binita
    Edited by: Binita  Joshi on Sep 8, 2009 3:35 PM

    I sometimes defined a UDT only for getting the appropriate parameter entering window. The table has no data; I used it only for its field names in this window.
    (The parameter request can be placed inside a comment and the entered value is used setting an SQL variable like this:
    declare @d datetime
    /*select t.createdate from ordr t where t.createdate=[%0]*/
    set @d=[%0]
    This SQL variable can be used later in the real query.)

  • Unable to run user defined table in Query Generator...

    hi experts,
                         iam unable to run the user defined table in query generator..this is the query iam using...
    Select T0.U_Date from dbo.@ENQHEAD T0 where T0.U_EnqNo='[%0]'
    When i run this query it popups a window & asking EnqNo,when i select any enquiry no it's saying an error like----- Incorrect syntax near '@ENQHEAD'. iam unable to solve the above problem can anybody suggest me sme ideas....
    thanking you,
    shangai.

    Hi Shangai,
    I've just tried to reproduce the issue and found the following query worked correctly for me:
    SELECT T0.[Name] FROM [dbo].[@D01]  T0 WHERE T0.[U_SO]  = '[%0]''
    The only difference I can see is the square brackets [] in my query?
    Regards,
    Niall

  • Matscript node void ouputs when calling user-defined functions

    Hi,
    I have a (for most of you, probably simple) problem with calling user defined function within a mathscript node.
    I have a script inside a MathScript node which calls three UD functions. When I try to output variables, LabView sets their type to void, so I cannot use them further. this would imply, that the script is nondeterministic, (since the types would get set at runtime). However, if I replace the call to the UD function with the actual contents of the function, the variable becomes deterministic. Now, since I have several call to these functions, I have no desire in writing all of them many time, introducing many variables etc. What would you advise me to do?
    Find attached my scripts and functions.
    I need this script running on a RT Target, and have been battling this for weeks, with almost no success!
    Thanks, Regards,
    Luka
    Attachments:
    Scripts.zip ‏2 KB

    MArtin, hello!
    As far as I know, LabView checks the syntax as you write in the MS Node, and since there is no X mark next to the line number, it indicates, that the syntax is correct. Since i have set the path to the UDF in both the VI options and in the general MAthScript setting, how does adding the path command help? even if I add path('directory') command, a yellow exclamation mark appears, saying the command is slowing down performance.
    (this is the original help explanation:
    The warning glyph indicates that LabVIEW operates with reduced error checking at edit time and slower run-time performance for the MathScript Node. The following conditions cause the warning glyph to appear. To remove the warning glyph from the MathScript Node and improve run-time performance, modify your script as follows to resolve the condition in your script:
    Your script calls addpath or pathremove (legacy name rmpath), or calls cd, path, or userpath with one or more inputs, which change the MathScript search path list at run time. Remove these functions and use the MathScript page to configure the default search path)
     Could you please post a screenshot of your VI, just to see, if you've got anything different set up?
    I am running LV2012.
    Luka

  • Using user defined text functions to generate strings on button.

    I am new to java programming and am facing a problem.. It would be great if you could help me resolving it..
    The problem is:
    Is it possible to use user defined functions to generate the string on a button(button name)?
    If it is possible please educate me on it..
    Thanks..

    Yes its possible. What you ask is so vague that it can be interpreted in so many ways there are plenty correct answers
    public void userDefinedFunction(String aString)
    yourButton.setText(aString);
    }

  • Calling user defined functions in Matlab Script Node

    Greetings!
    I am not successful in calling a user defined function inside a Matlab Script Node.
    The path has been added to Matlab, but the Matlab script node is not calling my function.
    I am calling it as follows:
    a= fcd(b,c);
    and the fcd.m file is calculating the 'first central difference' - works in Matlab, but not in LabVIEW:
    function MtxOut=fcd(MtxIn,dt)
    %MtxOut=fcd(MtxIn,dt)
    %first central difference method of finding instantaneous
    %first derivatives
    %MtxIn = MxN matrix of inputs
    %dt = time change between inputs
    %MtxOut = MxN matrix of first derivatives of inputs
    r=size(MtxIn,1);
    c=size(MtxIn,2);
    MtxOut(1,=(MtxIn(2,-MtxIn(1,)/dt;
    MtxOut(r,=(MtxIn(r,-MtxIn(r-1,)/dt;
    for i=2:r-1
        for j=1:c
            MtxOut(i,j)=(MtxIn(i+1,j)-MtxIn(i-1,j))/(2*dt);
        end
    end

    Matthew:
    What version of MatLab, LabVIEW are you using?. Also, what type of errors are you running into?.
    Thanks,
    Rudi N.

  • Multi mapping question using user defined function

    Hi,
    I have a message with multiple occuring nodes (i.e. one message with multiple orders (header + detail)) that I need to map to a idoc. I need to filter out of the source based on order type (in header) from creating an idoc.. How do I do it using user defined function + message mappping ?
    mad

    All - Thanks much.. Here is my requirement that is no solved by regular mapping
    <Root>
    <Recordset>
      <Ordheader>
        <ord>
        <ord_type>
      </Ordheader>
       <Ord_line>
         <ord>
         <Linnum>
       </Ord_line>
      </Recordset>
    <Recordset>
      <Ordheader>
        <ord>
        <ord_type>
      </Ordheader>
       <Ord_line>
         <ord>
         <Linnum>
       </Ord_line>
    </Recordset>
    <Root>
    As you see above, each recordset has order transaction. One Root message can contain multiple of these. So, when I map to the IDOC, I want to filter out any ord_type <> XX.
    If I use regular graphical map, it only looks at first recordset and accepts all or rejects all.
    I need to use UDF. In the UDF, what comes in as input ? Resultset is output -correct ? Now how do I usse graphical mapping with UDF to generate the correct target info

  • Error while processing a user defined screen

    Dear Experts,
    We have developed an add on for our client in which we have a user defined screen before adding the GRPO. While adding that we are getting the error to generate this document first define the numbering series in the administration module.
    this is happening only after we upgraded to the 2007 B PL 10 version. till that there was no problem. We are unable to remove and replace the UDO and UDT as we have data in it.
    due to this we are unable to proceed with the GRPO.
    Please help us.
    thanks and regards,
    Yeshwanth Prakash

    Hi,
    Please search the forum before posting a new message.
    There are endless posts about that error.
    Regards,
    Vítor Vieira

  • 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

Maybe you are looking for

  • IPhone plays only one song at a time

    After 2 weeks of the iPod feature of my iPhone working just perfectly, last night I discovered it will no longer go through a play list. No matter what I do, it plays only one song, repeatedly - either a song I choose or a song selected randomly by h

  • Update Delivery qty via user exits

    Hello all, I need to replace the delivery qty that is copied from sales order with another qty during delivery creation (or) at the time of saving the delivery. I have tried replacing the field LIPS-LFIMG in various user exits. But none had updated t

  • How learn to program in xcode 5.0?

    Hi everybody I would like to start programming in xcode, but i don't know any other programming language yet. I once bought a book to learn it all at once (objetive c with xcode) but it was dated and it was for an old Version of xcode. Now i wander i

  • IWork Not Opening After Mountain Lion Upgrade

    Everything was working fine until I updated the OS on my iMac to Mountain Lion. Now, as an administrator, I am unable to open Pages, Numbers or Keynote (it immediately hangs and I get the spinning wheel of death). However, iWork opens fine on my wife

  • WRT54G2 and ftp client

    Hello there! Find strange problem working with WRT54G2 (firmware 1.0.04 - latest)  I try to connect to ftp server and very often get disconnects - see example of log below: 2009-09-20 23:37:50 3292 0 Status DNS request ******* 2009-09-20 23:37:50 329