diff options
author | ramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-13 11:59:39 +0000 |
---|---|---|
committer | ramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-13 11:59:39 +0000 |
commit | f6f6425ae740d65c3e87a9c04ce66affdc53f55e (patch) | |
tree | 83d25be24e07af174c4775004a3a627bb2c8e3f4 /branches/sca-java-1.x/modules/interface-java-jaxws/src | |
parent | 39a82c59fa69359281e2ec658a8792a0e2e9f070 (diff) |
Fixes for TUSCANY-2840
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@744091 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/interface-java-jaxws/src')
-rw-r--r-- | branches/sca-java-1.x/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/BaseBeanGenerator.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/BaseBeanGenerator.java b/branches/sca-java-1.x/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/BaseBeanGenerator.java index 4cf56fed0c..cd3a4b3e1f 100644 --- a/branches/sca-java-1.x/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/BaseBeanGenerator.java +++ b/branches/sca-java-1.x/modules/interface-java-jaxws/src/main/java/org/apache/tuscany/sca/interfacedef/java/jaxws/BaseBeanGenerator.java @@ -246,9 +246,9 @@ public abstract class BaseBeanGenerator implements Opcodes { mime.visit("value", ((XmlMimeType)ann).value()); mime.visitEnd(); } else if (ann instanceof XmlJavaTypeAdapter) { - AnnotationVisitor ada = fv.visitAnnotation("Ljavax/xml/bind/annotation/XmlJavaTypeAdapter;", true); - ada.visit("value", ((XmlJavaTypeAdapter)ann).value()); - ada.visit("type", ((XmlJavaTypeAdapter)ann).type()); + AnnotationVisitor ada = fv.visitAnnotation("Ljavax/xml/bind/annotation/adapters/XmlJavaTypeAdapter;", true); + ada.visit("value", org.objectweb.asm.Type.getType(((XmlJavaTypeAdapter)ann).value())); + ada.visit("type", org.objectweb.asm.Type.getType(((XmlJavaTypeAdapter)ann).type())); ada.visitEnd(); } else if (ann instanceof XmlAttachmentRef) { AnnotationVisitor att = fv.visitAnnotation("Ljavax/xml/bind/annotation/XmlAttachmentRef;", true); |