You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/08/25 03:35:30 UTC

[jira] Created: (CXF-942) throwing SOAPFault from IMPL is not correctly mapped on the wire

throwing SOAPFault from IMPL is not correctly mapped on the wire
----------------------------------------------------------------

                 Key: CXF-942
                 URL: https://issues.apache.org/jira/browse/CXF-942
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.0.1
            Reporter: Daniel Kulp



Throwing a JAX-WS SOAPFault from a service IMPL does not result in the actor or details being written to the wire.

         SOAPFactory factory = SOAPFactory.newInstance();
         SOAPFault fault = factory.createFault("this is a fault string!", new QName("http://foo", "FooCode"));
         fault.setFaultActor("mr.actor");
         fault.addDetail().addChildElement("test");
         throw new SOAPFaultException(fault);


results in:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>this is a fault string!</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>

It should have the details (test element) and the actor element.



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


[jira] Updated: (CXF-942) throwing SOAPFault from IMPL is not correctly mapped on the wire

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

Daniel Kulp updated CXF-942:
----------------------------

    Fix Version/s: 2.0.2

> throwing SOAPFault from IMPL is not correctly mapped on the wire
> ----------------------------------------------------------------
>
>                 Key: CXF-942
>                 URL: https://issues.apache.org/jira/browse/CXF-942
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>             Fix For: 2.0.2
>
>
> Throwing a JAX-WS SOAPFault from a service IMPL does not result in the actor or details being written to the wire.
>          SOAPFactory factory = SOAPFactory.newInstance();
>          SOAPFault fault = factory.createFault("this is a fault string!", new QName("http://foo", "FooCode"));
>          fault.setFaultActor("mr.actor");
>          fault.addDetail().addChildElement("test");
>          throw new SOAPFaultException(fault);
> results in:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>this is a fault string!</faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> It should have the details (test element) and the actor element.

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


[jira] Assigned: (CXF-942) throwing SOAPFault from IMPL is not correctly mapped on the wire

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

Daniel Kulp reassigned CXF-942:
-------------------------------

    Assignee: Daniel Kulp

> throwing SOAPFault from IMPL is not correctly mapped on the wire
> ----------------------------------------------------------------
>
>                 Key: CXF-942
>                 URL: https://issues.apache.org/jira/browse/CXF-942
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.0.2
>
>
> Throwing a JAX-WS SOAPFault from a service IMPL does not result in the actor or details being written to the wire.
>          SOAPFactory factory = SOAPFactory.newInstance();
>          SOAPFault fault = factory.createFault("this is a fault string!", new QName("http://foo", "FooCode"));
>          fault.setFaultActor("mr.actor");
>          fault.addDetail().addChildElement("test");
>          throw new SOAPFaultException(fault);
> results in:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>this is a fault string!</faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> It should have the details (test element) and the actor element.

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


[jira] Closed: (CXF-942) throwing SOAPFault from IMPL is not correctly mapped on the wire

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

Daniel Kulp closed CXF-942.
---------------------------

    Resolution: Fixed

> throwing SOAPFault from IMPL is not correctly mapped on the wire
> ----------------------------------------------------------------
>
>                 Key: CXF-942
>                 URL: https://issues.apache.org/jira/browse/CXF-942
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.0.2
>
>
> Throwing a JAX-WS SOAPFault from a service IMPL does not result in the actor or details being written to the wire.
>          SOAPFactory factory = SOAPFactory.newInstance();
>          SOAPFault fault = factory.createFault("this is a fault string!", new QName("http://foo", "FooCode"));
>          fault.setFaultActor("mr.actor");
>          fault.addDetail().addChildElement("test");
>          throw new SOAPFaultException(fault);
> results in:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>this is a fault string!</faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
> It should have the details (test element) and the actor element.

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