Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

problem in invoking web service from a stateless session bean

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to invoke a webservice from an stateless session bean using the code snippet below.



but it gives the error as ----


I have generated the stubs using the RAD tool and defined the client type as the java proxy.
Another approach I tried was not using the JNDI to get the service object. instead using the generated class. Here is the code snippet for that :


But this also returned the same error.
The webservice is working perfectly as i tried it with web service explorer from RAD tool.
Please can anybody tell me what am I doing wrong and what is the correct way of invoking webservice from ejb?
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also facing the same issue... No idea what is the reason for the error...

Please help... Thanks

 
Sona Patel
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It has been 2 days and no progress on this issue..

Web service call is successful. I am getting right response for web service request which is printed in the log file but then there are few more loggers as follows

client parse, BB:6000000001576068, data:6000000003a5ae40
client check borrow state 0
IT_Bus::Exception: No Data remaining in message. deserialize called too many times.

I am not getting why this error is coming. if anybody over here has any idea on cause/solution of this error, please reply.. Thanks.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic