You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <tu...@ws.apache.org> on 2007/09/11 21:38:32 UTC

[jira] Commented: (TUSCANY-1664) Get error: faultCode=UNBOUND_PREFIX: Unable to determine namespace of 'ax21:MyException'

    [ https://issues.apache.org/jira/browse/TUSCANY-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526572 ] 

Simon Nash commented on TUSCANY-1664:
-------------------------------------

This problem occurs when the thrown exception is in a different package from the service interface, and the exception is not in java.lang.* or in javax.*. When all of these apply, the WSDL generated by Axis2 1.2 refers to an undefined namespace prefix.

> Get error: faultCode=UNBOUND_PREFIX: Unable to determine namespace of 'ax21:MyException'
> ----------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1664
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1664
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.99
>         Environment: Windows XP, maven, Tuscany-0.99
>            Reporter: Nishant Joshi
>             Fix For: Java-SCA-Next
>
>         Attachments: ExampleService.java, localhost1.log, MyException.java
>
>
> When I am deploying my Service to Tomcat following error log comes to me
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.core.assembly.ActivationException: java.lang.RuntimeException: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable to determine namespace of 'ax21:MyException'.
> I am throwing Exception (my.exception.MyException) from Service method.
> detailed Exception log and source code is attached here.

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