Search:

Type: Posts; User: springWSDev; Keyword(s):

Search: Search took 0.01 seconds.

  1. The problem with new connection is that, second...

    The problem with new connection is that, second method going to called many times like thousands time. So I am afraid that my connection pool is not that much. I know it will release the connection...
  2. Thanks Marten, I worked very well. But there is a...

    Thanks Marten, I worked very well. But there is a small problem, I am sure you would solve it. Actually I am passing connection as the argument to the second method where it executes some DB...
  3. Required New transaction, is not creating new transaction.

    Hi,

    In my service class I have two methods, both are Transactional. I want to create a new Transaction when control enters into second method from first method. Because what I am doing in second...
  4. Replies
    25
    Views
    1,856

    Hi, As I explained in this thread, I am having...

    Hi,

    As I explained in this thread, I am having problem in getting Connection which takes part in Transactions. For that I have application-Context.xml file with all beans needed.



    <bean...
  5. Replies
    25
    Views
    1,856

    Hi Marten, I think this is going very long so if...

    Hi Marten, I think this is going very long so if you could give me your email I would give you the whole idea what I am trying to do and why.

    Thnx..:)
  6. Replies
    25
    Views
    1,856

    Hi Marten, I have done all the changes, but I am...

    Hi Marten, I have done all the changes, but I am still having same problem. I am not able to get the transactional connection. I have attached the modified code. Please let me know where I am...
  7. Replies
    25
    Views
    1,856

    Thanks Marten for your feedback. But I could not...

    Thanks Marten for your feedback. But I could not find, how am I loading beans more than one time, do you mean by passing app-config.xml as context-param and in DispatcherServlet. If don't give any...
  8. Replies
    25
    Views
    1,856

    Hi Marten, I have attached the files you asked...

    Hi Marten, I have attached the files you asked about. Please have a look and let me know the problem. Thnx....:)
  9. Replies
    25
    Views
    1,856

    Thanks Marten for efforts, but the project I am...

    Thanks Marten for efforts, but the project I am working is kind of big project and I cant share the code. But as you asked other question about right datasource in code. Here is the spring-config.xml...
  10. Replies
    25
    Views
    1,856

    Hi Marten, I think, I doing something wrong...

    Hi Marten,

    I think, I doing something wrong for sure. Because the connection type I am getting is 'oracle.jdbc.driver.LogicalConnection', that seems to be Oracle specific.
    And I have put...
  11. Replies
    25
    Views
    1,856

    Hi Marten, How should I take Connection from...

    Hi Marten,

    How should I take Connection from the Datasource.


    private DataSource myDataSource;
    Connection conn = myDataSource.getConnection();


    Here DataSource is the...
  12. Replies
    25
    Views
    1,856

    Hi, Thanks for the help. actually my most of...

    Hi,

    Thanks for the help. actually my most of the code is legacy code and I have to use the existing code and cant change that as well. But I got a way to accommodate your suggestion and it did not...
  13. Replies
    25
    Views
    1,856

    But the Datasource I am injecting in Oracle that...

    But the Datasource I am injecting in Oracle that should be 'oracle.jdbc.pool.OracleDataSource', otherwise it will throw ClassCastException in the Oracle class where I am configuring the cache for...
  14. Replies
    25
    Views
    1,856

    Hi, I have been doing same as you stated. I am...

    Hi,

    I have been doing same as you stated. I am attaching my code

    these are the configuration files.


    <bean id="proxyDataSource"...
  15. Replies
    25
    Views
    1,856

    Hi, I did read that chapter. But that has...

    Hi,

    I did read that chapter. But that has nothing much just information about the class:-
    Here is the link from where I read....
  16. Replies
    25
    Views
    1,856

    Hi, Thanks for reply. Could you give me some...

    Hi,

    Thanks for reply. Could you give me some link or reference for that, because I am new to these things. Any example or sample code would help.

    Thanks :)
  17. Replies
    25
    Views
    1,856

    Spring Transaction with simple JDBC.

    Hi,

    I have an old application which is using the simple JDBC, means Statements and PreparedStatments, for the Database query and update.
    Now I am integrating this application with REST web...
  18. Replies
    0
    Views
    936

    Spring REST WS with WADL

    Hi,

    I have developed couple of REST web services using spring web API. I want them all to document so that our client can use those. Like WSDL in SOAP, I heard REST has WADL. So thought to give it...
  19. Replies
    4
    Views
    2,697

    I know it is very old post. But I am still...

    I know it is very old post. But I am still looking for something which can generate the WADL for the REST Web services developed in Spring framwork 3.0.
    It will be fine if there is any third party...
  20. Replies
    6
    Views
    6,149

    Hi, I investigated through whole application...

    Hi,

    I investigated through whole application and I found that it has Piccolo.jar. So whenever there is need of any unmarshaling it takes the instance of PiccoloParser instead SaxParserImp. So I...
  21. Replies
    6
    Views
    6,149

    Hi, I have checked it number of times, it is...

    Hi,

    I have checked it number of times, it is fine according to me. It would be good if you can point me anything which needs to be there.

    And one more thing, when I deploy this as separate...
  22. Replies
    6
    Views
    6,149

    Hi felix, Mapping files means java file...

    Hi felix,

    Mapping files means java file generated from XSD ? if yes, then I have already created a jar and put into classpath. But that should not be the case because my GET method is working very...
  23. Replies
    6
    Views
    6,149

    Please, could someone reply.......I have been...

    Please, could someone reply.......I have been digging into this for two days, yet to get it resolved this.

    Thanks.....
  24. Replies
    6
    Views
    6,149

    Getting 400 Bad Request, for POST method

    Hi all,

    This is my first post here on this forum.
    I wrote a Rest web service in which I have one method. That is the http Post type method which is as following:-

    ...
Results 1 to 24 of 24