You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by david2 <Da...@l-3comcept.com> on 2007/06/18 17:20:06 UTC

Re: [Axis2] Axis2 1.2 JiBX update

Dennis,

I downloaded your updated "axis2-jibx-1.2b.jar" replacement for
axis2-jibx-1.2.jar and was unable to run your jibx-library example with it. 
It generated the following exception (and, strangely enough, a "BUILD
SUCCESSFUL" Ant message):

ant run
Buildfile: build.xml

run:
     [java] Exception in thread "main" org.apache.axis2.AxisFault:
java.lang.NoSuchMethodError:
org.apache.axis2.jibx.JiBXDataSource.<init>(Ljava/lang/Object;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[I[Ljava/lang/String;Lorg/jibx/runtime/IBindingFactory;)V
     [java]     at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
     [java]     at
org.apache.axis2.jibx.library.JibxLibraryStub.getBook(JibxLibraryStub.java:474)
     [java]     at
org.apache.axis2.jibx.library.WebServiceClient.main(WebServiceClient.java:42)
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 2 seconds

After replacing the updated axis2-jibx-1.2b.jar with the original
axis2-jibx-1.2.jar, the example built and ran fine.

Any idea what the cause might be?

-David


DSosnoski wrote:
> 
> Hi Pavel,
> 
> If you can email me (directly) the trace from the exception I'll try to 
> see what's going wrong and get it corrected. If you can also send me 
> your WSDL and binding, along with the generated stub and message 
> receiver, these would probably help.
> 
>   - Dennis
> 
> Pavel Sharov wrote:
>> Dennis and others,
>>
>> I am using Axis2 1.1.1. I've updated my old Axis2 JiBX distribution
>> 'axis2-jibx-1.1.1.jar' with the newest one 'axis2-jibx-1.1.1c.jar'
>> probably you are talking about in your posting here (downloaded it from
>> http://www.sosnoski.com/jibx-wiki/space/axis2-jibx). I will not go
>> deeply into details now - will put my problem briefly, maybe that will
>> suffice to get a hint on the reason of the problem.
>> I'm using the WSDL2Java to generate both client and server Java code
>> from my WSDL and some JiBX bindings. With the previous distribution it's
>> all ok. However, with the recent update, I am getting a "Namespace not
>> found" error (which namespace - not specified) in runtime when trying to
>> marshall/unmarshall. The exception is caused by a call to the
>> constructor of org.apache.axis2.jibx.JiBXDataSource class, either in my
>> client stub or in my server message receiver.
>> I wouldn't like to continue using the old distribution as I see some
>> important bugs fixed in the new one. Could you please give me any hint
>> on what is going on? 
>> Thank you a lot in advance!
>>
>> Pavel
>>
>> -----Original Message-----
>> From: Dennis Sosnoski [mailto:dms@sosnoski.com] 
>> Sent: Thursday, May 17, 2007 3:30 PM
>> To: axis-user
>> Subject: [Axis2] Axis2 1.2 JiBX update
>>
>> I've updated the axis2-jibx.jar module for the 1.2 release of Axis2 to 
>> fix some problems with serialization (discovered while testing my 
>> validation module :-[  - see the prior post). The update is available on
>>
>> the axis2-jibx wiki page:
>> http://www.sosnoski.com/jibx-wiki/space/axis2-jibx
>>
>> The same issues are likely causing problems some users have experienced 
>> using JiBX with Rampart on the 1.1.1 release. I'll try to backport the 
>> fixes to the 1.1.1 code soon.
>>
>>   - Dennis
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A--Axis2--Axis2-1.2-JiBX-update-tf3833808.html#a11177870
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org