Package level XmlJavaTypeAdapter annotation
Hi all,
I have to write a JAX-WS WebService which uses interface types as parameters and return values. Everything works fine if I annotate my interface with a type adapter:
package com.acme.jaxws.server;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
@XmlJavaTypeAdapter(SimpleAdapter.class)
public interface Simple {
String getDummy();
}However, if I use a package level annotation in package-info.java instead,
@XmlJavaTypeAdapter(value=SimpleAdapter.class,type=Simple.class)
package com.acme.jaxws.server;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;I get a runtime exception "com.acme.jaxws.server.Simple is an interface, and JAXB can't handle interfaces."
package-info.java is correctly compiled and deployed.
The portable artifacts generated with apt are identical, even without an annotation at all.
I tried Apache cxf with Java 6 as well as Metro with Java 1.5, the exception is the same. So it looks like a JAXB runtime issue.
Why does JAXB not consider my package level XmlJavaTypeAdapter annotation?
My actual usecase is to pass objects of a library interface. So I have no access to the source code, and thus annotating the interface itself is no option.
Thanks,
Rolf
Edited by: watermann on Sep 22, 2008 8:34 AM
http://javaboutique.webdeveloper.com/tutorials/annotation/index-2.html
http://www.onjava.com/pub/a/onjava/2004/04/21/declarative.html?page=last
Similar Messages
-
Package level annotation in Tiger
Can anyone post a short and complete
package-info.java
file that shows how to create package level documentation/annotation ?
Thank you,
Ted Hillhttp://javaboutique.webdeveloper.com/tutorials/annotation/index-2.html
http://www.onjava.com/pub/a/onjava/2004/04/21/declarative.html?page=last -
What minimum Support Package level is needed in BW 3.5 / 640 to be able to
Hello Experts,
A quick question:
what minimum Support Package level is needed in BW 3.5 / 640 to be able to run the SAPGUI 7.10 (including BW add-ons)?
I am also searching at my end.
<removed_by_moderator>
Read the "Rules of Engagement"
Best Regards
Sachin Bhatt
Edited by: Juan Reyes on Jun 29, 2009 11:15 AMHi,
Refer the below link
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=30625
A. FEP stands for Front-End Patch. FEPs are the patches that SAP releases for the BW front-end components of the SAP GUI.
They can be downloaded from the SAP Service Marketplace (SMP login required), browsing to the following locations:
BW 3.5 Addon can be found at Downloads -> SAP Support Packages and Patches -> Entry by Application Group -> SAP Frontend Components -> BI ADDON FOR SAPGUI -> BW 3.5 ADDON FOR SAPGUI 7.10-> Win32.
BW 7.0 Addon can be found at Downloads -> SAP Support Packages and Patches -> Entry by Application Group -> SAP Frontend Components -> BI ADDON FOR SAPGUI -> BI 7.0 ADDON FOR SAPGUI 7.10-> Win32.
Let us know if u have any issues.
Regards,
Ravi -
Official Support from SAP on Support package levels
I have NW7 Dual stack system. Currently at SP10
Looking for an "official Policy" on supported SP levels from SAP, if it exists already. Please help me by providing a link that information or a document if it exists.
We are working on an ongoing infrastructure support policy for this installation.
Thanks in advance.
VasuYou can run a certain level of support packages as long as you can live with the "deficiencies" resulting out of that. You can run on the initial installed level if you can deal with the fact, that you will need to apply a LOT of notes in case you run into an error (because of dependent notes because of the low support package level).
There may also be cases where it´s impossible to provide a correction by note (e. g. table changes) and where corrections can only be delivered by support packages.
Last but not least the law may force you to install a certain level (e. g. fiscal year change) to get the newest (and correct) data out of the system for all kinds of changes that may be necessary to comply the law.
Basically you can leave your system on a certain support package as long as you wish but it may become difficult or even impossible to give you a solution if more than an ABAP code correction is necessary.
This is especially true on dual stack systems where a change in the portal may force you to upgrade your complete backend to a certain level because there the ABAP + Java stack must be in sync --> one of the reasons why we totally avoid dual stack installations.
Markus -
Include only interfaces and package-level comments -
hi jd forum -
forgive if this is covered elsewhere. i've found references to -include, -exclude, and 'docset', but i can't find these in the documentation at http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javadoc.html (maybe it's for a different version).
i want to only include documentation for interfaces and exclude the classes -- and / or include documentation on a filename basis -- like 'document only IBI*.java.' also, i want to include ONLY package-level documentation (package.html) for some packages but not the javadocs for their associated classes...
are these things possible? i've looked into -package, -protected, and -public, but these don't seem to cover it.
thanks in advance;
-mThe -include and -exclude options and @docset tag were considered for 1.4 but then decided against by the Javadoc team as we look for other solutions.
You can document all public interfaces by passing their source filenames in to javadoc. Say, if the source files are in ./src, then:
javadoc -d docs ./src/com/package/Interface1.java /src/com/package/Interface2.java
You can use the wildcard asterisk here as well:
javadoc -d docs ./src/IBI*.java
There's no way to document the package-level documentation without the associated classes. Javadoc 1.4 has an -exclude option, but it works only to exclude packages from the -subpackages option, which is a shortcut for passing in package names.
A workaround could be to put the package.html file in a doc-files directory and then add a link to it in overview.html. It won't be processed, so won't have the navigation bars on the top and bottom, and cannot be automatically linked to from other places (index).
-Doug Kramer
Javadoc team -
Basis Support package level of ECC 6.0
Dear All,
I use SAP Version ECC 6.0 (700 Kernel, 64bit) Database SQL.
My question is what should be the support package level of ECC 6.0? SAP recommends for the latest support package level always. But, whether the latest support package level will be stable?
We are in the blue print stage now, I haven't received any requirement from the fuctionals for the support package upgrade.
We have modules like, SD, MM, FI, FICO, HR, PS and CS.
Anyone worked with these modules who can provide me, the particular components related to these modules with the stable support pack level.
Thanks in Advance,
Abu SandeepHi,
Yes, for a new installation always go for the last support packages.
After going live, NEVER, NEVER apply support packages without qualifying them for YOUR company in a test system. It takes a lot of time to do non regression tests but it is mandatory IMHO.
Regards,
Olivier -
Reg. Converting a package level cursor into a Ref cursor
Hi Guru's,
I am in need of converting a package level cursor which contains "FOR UPDATE OF" clause into a Ref cursor where the query will be dynamically built in with the needed table name and other parameters.
Using that cursor many Update statement's were performed with "WHERE CURRENT OF" clause included in it.
Now I changed my cursor into Ref cursor, but when i compile the cursor that is built dynamical is not identified, since i am getting error.
Can any one tell me how to proceed in order to implement it?
Do I need only go for dynamic bulding of the whole procedure.
With Best Regards,
Vijayasekaran.NMay be you can work it around with ROWID. Like this
Say this is your actual code.
declare
cursor c
is
select *
from t
for update of name;
lno t.no%type;
lname t.name%type;
begin
open c;
loop
fetch c into lno, lname;
exit when c%notfound;
update t set name = lno||lname
where current of c;
end loop;
close c;
end;
/With refcursor you can do this.
declare
type rc is ref cursor;
c rc;
lno t.no%type;
lname t.name%type;
lrowid rowid;
begin
open c for 'select rowid rid, t.*
from t
for update of name';
loop
fetch c into lrowid,lno, lname;
exit when c%notfound;
update t set name = lno||lname
where rowid = lrowid;
end loop;
close c;
end;
/Edited by: Karthick_Arp on Dec 26, 2008 2:00 AM -
What are the components & support package levels required in 4.7 to extract
Hi All,
In my landscape we have ECC 6.0 and 4.7EE, as of now we are extracting data from ECC 6.0 to BI 7.0.Now we have requirement to extract data from 4.7EE.
Could you please suggest me what are the components & support package levels required in 4.7 to extract data from BI 7.0
i am copying current compnents and support package level below
SAP_BASIS 620 | 0065 | SAPKB62065 | SAP Basis Component |
SAP_ABA 620 | 0065 | SAPKA62065 | Cross-Application Component |
SAP_APPL 470 | 0025 | SAPKH47025 | Logistics and Accounting |
SAP_HR 470 | 0113 | SAPKE470B3 | Human Resources
ABA_PLUS | 100 | 0009 | SAPKGPBA09 | PLUGIN ZU ABA_PLUS |
EA-IPPE 200 | 0013 | SAPKGPIB13 | EA-IPPE 200 : Add-On Installation |
PI | 2004_1_470 | 0001 | SAPKIPZI51 | R/3 Plug-In (PI) 2004.1 for R/3 Enterpri |
PI_BASIS | 2004_1_620 | 0003 | SAPKIPYI53 | Basis Plug-In (PI_BASIS) 2004_1_620 |
ST-PI | 2008_1_620 | 0000 | - | SAP Solution Tools Plug-In |
EA-APPL | 200 | 0007 | SAPKGPAB07 | SAP R/3 Enterprise PLM, SCM, Financials |
EA-DFPS | 200 | 0007 | SAPKGPDB07 | SAP R/3 ENTERPRISE DFPS |
EA-FINSERV | 200 | 0007 | SAPKGPFB07 | SAP R/3 Enterprise Financial Services |
EA-GLTRADE | 200 | 0007 | SAPKGPGB07 | SAP R/3 Enterprise Global Trade |
EA-HR | 200 | 0011 | SAPKGPHB11 | SAP R/3 Enterprise HR Extension |
EA-PS | 200 | 0007 | SAPKGPPB07 | SAP R/3 Enterprise Public Services |
EA-RETAIL | 200 | 0007 | SAPKGPRB07 | SAP R/3 Enterprise Retail
Thanks & regards
Mani.
Edited by: manohar kumar on Nov 18, 2010 7:36 AMHi,
As far as my view there is no such dependancy as our customers are running in same Environemnt (R/3 4.7 EE and BI 7.0) .
Are you facing any problem durng extraction or its just a proactive approarch .
I hope extraction will work with your current landscape.
Regards, -
Patch Level not reflecting in Support Package Levels after applying
Hello,
MDM_TECH 555_700 patch 01 are applied to A65. But the patch is not
getting reflected in the package level.
We are still unable to view the component in OCS queue, even after
uploading the component. Still the MDM_TECH 555_700 is showing
the patch level 0.
Please provide any solution to make the patch level reflect.
Thanks & Regards
VijayHi Chaitanya,
I'm facing the same issue. We are upgrading Solution Manager 7.0 to EHP1. I cannot implement the Notes 791984 , 1015068 and 1022755 since the OCS is locked with the error in DDIC_Activation. Could you please let me know how did you implement the corrections?
Cheers,
Savitha -
Routines for File name at External Data in Info Package level.
Hi All,
Can any one give the example codes of how to write the routine for Files at External Data in Info Package level.
Regards
srinivasHi Srinivas
Here iam attaching a sample code in the infopackage level this code is used to select the Current version from TVARV table ..based on the version from variable the data is loaded into the ods..
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'FISCPER'.
l_idx = sy-tabix.
tables tvarv.
data: v_prever(6) type c,
v_fiscper(7) type n.
clear tvarv.
select single low
from tvarv
into v_prever
where name = 'ZBSK_PREVIOUS_RELEASED_VERSION' and
type = 'P' and
numb = '0000'.
concatenate v_prever(4) '0' v_prever+4(2) into v_fiscper.
concatenate '0' v_prever+4(2) v_prever(4) into v_fiscper.
l_t_range-low = v_fiscper .
modify l_t_range index l_idx.
Hope the above code helps you..
let me know in case of any concerns.. and further help needed..
bye
Shu Moh.. -
Java Add-in System Copy - same Java Support Package levels ?
Hi,
I'm looking at performing a standard SAP Netweaver 04 SAP Web Application Server system "refresh" procedure. I plan to copy the production system ( SAP WAS 640 ABAP+Java addin )to an already installed QA system that was installed originally exactly the same as Prod. Both have the same components installed and the ABAP stack Support package levels are identical. What I've found is that the Java Add-in Support package levels vary. Is it possible to perform the system copy "refresh" if the Java components differ. ( Prod J2EE is 640 SP13, QA is SP14 and Adobe & ESS/MSS components differ ).
I've looked through the system copy guides and the NW04 SR1 system copy OSS note 785848, but can't find anything about this situation.
Hopefully someone else out there can tell me if it's possible, without first patching Production to the same levels as the QA system being overwritten.
Regards,
Brian.Hello,
u can do that w/o applying the patch ..but after doing system copy u have latest SP13 as of u r PRD server instead of SP14 in QA....if required then u can apply it again in QA....SP14.
So if u not got my point then tell me...
thanks..
reward points.. -
Applied SP but it is not showing in SPAM Status Package Level
Hi all,
I have applied Basis and ABAP Support Package on our XI system.
SP applied : SAPKB64011,SAPKB64012,SAPKB64013
SAPKA64011,SAPKA64012,SAPKA64013
ODS packages were successfully imported, i have verified it using
SPAM>Directory>Imported Support Packages>Display. It is showing all green.
But when I go to SPAM>Status>Package Level it is showing level 10 for BASIS
and ABAP both.
Please help, why this is happening? what to do to resolve it?
Regards
NaivedyaYes I tried Restarting server but it doesnt help.
Regards
Naivedya -
What are the Advantages & Disadvantages of Global Variable at Package Level
Dear Expprts
Please tell me,
What is mean by Global Variable?
What are the Advantages and Disadvantages of Global Variable at Package Level against Private Variable?HI
GLOBAL VARIABLE UR USE ANY BLOCK IN PLSQL
BUT LOCAL VARIABLE USED ONLY THERE THEY DECLARE.
REGARDS
MOHAMMADI -
Xi/Pi Support Package Levels
Hi All,
We have a query on Support Package levels in the landscape.
Is it mandatory that XI/PI system Support Packages needs to be in Higher level than the other systems (BI 7.0,ECC 6.0 with EHP4,CRM,SRM etc....) in the Landscape.
Please clarify.
Thanks
SunaynaHi Juan ,
Thanks for your quick response.
We heard from one of my Tech leads .So just for confirmation we want to know the same.
Regards
Sunayna -
Minimum hot package level required of release 3.1H for upgrade to 4.6c.
Hi,
What should be the minimum hot package level of release 3.1H when upgading to 4.6c.
Thanks in advance.
Regards
Ashokwhen you perform PREPARE system you will provide you a report on kernel, tp, r3trans, support pack etc.
cheers,
-Sunil
Maybe you are looking for
-
Unable to Capture Video PE 3.0
I'm using Premier Elements 3.0 and am unable to capture a video from my DV camera. I have reviewed all the instructions that might relate to the problem and have re installed the program. When I go to capture a video, in the top left of the screen in
-
how do you transfer purchased songs from itunes that you bought on your computer to your iphone? PLEASE HEP!!!
-
I need help cannot open purchased books in kindle app don't know how to get from icloud
-
Can wallpaper be set to change automatically?
i think the answer to this is no. i can do it on my mac, to rotate the wallpaper every so often, but not option yet on the iphone yet, correct?
-
I have a c4780 lost my CD I can not figure how to get the printer connected to my new netgear wireless without the cd