CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: java_dev

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    8,642

    Re: Sample WebService using XFire

    I am using Xfire-all.1.2.6.jar,


    Ant taks:



    <target name="gen-client" description="generates client">
    <taskdef name="wsgen"
    classname="org.codehaus.xfire.gen.WsdlGenTask"
  2. Replies
    5
    Views
    8,642

    Re: Sample WebService using XFire

    Deliverance: Your are great your inputs made to think In right direction, actually I cofigured wrongly. I rectified my issue.

    ------------

    Now I want to design a client for a webservice which...
  3. Replies
    5
    Views
    8,642

    Re: Sample WebService using XFire

    I am through with above null pointer exception.

    But I am facing another error , can any one give inputs ?


    Thanks in advance...........

    Error:
  4. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Currently I am working on more priority work! Please give me some time to reply.

    Deliverance, i posted new request/thread on webservices. Can you please help me on this.

    Thread Link:...
  5. Replies
    5
    Views
    8,642

    Sample WebService using XFire

    Hi ,
    I am trying to build a Sample web service using Xfire and spring which will return some string(Test Service).

    ClaimContactDataService.java


    public class ClaimContactDataService ...
  6. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    but "Integration-webapp.xml" is also not in classpath

    it is in WEB-INF folder. I tried but file not found exception is comming. I belive loading is happening using web.xml.


    ...
  7. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    CGenerationScheduledJobTestCase.java



    public void testRunScheduledJob() {
    AbstractApplicationContext context = new
    ClassPathXmlApplicationContext("????");
    .
    .
    }
  8. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    I am using JDK 1.4.x



    @RunWith (SpringJUnit4ClassRunner.class)
    @ContextConfiguration (locations={"/application-context.xml"})


    annotation is not allowing. What I need to do with out...
  9. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Hi,

    I want to write JUnit test cases for my job.

    CActivityGenerationScheduledJob.java



    public void setICListDAO(ICNumberListDAO cListDAO) {
    this.cListDAO = cListDAO;
  10. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Excelent Deliverance, I am able to resolve with your above inputs. Thanks
  11. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    I want to initialize to more than one so that I can append two columns to override (please refer my #16 post)

    When I tried as follows


    fieldValue[0] = new FieldValue();


    I am getting...
  12. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Hi jcaccia and Deliverance, thanks for you concerns on my issue.

    Can you please let me know how can I solve my above issue? I am struck....

    Thanks in advance!

    -Dev
  13. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    When I initialized with 5 as bellow



    fieldValue[5] = new FieldValue();


    I am getting
  14. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    And with good reason.

    length is a property that primitive array types provide, as a convenience for polling the size of the array. It can only be read from.


    Code:
    FieldValue [] fieldValues...
  15. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Deliverance, When I initialized as
    try1: with out removing FieldValue bean injection in config file


    fieldValue = new FieldValue[5];

    try2: after removing FieldValue bean injection in config...
  16. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Hi Deliverance, I am facing one issue, I injected FieldValue in spring config file as follows,

    x-shedular.xml


    <bean id="fieldValue" class="com….FieldValue"/>

    <bean...
  17. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    And also can you please give the best place(url) from where I can read about spring with help of example(like java tutorial)?
  18. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Thanks , I resolved this issue, can you please tell what is this design/concept name ? I want to read more on this by googling.
  19. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    yes, I tested my “datasource connection” by hard coding sql statement. It is working.

    I am able to proceed further with above exception, I am facing another exception

    I tried using...
  20. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Thanks for reply Deliverance!
    No, I am not planning to providing any transaction management.

    Result List of claims() I will give to a job.

    I am also updating my recent try….

    I modified my...
  21. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Yes, I can understand, that the reason I changed as per your suggestion. I need help in solving my problem.

    Please help me.
  22. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Thanks for reply jcaccia.

    I modified my post with code tags, Can you help me in solving my problem?

    Please let me know if you need more details from my end.
  23. Replies
    37
    Views
    20,185

    Re: How can I Initialize getJdbcTemplate()?

    Can any one help me in solving my problem ?
  24. Replies
    37
    Views
    20,185

    How can I Initialize getJdbcTemplate()?

    Task- Just need to select table data (one column also ok) from table1 and return as java.util.List

    ------------------------------
    integration-dao.xml
    -----------------------------


    <bean...
Results 1 to 24 of 24





Click Here to Expand Forum to Full Width

Featured