axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Roy (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2758) MissingResourceException on execution client with Axis2.1.2
Date Fri, 01 Jun 2007 15:08:15 GMT
MissingResourceException on execution client with Axis2.1.2
-----------------------------------------------------------

                 Key: AXIS2-2758
                 URL: https://issues.apache.org/jira/browse/AXIS2-2758
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Stephane Roy


I developed a web service with Axis2.1.1.1 in adb mode and everything works fine.

I tried to migrate this web service in Axis2.1.2 but it's not working.

I generated the code in adb mode for the server and deployed it. I generated the code in adb
mode for the client and I managed to compile the code. Now when I start the client, I have
this error:

org.apache.axis2.AxisFault: java.util.MissingResourceException: Can't find resource for bundle
org.apache.axis2.i18n.ProjectResourceBundle, key spec.FAULT_ACTION_NOT_SUPPORTED_REASON
  at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
  at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
  at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
  at my.package.myServiceStub.myMethod(myServiceStub.java:173)
  ...


After analysis, I found a workaround to my problem. By analysing the web service example of
the Axis2 tutorial, I noticed that the WSDL included this definition:
>>>
elementFormDefault="qualified"
>>>

Since I didn't have it in my web service, I added this definition in my XSD and the NullPointerException
doesn't not occur anymore !

If this definition is required in the XSD schema, Axis2 documentation should mention it.

Thanks in advance.

PS: This problem has been submitted to the User mailing list:
http://marc.info/?l=axis-user&m=117930719429534&w=2 

-- 
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


Mime
View raw message