Attempting to build the WSDL2Java generated stub file BenchmarkStub.java I am 
displayed

.\src\edu\indiana\extreme\www\wsdl\benchmark1\BenchmarkStub.java:5932: cannot 
find symbol
symbol  : constructor 
OMSourcedElementImpl(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axiom.om.OMDataSource)

From axiom (Manifest-Version: 1.0)
Compiled from "OMSourcedElementImpl.java"
public class org.apache.axiom.om.impl.llom.OMSourcedElementImpl extends 
org.apache.axiom.om.impl.llom.OMElementImpl{
    public org.apache.axiom.om.impl.llom.OMSourcedElementImpl(java.lang.String, 
org.apache.axiom.om.OMNamespace, org.apache.axiom.om.OMFactory, 
org.apache.axiom.om.OMDataSource);

As you can see there is a clear miss on the the 1st constructor 
OMSourcedElementImpl (QName,OMFactory,OMDataSource) 
AND the provided class constructor from axiom 
OMSourcedElementImpl(String,OMNamespace,OMFactory,OMDataSource)

What gives????
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Chathura Herath" <[EMAIL PROTECTED]>
To: <[email protected]>; "Martin Gainty" <[EMAIL PROTECTED]>
Sent: Monday, July 17, 2006 12:17 PM
Subject: Re: XMLSchemaType.addMetaInfo


> Ajith added this like two weeks ago. Use the following Xml-Schema jar.
> http://ws.zones.apache.org/~dims/maven/ws-commons/jars/XmlSchema-SNAPSHOT.jar
> Chathura
> 
> On 7/17/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi Rajith-Here is the specific error I am getting-
>>
>> java org.apache.axis2.wsdl.WSDL2Java -uri
>> file:///AXIS/Axis-2_1/samples/wsdl/Axis2SampleDocLit.wsdl
>>
>> Exception in thread "main"
>> org.apache.axis2.wsdl.codegen.CodeGenerationException
>> : java.lang.RuntimeException:
>> java.lang.reflect.InvocationTargetException
>>         at
>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> ationEngine.java:235)
>>         at
>> org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>>         at
>> org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
>> Caused by: java.lang.RuntimeException:
>> java.lang.reflect.InvocationTargetExcepti
>> on
>>         at
>> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
>> leDBExtension.java:52)
>>         at
>> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
>> ationEngine.java:188)
>>         .. 2 more
>> Caused by: java.lang.reflect.InvocationTargetException
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
>> leDBExtension.java:49)
>>         .. 3 more
>> Caused by: java.lang.NoSuchMethodError:
>> org.apache.ws.commons.schema.XmlSchemaCo
>> mplexType.addMetaInfo(Ljava/lang/Object;Ljava/lang/Object;)V
>>         at
>> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
>> SchemaCompiler.java:715)
>>         at
>> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
>> ava:674)
>>         at
>> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
>> java:414)
>>         at
>> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
>> java:385)
>>         at
>> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:26
>> 5)
>>         at
>> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:20
>> 9)
>>         at
>> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java
>> :77)
>>         .. 8 more
>>
>> If I go to
>> /XmlSchema-1.0.3/apidocs/org/apache/ws/commons/schema/XmlSchemaComplexType.html
>> I see no mention of addMetaInfo method ????
>>
>> Advice ???
>> M-
>> *********************************************************************
>> This email message and any files transmitted with it contain confidential
>> information intended only for the person(s) to whom this email message is
>> addressed.  If you have received this email message in error, please notify
>> the sender immediately by telephone or email and destroy the original
>> message without making a copy.  Thank you.
>>
>>
>>
>>
>> ----- Original Message -----
>> From: Rajith Attapattu
>> To: Martin Gainty
>> Sent: Saturday, July 15, 2006 12:33 PM
>> Subject: Re: XMLSchemaType.addMetaInfo
>>
>>
>> Martin,
>>
>> They have the latest snapshot version and it worked fine for me.
>> Build without the -o option, it should work.
>>
>> Regards,
>>
>> Rajith
>>
>>
>> On 7/14/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> >
>> > Rajith-
>> >
>> > I am currently building axis2 and have noted the same error as you have
>> reported earlier
>> > Do you know which version of
>> org.apache.ws.commons.schema.XMLSchemaType supports the
>> addMetaInfo method??
>> >
>> > Many Thanks
>> > Martin --
>> >
>> *********************************************************************
>> > This email message and any files transmitted with it contain confidential
>> > information intended only for the person(s) to whom this email message is
>> > addressed.  If you have received this email message in error, please
>> notify
>> > the sender immediately by telephone or email and destroy the original
>> > message without making a copy.  Thank you.
>> >
>> >
>> >
>>
>>
> 
> 
> -- 
> Chathura Herath
> http://people.apache.org/~chathura/
> http://chathurah.blogspot.com/
>

Reply via email to