Env: Weblogic 8.1.5 Getting empty return in test view with new data
Hi, I am using Weblogic 8.1.5, Basically a run down of this issue is that my response in test view, is completely Empty when I add a new piece of data in the response current code example below:
SuccessResponseType srtype = SuccessResponseType.Factory.newInstance();
srtype.setFacDesig(inFacDesig);
srtype.setFacType(inFacType);
srtype.setFacTermA(inTermA);
srtype.setFacTermZ(inTermZ);
srtype.setNotes(NoteRtn);
srtype.setE3Array(rtn);
Response.setSuccessResponse(srtype);Basically when srtype.setNotes(NoteRtn); is added in test view NONE of the values get populated, but once I comment srtype.setNotes(NoteRtn); out all the other values get populated in the response. At this point I am just plugging dummy data for the value of NoteRtn just to figure out why its doing this. Here is some example output.
This is a response when the new line is commented out : (Its a decent amount of stuff so I cut some out, but you get the idea)
<ns:successResponse>
<ns:FacDesig>20027</ns:FacDesig>
<ns:FacType>T1F</ns:FacType>
<ns:FacTermA>MMPHTNMAFD1</ns:FacTermA>
<ns:FacTermZ>MMPHTNMA43T</ns:FacTermZ>
<ns:E3info>
<ns:E3FacDesig>7101</ns:E3FacDesig>
<ns:E3FacType>E3</ns:E3FacType>
</ns:E3info>
</ns:successResponse>
This is what I get when I add in srtype.setNotes(NoteRtn);
<ns:successResponse>
</ns:successResponse>
its just completely empty. My experience with weblogic and webservices is limited as it is, I am basically looking for someone to point me in the right direction for getting this resolved. I did not code the app I am just enhancing to in essence just add 2 strings of data to the response. The .xsd file is properly set up with the new elements and the response in the .xsd is properly set up. I am just at a loss as to what can cause the whole response to go kaput, by adding one more response type.
Anyway, Thanks in advance
Hi, I am using Weblogic 8.1.5, Basically a run down of this issue is that my response in test view, is completely Empty when I add a new piece of data in the response current code example below:
SuccessResponseType srtype = SuccessResponseType.Factory.newInstance();
srtype.setFacDesig(inFacDesig);
srtype.setFacType(inFacType);
srtype.setFacTermA(inTermA);
srtype.setFacTermZ(inTermZ);
srtype.setNotes(NoteRtn);
srtype.setE3Array(rtn);
Response.setSuccessResponse(srtype);Basically when srtype.setNotes(NoteRtn); is added in test view NONE of the values get populated, but once I comment srtype.setNotes(NoteRtn); out all the other values get populated in the response. At this point I am just plugging dummy data for the value of NoteRtn just to figure out why its doing this. Here is some example output.
This is a response when the new line is commented out : (Its a decent amount of stuff so I cut some out, but you get the idea)
<ns:successResponse>
<ns:FacDesig>20027</ns:FacDesig>
<ns:FacType>T1F</ns:FacType>
<ns:FacTermA>MMPHTNMAFD1</ns:FacTermA>
<ns:FacTermZ>MMPHTNMA43T</ns:FacTermZ>
<ns:E3info>
<ns:E3FacDesig>7101</ns:E3FacDesig>
<ns:E3FacType>E3</ns:E3FacType>
</ns:E3info>
</ns:successResponse>
This is what I get when I add in srtype.setNotes(NoteRtn);
<ns:successResponse>
</ns:successResponse>
its just completely empty. My experience with weblogic and webservices is limited as it is, I am basically looking for someone to point me in the right direction for getting this resolved. I did not code the app I am just enhancing to in essence just add 2 strings of data to the response. The .xsd file is properly set up with the new elements and the response in the .xsd is properly set up. I am just at a loss as to what can cause the whole response to go kaput, by adding one more response type.
Anyway, Thanks in advance
Similar Messages
-
Is it possible in iTunes 11 to get the old album list view, with covers and track listings like in 10?
If not, then to me that is a huge retrograde stepNo, the old album list view is not an option in iTunes 11...
You can restore much of the look & feel of the previous version with these shortcuts:
ALT to temporarily display the menu bar
CTRL+B to show or hide the menu bar
CTRL+S to show or hide the sidebar
CTRL+/ to show or hide the status bar (won't hide for me on Win XP)
Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour
Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may let iTunes start up more quickly)
If you don't like having different coloured background & text in the Album view use Edit > Preferences > General and untick Use custom colours for open albums, movies, etc.
If you still feel the need to roll back to iTunes 10.7 first download a copy of the 32 bit installer or 64 bit installer as appropriate, uninstall iTunes and supporting software, i.e. Apple Application Support & Apple Mobile Device Support. Reboot. Restore the pre-upgrade version of your library database as per the diagram below, then install iTunes 10.7.
See iTunes Folder Watch for a tool to scan the media folder and catch up with any changes made since the backup file was created.
tt2 -
How to get the returned value from Functions with Callable statement?
I was glad to find that stored procedures can be invoke with Java class code by the object of Callable statement like :
String stmt = "BEGIN departments_pkg.do_select(?,?,?); END;";
and getting the output variables by
populateAttribute(DEPARTMENTNAME,st.getString(2),true,false);
But i would like to get values returned from FUNCTION other than stored procedure, how can i achieve it? Thanks a lot!Here is my code
PROCESS BEFORE OUTPUT.
MODULE STATUS_1202.
MODULE subscreen_find.
CALL SUBSCREEN SUBSEARCH INCLUDING sy-cprog dynnr.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1202.
CALL SUBSCREEN SUBSEARCH.
MODULE subscreen_find.
case sy-ucomm.
when 'SELECTED'. "fcode
case 'ZSKILL_SEARCH'. "data element
when '01'. " value range
dynnr = 0110.
when '02'.
dynnr = 0111.
endcase.
endcase.
ENDMODULE.
kindly tell me what is wrong
Edited by: Raji Thomas on Feb 8, 2010 10:20 AM -
Need a Query that Returns both Column Name with Column Data
Hi,
Hope someone can assist quite quickly. I'm after a query that will return me both column name together with column data, i.e
Table: APP_INFO
COL1 - currently has the value of 10
COL2 - currently has the value of 'HELLO'
COL3 - currently has the value of 'QWERTY'
COL4 - currently has the value of 2000Query I'm after is to return the following result set: [actual column name, actual column data]
COL1,10
COL2,'HELLO',
COL3,'QWERTY'
COL4,2000
Any help would be much appreciated.
Thanks.
Tony.Like this ?
SQL> select empno, ename, deptno from emp where deptno = 10;
EMPNO ENAME DEPTNO
7782 CLARK 10
7839 KING 10
7934 MILLER 10
SQL> select decode(t.id,1,'EMPNO',2,'ENAME',3,'DEPTNO') COLNAME,
2 decode(t.id,1,to_char(empno),2,ename,3,deptno)
3 from (select emp.*, rownum rn from emp
4 where deptno = 10) emp, (select rownum id from dict where rownum <=3) t
5 order by emp.rn, t.id
6 /
COLNAM DECODE(T.ID,1,TO_CHAR(EMPNO),2,ENAME,3,D
EMPNO 7782
ENAME CLARK
DEPTNO 10
EMPNO 7839
ENAME KING
DEPTNO 10
EMPNO 7934
ENAME MILLER
DEPTNO 10
9 rows selected.Rgds. -
I have following query to return the page data
declare @pageSize INT = Null
,@pageNumber INT = Null
declare @totalcount int
set @pageSize =15
set @pageNumber = 1
select *
from (SELECT ROW_NUMBER()
OVER(
ORDER BY dbo.coordinator_event.CoordinatorId) AS RowNumberForPaging
,dbo.coordinator_event.EventId
,dbo.coordinator_event.NumberOfParticipantAllowed
,dbo.coordinator_event.RegistrationClosingDate
,dbo.coordinator_event.CoordinatorId
,dbo.royalevents_royalevent.title_en AS EventTitleEnglish
,dbo.royalevents_royalevent.StartDateTime
,Count(dbo.event_attendee_registration.FullName) ParticipantRegistration
, COUNT(*) OVER(PARTITION BY 1) as TotalRows
FROM dbo.coordinator_event
inner JOIN dbo.royalevents_royalevent
ON dbo.coordinator_event.EventId = dbo.royalevents_royalevent.base_id
left JOIN dbo.event_attendee_registration
ON dbo.coordinator_event.CoordinatorId = dbo.event_attendee_registration.CoordinatorId
and royalevents_royalevent.base_id = event_attendee_registration.EventId
where coordinator_event.CoordinatorId = 3
group by dbo.coordinator_event.EventId
,dbo.coordinator_event.NumberOfParticipantAllowed
,dbo.coordinator_event.RegistrationClosingDate
,dbo.coordinator_event.CoordinatorId
,dbo.royalevents_royalevent.title_en
,dbo.royalevents_royalevent.StartDateTime
) MyTable
WHERE RowNumberForPaging >= ( ( ( @pageSize * @pageNumber ) - @pageSize ) + 1 )
AND RowNumberForPaging <= ( @pageSize * @pageNumber )
ORDER BY CoordinatorId
I want's two thing with it. One thing is about how i can easily return @totalcount as separate parameter instead of part of the result set and secondly if there is a way i can optimize above row_number query to achieve paging
Kamran Shahid Application Developer (MCP,MCAD,MCSD.NET,MCTS,MCPD.net[web])What is your SQL Server version?
I think there is no way to get the count except for using temp table, e.g.
select *
INTO #TempResults
from (SELECT ROW_NUMBER()
OVER(
ORDER BY dbo.coordinator_event.CoordinatorId) AS RowNumberForPaging
,dbo.coordinator_event.EventId
,dbo.coordinator_event.NumberOfParticipantAllowed
,dbo.coordinator_event.RegistrationClosingDate
,dbo.coordinator_event.CoordinatorId
,dbo.royalevents_royalevent.title_en AS EventTitleEnglish
,dbo.royalevents_royalevent.StartDateTime
,Count(dbo.event_attendee_registration.FullName) ParticipantRegistration
, COUNT(*) OVER(PARTITION BY 1) as TotalRows
FROM dbo.coordinator_event
inner JOIN dbo.royalevents_royalevent
ON dbo.coordinator_event.EventId = dbo.royalevents_royalevent.base_id
left JOIN dbo.event_attendee_registration
ON dbo.coordinator_event.CoordinatorId = dbo.event_attendee_registration.CoordinatorId
and royalevents_royalevent.base_id = event_attendee_registration.EventId
where coordinator_event.CoordinatorId = 3
group by dbo.coordinator_event.EventId
,dbo.coordinator_event.NumberOfParticipantAllowed
,dbo.coordinator_event.RegistrationClosingDate
,dbo.coordinator_event.CoordinatorId
,dbo.royalevents_royalevent.title_en
,dbo.royalevents_royalevent.StartDateTime
) MyTable
WHERE RowNumberForPaging >= ( ( ( @pageSize * @pageNumber ) - @pageSize ) + 1 )
AND RowNumberForPaging <= ( @pageSize * @pageNumber )
select @TotalCount = TotalRows from #TempResult
SELECT .. FROM #TempResult
ORDER BY CoordinatorId
See also this very recent article about the subject you ask:
Paging
a Query with SQL Server
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
The ringtones purchased on iTunes simply disappeared from the iPhone 4S, were visible for a while on iTunes on the iMac, when the iPhone was connected but greyed out, I can't see it anymore though. I've tried to download it again from iTunes on the iPhone, but it only tells me "this item has been purchased before, would you like to buy it again?". Of course I don't want to pay twice something I've already paid for. Any idea how to get this fixed so I can use those ringtones again? Thanks in advance!
Uncheck them in the iTunes > Tones sync settings and sync, then check them again and sync.
-
I Tunes wants to conituiosly restore my phone and after every restore it just goes back to the restore screen and i can not get past that to get to my apps etc. It is as if the system does noet regognise the fact that the resotre has been done.................
Follow this very helpful user tip by wjosten:
Syncing to a "New" Computer or replacing a "crashed" Hard Drive -
How do I get my iCloud account to sync with the data on my mobile device?
I recently erased my hard drive in my iMac and did a clean install of Yosemite. My iPad and iPhone have my contacts on them ,but my iCloud account and my iMac only have the contacts that I've added manually. How do i get the contacts from my mobile device(s) into iCloud and o
nto my iMac?
-
Returning a PDF customized with user data
Can someone point me to information about taking data captured via a web page (or a hosted PDF) that returns a different PDF containing the submitted data?
I am looking for a way to collect data from a user online then automatically return a customized PDF back to the user after that data is submitted.
Thank you!You can connect the form to the DB using anODBC connection. This functionality comes as part of Acrobat but the form must be Reader Extended by the full LiveCycle Server version of Reader Extension to allow this in Reader. In your case, if your system is the only on ethat will interact with the DB then this might be a viable solution (but you woudl have to use Acrobat). This solution woudl involve create an ODBC connection in your system then configuring the form to make use of that connection.
Does that make sense?
Paul -
my family purchased iphone 3GS in US for me. I used that Iphone back home for 15 days, in pakistan on local GSM. But on the one day it automatically got locked as the battery discharged. How can i get it unlocked??
Only the carrier to whom the device is locked can unlock it.
Contact them to find out their requirements for unlocking. -
Getting problem in binding DropDown List with table data in visual JSF
Hi All,
I am new to visual JSF.
I am getting few problems while working over components.
I have succeeded in binding data of Person table in a drop down list .
By just drag drop ..it worked.
But while connecting to external DB this drag drop mechanism didn't work for me .
1st problem that i faced was by dragging method columns are not visible when i did right click-> bind to Data -> DataProvider window .
But i am successfully printed table Data in backend ie: by putting
for(int i=0; i<xn_white_listDataProvider.getAllRows().length;i++){
System.out.println(" value :"+xn_white_listDataProvider.getValue("SUB_ID",xn_white_listDataProvider.getRowKey(Integer.toString(i))));
}I am not getting how to set Items in dropdown1
I tried putting
HelloSh.xn_white_listDataProvider.options['XNODE.XN_WHITE_LIST.SUB_ID, XNODE.XN_WHITE_LIST.SUB_ID'but it didn't work while for person data table
items="#{HelloSh.personDataProvider.options['PERSON.PERSONID,PERSON.NAME']}"it is working
when i am writting items="24,28" in dropdown1 box
& printing its value in static text Like
<webuijsf:staticText id="staticText3" style="position: absolute; left: 72px; top: 120px" text="#{HelloSh.dropDown1.items}"/> it is printing fine .
Plz help me in this regard.
Any clarification if needed plz let me know.
Thanks in advance.<h:selectOneMenu id="menu1" styleClass="selectOneMenu">
<f:selectItems value="*#{selectitems.pc_DynamicPortletEdit.regList}*" />
</h:selectOneMenu>When we bind the list to the h:selectOneMenu the code in the JSP will be as given above.
My doubts here are
1) But when i tried to bind the list to a selectonemenu the code in the JSP is looking like this one
<h:selectOneMenu id="menu1" styleClass="selectOneMenu">
<f:selectItems value="*#{selectitems.pc_DynamicPortletEdit.regList.regList.toArray}*" />
</h:selectOneMenu>2) Also in the runtime instead of displaying the values in the dropdown, i am getting the object names (javax.faces.model.SelectItem@680d0ccc) in the drop down.
What am I doing wrong? Any help here would be usefull for me.
BTW,
the code in the backing bean for setting the values is like this
List dropListValue = new ArrayList();
for (int x=0; x<result.length; x++){ //where result is array of string values
SelectItem tempSelect = new SelectItem();
tempSelect.setLabel(result[x]);
tempSelect.setValue(result[x]);
dropListValue.add(result[x]);
this.setRegList(dropListValue );The bean is in request scope only. -
FocusManager breakage on return to a view with destructionPolicy="never"
Hi,
OK, so I have a view based application with an underlying view containing a core module of my application that I want to keep available. Therefore, I have set destructionPolicy="never" to keep it in memory. This works.
I also have a TextArea that I add to the view at various times and call TextArea.setFocus(); to draw up the soft keyboard on update complete. This works.
I also have a separate view that I push onto my ViewNavigator to perform a couple of related tasks, then pop it off to return to the main view once I am done. This works.
BUT...
When I return from displaying my subview, focusManager will no longer respond to my TextArea.setFocus() call.
EG: focusManager.getFocus() returns null no matter how often nor in what manner I call TextArea.setFocus();
This means that I can no longer edit any text in my main view.
Short of a (non-trivial and undesirable) workaround to replace the main view every time, which would mean re-architecting the core and unnecessarily reinitialising a number of display objects, is there any reason anybody can see for focusManager to fail in this way?
Cheers,
GDagnamit and gnnngringichyeAAUUUUURGHH!
OK, so I've found _one_ of the issues...
I was using stage text skin as I wanted (_NEEDED_) to use the spell checker and so to eliminate a costly and unnecessary programming subsystem from this legacy app. Trouble is, the stage text skin and _only_ the stage text skin is utterly, utterly banjaxed by views being added and removed.
skinClass
:ClassReference("spark.skins.mobile.StageTextAreaSkin"
Once I swapped to TextAreaSkin everything worked the way it was meant to...
skinClass
:ClassReference("spark.skins.mobile.TextAreaSkin"
Apart, that is, from the (@{{ing spell correction.
Grr. Now to add the spell checker back in... Some how.
G -
Can't get HP DeskJet 3940 to work with new iMac
I have an iBook G4 and a brand new iMac sitting next to each other. The iBook has no difficulty seeing and printing to an HP DeskJet 3940 printer in another room via an Aiport Express module. When I turn Airport OFF on the iBook and turn it ON on the iMac, the same printer is visible to the iMac but when I go to Add it into Bonjour I get an "error -9672 Unable to connect to printer" message. The new Intel iMac apparently comes with knowledge of the HP 3000 series but to no avail. So I downloaded and reinstalled all "universal" software and drivers available from HP online regarding this printer and the same error message occurs. I Spotlighted '-9672' and it pointed to a header file in Xcode that defined the error as an XML problem but I'm not sure if it relates to my problem or is merely coincidental. I tried using the Airport Express module with someone else's Epson printer and it worked fine so that module is not the problem. I hate when this sort of thing happens...
According to the list of printer drivers included with Mac OS X Tiger Intel there were drivers included for two models of the HP DJ 3940 printer. It was version 3.3, but I see that is also what you probably downloaded and installed from the HP website, so no issue there.
These instructions from Mac Help in the Finder Help menu are what you have tried? Have you tried connecting the printer directly to you new iMac first and solving any direct printing problems before printing through your LAN with the AP Express?
Connecting a USB printer to an AirPort base station
If you have an AirPort Extreme or AirPort Express base station, you can share a USB printer with other computers on your network, whether they connect to the network wirelessly or with a cable. The other computers must use Mac OS X v10.2.3 or later.
Follow the directions that came with your printer to set it up and install the necessary software on your computer.
Connect the printer to the USB port on your computer, and then print a test page. If you need help, click the link below.
Connect the printer to the USB port on the AirPort base station.
If you're setting up an AirPort Express for the first time, connect the printer to the >AirPort Express before setting up the base station.
Open a document to print, and then choose File > Print.
In the Printer pop-up menu, choose Bonjour and then choose your printer.
If you don't find your printer, choose Add Printer from the Printer pop-up menu, and then click More Printers. Select your printer and then click Add.
When you select your printer in the More Printers dialog, Mac OS X finds the printer's driver and adds the printer to the Printer pop-up menu. If Mac OS X cannot find the printer driver, "Driver not Installed" or "Gimp-print" appears in the model pop-up menu.
Usually, your computer can detect whether a printer has special accessories installed, such as additional paper trays, extra memory, or a duplex unit. If it can't, a dialog appears that lets you specify them. Make sure the settings in that dialog accurately reflect your printer's installed accessories so you can take full advantage of them.
You may not see error or status messages when using a printer connected to an AirPort base station. For example, you may not see messages like “Out of Paper” or “Printer Busy."
To use the printer utilities that came with your printer, check the status of ink cartridges, or set the printer's resolution, disconnect the printer's USB cable from the AirPort base station and connect it to your computer. -
Getting photos off iPad onto disc (with new camera connection kit)
I bought the camera connection kit and can't figure out how to get my pictures from iPad on to the 8 GB disk. Any suggestions? The disk is not showing up anywhere. Not in Photos, Settings or anywhere. IU searched here to no avail and online found Dropbox app, but that hasn't worked either. Unless I am missing a step.
Any suggestions?can I then put the new disk in my camera
What "disk" are you referring to?
If it's something to do with the camera, you need to refer to the camera manual to see how to load pix onto it.
If it's a SD card, you can get an adapter to plug it into a USB port on the computer. -
How to get minimum of 3 identical records with different dates
Hi All,
Below is my query which gives me the data i want but it gives me a same claim number 3 times because those 3 records have HVAC in them but the comments date is different, So i would like to have one row returned with the min(commentdate).
SELECT C.hsclaimnumber,
COMMENTS.hsobjectid ,
COMMENTS.hsnote as Comment,
C.hsdatecreated,s.state_id,
l.hslosstype,
Comments.hsDateCreated AS CommentDate
FROM hs_comments AS COMMENTS
INNER JOIN
hs_claim AS C ON COMMENTS.hsobjectid = C.hsclaimid
inner join
qx_states s on s.pkey = c.hslosslocationstate
inner join
[dbo].[hs_loss_type] l on C.hslosstypeid = l.hslosstypeid
WHERE (COMMENTS.hsnote LIKE '%hvac%') and
year(c.hsdatecreated) in (2014) AND (l.hslosstype = 'All other physical damage' or l.hslosstype ='Lightning (no fire)' or l.hslosstype ='Water')
group by C.hsclaimnumber,
COMMENTS.hsobjectid ,
COMMENTS.hsnote ,
C.hsdatecreated,s.state_id,
l.hslosstype,
Comments.hsDateCreated
order by C.hsclaimnumber
Can someone please help me with this?
Thanks.Select * from (SELECT C.hsclaimnumber,
COMMENTS.hsobjectid ,
COMMENTS.hsnote as Comment,
C.hsdatecreated,s.state_id,
l.hslosstype,
Comments.hsDateCreated AS CommentDate
,row_number() Over(partition by C.hsclaimnumber Order by Comments.hsDateCreated) rn
FROM hs_comments AS COMMENTS
INNER JOIN
hs_claim AS C ON COMMENTS.hsobjectid = C.hsclaimid
inner join
qx_states s on s.pkey = c.hslosslocationstate
inner join
[dbo].[hs_loss_type] l on C.hslosstypeid = l.hslosstypeid
WHERE (COMMENTS.hsnote LIKE '%hvac%') and
year(c.hsdatecreated) in (2014) AND (l.hslosstype = 'All other physical damage' or l.hslosstype ='Lightning (no fire)' or l.hslosstype ='Water')
group by C.hsclaimnumber,
COMMENTS.hsobjectid ,
COMMENTS.hsnote ,
C.hsdatecreated,s.state_id,
l.hslosstype,
Comments.hsDateCreated
) T
WHERE rn=1
order by C.hsclaimnumber
Maybe you are looking for
-
Cannot print from Windows 7 to shared HP cp1160 on XP machine
I am adding a Windows 7 Home Premium 32-bit laptop (HP ProBook 4510s) to my home network. There is already an XP machine there with a shared USB printer (HP cp1160) which is in regular use from XP and Vista laptops on the network. I've attempted to a
-
The back/forward navigation buttons are greyed out, and I can't find the sites under the History tab. Actually at first all of the tabs loaded my ISPs homepage, some of them had the Back button active and some didn't. I'm wondering how to get the lat
-
No microphone in Windows Vista 32-
It simply doesn't work. I pluged it into where is glowing red.Card is extreme gamer. I am sad that I paid 90 euros for a nothing.
-
No sound on internet, but there is everywhere else
so for the past month i can't hear any audio on the internet from sites like youtube and myspace.music and it happens on every internet site that tries to play sound. i've looked at sittes for weeks trying to find a fix. at the beginning i would ge
-
Port security not enabling/ sticky/static
ok i tried both commands. port security is not enabling (shows disabled in output) its cisco ip phone connected to port. static and sticky H(config-if)#$port-security mac-address 001E.13AF.893C H(config-if)#no shut H(config-if)#end H#show por H#show