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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2010/12/27 05:00:50 UTC

[jira] Resolved: (AXIS2-3151) SOAP 1.1 faultcode:Server not possible with generated server skeleton interfaces

     [ https://issues.apache.org/jira/browse/AXIS2-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-3151.
-------------------------------------------------

    Resolution: Fixed

this is already fixed in current axis2 trunk. 

<soapenv:Body>
         <soapenv:Fault>
            <faultcode>soapenv:Server</faultcode>
            <faultstring>Please implement com.india.vijeya.usa.IdentityLinkingPortSkeleton#modifyLink</faultstring>
            <detail />
         </soapenv:Fault

> SOAP 1.1 faultcode:Server not possible with generated server skeleton interfaces
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-3151
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3151
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen, kernel
>    Affects Versions: 1.1.1
>            Reporter: David Croé
>
> The SOAP 1.1 faultcode element defaults to Client and there is no possibility to change that within the generated server skeletons. The server skeleton interface declares only the exceptions which are generated from the fault entries in the wsdl.
> Throwing such a fault exceptions results in faultcode:client. Throwing a runtime exception results in faultcode:client.
> The only possible way, to throw an AxisFault and set the faultcode:Server  is not possible because AxisFault is not declared in the skeleton interface. 
> Greetings
>   David Croé

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org