You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/11 04:06:46 UTC

[jira] Created: (AXIS2-3590) Support for XmlJavaTypeAdapter

Support for XmlJavaTypeAdapter
------------------------------

                 Key: AXIS2-3590
                 URL: https://issues.apache.org/jira/browse/AXIS2-3590
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Davanum Srinivas
             Fix For: 1.4
         Attachments: java_first_jaxws.zip

Hi,

I was porting a cxf sample when i realized that @XmlJavaTypeAdapter are not picked up and used.

http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/

Please see enclosed zip for a m2 project that can create standalone war that can be dropped into say tomcat.

thanks,
dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3590) Support for XmlJavaTypeAdapter

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reassigned AXIS2-3590:
---------------------------------------

    Assignee: Rich Scheuerle

> Support for XmlJavaTypeAdapter
> ------------------------------
>
>                 Key: AXIS2-3590
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3590
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>            Assignee: Rich Scheuerle
>             Fix For: 1.4
>
>         Attachments: java_first_jaxws.zip
>
>
> Hi,
> I was porting a cxf sample when i realized that @XmlJavaTypeAdapter are not picked up and used.
> http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/
> Please see enclosed zip for a m2 project that can create standalone war that can be dropped into say tomcat.
> thanks,
> dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3590) Support for XmlJavaTypeAdapter

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577289#action_12577289 ] 

Davanum Srinivas commented on AXIS2-3590:
-----------------------------------------

User is an interface and is used in the service implementation class as an input parameter.

================
@WebService(endpointInterface = "demo.hw.server.HelloWorld", 
            serviceName = "HelloWorld")
public class HelloWorldImpl implements HelloWorld {
...
    public String sayHiToUser(User user) {
        users.put(users.size() + 1, user);
        return "Hello "  + user.getName();
    }
...
}
// END SNIPPET: service



================
@XmlJavaTypeAdapter(UserAdapter.class)
public interface User {

    String getName();
}
================


> Support for XmlJavaTypeAdapter
> ------------------------------
>
>                 Key: AXIS2-3590
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3590
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>            Assignee: Rich Scheuerle
>             Fix For: 1.4
>
>         Attachments: java_first_jaxws.zip
>
>
> Hi,
> I was porting a cxf sample when i realized that @XmlJavaTypeAdapter are not picked up and used.
> http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/
> Please see enclosed zip for a m2 project that can create standalone war that can be dropped into say tomcat.
> thanks,
> dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3590) Support for XmlJavaTypeAdapter

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3590:
------------------------------------

    Attachment: java_first_jaxws.zip

> Support for XmlJavaTypeAdapter
> ------------------------------
>
>                 Key: AXIS2-3590
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3590
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>            Assignee: Rich Scheuerle
>             Fix For: 1.4
>
>         Attachments: java_first_jaxws.zip
>
>
> Hi,
> I was porting a cxf sample when i realized that @XmlJavaTypeAdapter are not picked up and used.
> http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/
> Please see enclosed zip for a m2 project that can create standalone war that can be dropped into say tomcat.
> thanks,
> dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3590) Support for XmlJavaTypeAdapter

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577453#action_12577453 ] 

Rich Scheuerle commented on AXIS2-3590:
---------------------------------------

Investigating, but my first thought is that this is a JAXB realm issue and exposes a bug in JAXB (versus JAXWS).

Thanks,
Rich

> Support for XmlJavaTypeAdapter
> ------------------------------
>
>                 Key: AXIS2-3590
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3590
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>            Assignee: Rich Scheuerle
>             Fix For: 1.4
>
>         Attachments: java_first_jaxws.zip
>
>
> Hi,
> I was porting a cxf sample when i realized that @XmlJavaTypeAdapter are not picked up and used.
> http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/
> Please see enclosed zip for a m2 project that can create standalone war that can be dropped into say tomcat.
> thanks,
> dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3590) Support for XmlJavaTypeAdapter (tracking)

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle updated AXIS2-3590:
----------------------------------

    Fix Version/s:     (was: 1.4)
          Summary: Support for XmlJavaTypeAdapter (tracking)  (was: Support for XmlJavaTypeAdapter)

This is a problem in the sun JAXB implementation.  When this is fixed, the test should be enabled.


> Support for XmlJavaTypeAdapter (tracking)
> -----------------------------------------
>
>                 Key: AXIS2-3590
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3590
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Davanum Srinivas
>            Assignee: Rich Scheuerle
>         Attachments: java_first_jaxws.zip
>
>
> Hi,
> I was porting a cxf sample when i realized that @XmlJavaTypeAdapter are not picked up and used.
> http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/
> Please see enclosed zip for a m2 project that can create standalone war that can be dropped into say tomcat.
> thanks,
> dims

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org