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 2007/12/28 13:13:44 UTC
[jira] Resolved: (AXIS2-3222) OMException with the message
"localname can not be null or empty"
[ https://issues.apache.org/jira/browse/AXIS2-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-3222.
-------------------------------------------------
Resolution: Fixed
Assignee: Amila Chinthaka Suriarachchi
fixed the issue.
> OMException with the message "localname can not be null or empty"
> -----------------------------------------------------------------
>
> Key: AXIS2-3222
> URL: https://issues.apache.org/jira/browse/AXIS2-3222
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.3
> Reporter: Björn Hamann
> Assignee: Amila Chinthaka Suriarachchi
> Attachments: EfmService_1_0.wsdl
>
>
> I am getting an OMException in my generated MessageReiceiverInOut-Class when using a wsdl fault in my wsdl (enclosed).
> In the method invokeBusinessLogic the thrown EfmServiceException is caught an the method toOM is called to create the OMElement for the fault:
> if (e.getFaultMessage() != null){
> f.setDetail(toOM(e.getFaultMessage(),false));
> }
> In the method toOM the following code is generated to create the OMElement:
> factory.createOMElement(source, "", namespace);
> Here the empty string is raising a OMException with the message "localname can not be null or empty". If the e.getFaultMessage() returns null everything works fine, but of course no data is transportet to the client.
--
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