You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/03/27 04:43:32 UTC

[jira] Created: (CXF-491) in hello_world sample, cann't throw the expected exception

in hello_world sample, cann't throw the expected exception
----------------------------------------------------------

                 Key: CXF-491
                 URL: https://issues.apache.org/jira/browse/CXF-491
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
            Reporter: Freeman Fang


in Client.java of hello_world sample, the code 
System.out.println("Invoking greetMe with invalid length string, expecting exception...");
        try {
            resp = port.greetMe("Invoking greetMe with invalid length string, expecting exception...");
        } catch (ProtocolException e) {
            System.out.println("Expected exception has occurred: " + e.getClass().getName());
        }


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


[jira] Commented: (CXF-491) in hello_world sample, cann't throw the expected exception

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484286 ] 

Freeman Fang commented on CXF-491:
----------------------------------

in Client.java of hello_world sample, the code
        System.out.println("Invoking greetMe with invalid length string, expecting exception...");
        try {ow
            resp = port.greetMe("Invoking greetMe with invalid length string, expecting exception...");
        } catch (ProtocolException e) {
            System.out.println("Expected exception has occurred: " + e.getClass().getName());
        } 

shows an exception should be catch since in wsld the greetMe parameter max length is 30
           <simpleType name="MyStringType">
                <restriction base="string">
                    <maxLength value="30" />
                </restriction>
            </simpleType>

But did not catch this exception


> in hello_world sample, cann't throw the expected exception
> ----------------------------------------------------------
>
>                 Key: CXF-491
>                 URL: https://issues.apache.org/jira/browse/CXF-491
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>            Reporter: Freeman Fang
>
> in Client.java of hello_world sample, the code 
> System.out.println("Invoking greetMe with invalid length string, expecting exception...");
>         try {
>             resp = port.greetMe("Invoking greetMe with invalid length string, expecting exception...");
>         } catch (ProtocolException e) {
>             System.out.println("Expected exception has occurred: " + e.getClass().getName());
>         }

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


[jira] Resolved: (CXF-491) in hello_world sample, cann't throw the expected exception

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

Freeman Fang resolved CXF-491.
------------------------------

    Resolution: Fixed

> in hello_world sample, cann't throw the expected exception
> ----------------------------------------------------------
>
>                 Key: CXF-491
>                 URL: https://issues.apache.org/jira/browse/CXF-491
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>            Reporter: Freeman Fang
>         Assigned To: Freeman Fang
>
> in Client.java of hello_world sample, the code 
> System.out.println("Invoking greetMe with invalid length string, expecting exception...");
>         try {
>             resp = port.greetMe("Invoking greetMe with invalid length string, expecting exception...");
>         } catch (ProtocolException e) {
>             System.out.println("Expected exception has occurred: " + e.getClass().getName());
>         }

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


[jira] Assigned: (CXF-491) in hello_world sample, cann't throw the expected exception

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

Freeman Fang reassigned CXF-491:
--------------------------------

    Assignee: Freeman Fang

> in hello_world sample, cann't throw the expected exception
> ----------------------------------------------------------
>
>                 Key: CXF-491
>                 URL: https://issues.apache.org/jira/browse/CXF-491
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>            Reporter: Freeman Fang
>         Assigned To: Freeman Fang
>
> in Client.java of hello_world sample, the code 
> System.out.println("Invoking greetMe with invalid length string, expecting exception...");
>         try {
>             resp = port.greetMe("Invoking greetMe with invalid length string, expecting exception...");
>         } catch (ProtocolException e) {
>             System.out.println("Expected exception has occurred: " + e.getClass().getName());
>         }

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


[jira] Commented: (CXF-491) in hello_world sample, cann't throw the expected exception

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484295 ] 

Freeman Fang commented on CXF-491:
----------------------------------

a missing spring configuration file can fix it

> in hello_world sample, cann't throw the expected exception
> ----------------------------------------------------------
>
>                 Key: CXF-491
>                 URL: https://issues.apache.org/jira/browse/CXF-491
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>            Reporter: Freeman Fang
>         Assigned To: Freeman Fang
>
> in Client.java of hello_world sample, the code 
> System.out.println("Invoking greetMe with invalid length string, expecting exception...");
>         try {
>             resp = port.greetMe("Invoking greetMe with invalid length string, expecting exception...");
>         } catch (ProtocolException e) {
>             System.out.println("Expected exception has occurred: " + e.getClass().getName());
>         }

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