| Summary: | When we invoke Jacorb service, we are able to get into the service but the InputParam(list of objects) are null.empty | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | bharadwaj <bharadwaj2012> |
| Component: | ORB | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | blocker | CC: | jacorb |
| Priority: | P5 | ||
| Version: | 2.3.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: |
corbaServiceIDL
corbaService input params IDL CorbaServiceImpl class CorbaServiceTest Corba service test case |
||
|
Description
bharadwaj
2014-11-07 01:18:41 UTC
Please provide a test case (or modify one of the existing tests/demos) to demonstrate the problem. Do you have any debug logs? Code? (including IDL) ? (In reply to bharadwaj from comment #0) > We set the inputparam's(input) and other String and shot param's as an input > to the jacorb service , in the service we are able to get the single param's > like string and short but inputparam's(list of objects) object is null/ > empty. > > But the same inputParam's(output) we are using it for response and we are > getting the response output without any problem. > We feel it's some marshaling issue in case of input. It's blocker for our > flow because based on inputparam(input) set, we are navigating to the other > service to update the same. > > Note:the same inputparams set(input) is working in sun Corba implementation. > > Could you please help on this. it's very urgent. Did you mean to copy and paste your first comment?! Created attachment 446 [details]
corbaServiceIDL
Created attachment 447 [details]
corbaService input params IDL
Created attachment 448 [details]
CorbaServiceImpl class
Hi Nick, I have attached the IDL's and implementation for the same. Please help!! Can you provide a working standalone test case? And do you have debug logging demonstrating the issue? There is no issue in debug level : if u see the IMPL class , line no' 52 it's logging as size 0. I meant JacORB debugging not yours. A test case demonstrating the issue would be incredibly useful to show the problem. for jacorb , i dont have any test case. i use UCSV corba simulator to test the service. but for sun corba i have junit test case. Shall i share the Sun corba test case, working one? If its a standalone test case (even one invoked by junit) it should be able to be used with JacORB as well. Are you saying you haven't actually used JacORB but just used a simulator ? Basically we have two types of corba services which uses same code. Sun and jacorb Jacorb corba service is running in the remote server, to test this jacorb corba service we use Simulator to invoke the service. We are not sure how to use Jcorb junit test case . Ok. Can you please provide a client / server test case, even if its for the Oracle ORB that demonstrates your scenario? Created attachment 449 [details]
CorbaServiceTest
Corbaservice sun/oracle orb based test case
Created attachment 450 [details]
Corba service test case
Sun/orfacle orb based corba test case
Looking at your Oracle test case there doesn't appear to be anything in it that is particularly specific - so I would think you could adapt it to run JacORB instead. If you can produce both a client *and* a server side to demonstrate the issue it would be helpful. Can you clarify - is your remote server running on JacORB or on Oracle ORB? And you use either an Oracle client or a JacORB client ? Can you test without using the simulator ? Without useful debugging information there is little that appears obviously wrong. The remote server running on jacorb , and we dont have jacorb based client/test case. so we use only simulator. If you could provide us some sort of jacorb client/test(example) case like whatever we have it for sun/oracle corba based client . We would do test that as well. Your Oracle client should be easily able to run using the JacORB ORB. There are also plenty of demos and unit tests in the JacORB distribution. I am unable to reproduce a problem. I am closing this; if you can still reproduce an issue please reopen and retest with the current version (3.5) and without the corba simulator (in case there is a bug in that). |