Martin --
I tried to reproduce the error building from 
\src\modules\samples\quickstartadb\build.xml

referencing off of the wsdl2java reference located at
http://ws.apache.org/axis/java/ant/axis-wsdl2java.html

we note the wsdl2java task inside the supplied build.xml is referencing 
parameters which are *not documented*
here is the wsdl2Java task from the supplied build.xml
      <wsdl2java 
wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
                   output="${build.dir}/service"
                   packageName="samples.quickstart.service.adb"
                   language="java"
                   databindingName="adb"
                   synconly="true"
                   serverside="true"
                   serverSideInterface="true"
                   
namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.adb.xsd";
                   generateservicexml="true"/>

I pinged the ant folks and they said this is a Axis task and we should 
reference docs and usage only thru Axis 
so either
the doc is not reflecting the parameters of the real 
org.apache.axis2.tool.ant.AntCodegenTask
OR
the taskdef should be referencing a different Codegen class (which has the 
parameters accurately documented here)
the supplied parameters from the wsdl2Java are
 wsdlFilename *undocumented*
      output output directory for emitted files java.io.File 

packagename *undocumented*

language *undocumented*

databindingName *undocumented*

synconly *undocumented*


      serverside   emit server-side bindings for web service; default=false 
boolean 


serverSideInterface *undocumented*

namespaceToPackages *undocumented although there does exist a namespace 
mappingFile which is a properties file of package=namespace order*

generateservicexml *undocumented*

only 20% of the parameters are accurately documented so I would beg off this 
until the build.xml is in sync with the doc or vice-versa

Anyone else?
Martin--


This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Sanjiva Weerawarana" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, November 18, 2006 1:39 AM
Subject: Re: [AXIS2] Provider javax.xml.stream.XMLInputFactory could not 
beinstantiated


> Do you have a StAX parser in your classpath?
> 
> Sanjiva.
> 
> On Sat, 2006-11-18 at 01:08 +0100, Martin Strand wrote:
>> I downloaded the 1.1 release, went to ./samples/quickstartadb, typed "ant  
>> generate.service" and got this:
>> 
>> javax.xml.stream.FactoryConfigurationError: Provider  
>> javax.xml.stream.XMLInputFactory could not be instantiated:  
>> java.lang.InstantiationException
>> at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
>> at  
>> org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:40)
>> 
>> I'm using the latest JDK 6 snapshot (b104) on Windows. Does anybody know  
>> what's wrong?
>> 
>> I assume "javax.xml.stream.XMLInputFactory" is just an id, so I can't  
>> really see which class newInstance(...) is trying to instantiate.
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> -- 
> Sanjiva Weerawarana, Ph.D.
> Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> Director; Open Source Initiative; http://www.opensource.org/
> Member; Apache Software Foundation; http://www.apache.org/
> Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to