I set the epr to "http://api.betdaq.com/v2.0/ReadOnlyService.asmx".
I also changed all of the xxxE classes to the "numbered" class that had been
created by wsdl2java.
I get a full compile now, but an exception at runtime.
So, my next 2 questions are :
1- can you point me to a page on the web that will explain what those
"numbered" classes are for ? This is very confusing to a newbie like me...
2- do you understand why I get this exception :
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:564)
at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:96)
at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:79)
at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:615)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:115)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:180)
at
org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:146)
at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:139)
at
com.globalbettingexchange.www.externalapi.ReadOnlyServiceStub.<init>(ReadOnlyServiceStub.java:44)
at
com.globalbettingexchange.www.externalapi.ReadOnlyServiceStub.<init>(ReadOnlyServiceStub.java:29)
at
com.globalbettingexchange.www.externalapi.ReadOnlyServiceStub.<init>(ReadOnlyServiceStub.java:77)
at ca.jpti.scraper.book.Betdaq.main(Betdaq.java:207)
Caused by: java.lang.IllegalStateException: No valid ObjectCreator found.
at org.apache.axiom.om.util.StAXUtils$Pool.<init>(StAXUtils.java:64)
at org.apache.axiom.om.util.StAXUtils.<clinit>(StAXUtils.java:88)
... 13 more
alpatino2 wrote:
>
> I used Axis2-Snapshot newer release instead of axis2 1-3
>
> I noticed this new axis2 release changed the naming convention of the
> generated code. If you look in the classes generated you will see the
> name of the class with a numeric suffix, for example you need lok for
> something like ExternalApiHeade99 instead of ExternalApiHeaderE .
>
> Also fix in the sample the path to the endpoint reference (epr)
>
>
--
View this message in context:
http://www.nabble.com/Just-a-small-client-sample-would-really-be-great-%21-tp16532618p16545847.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]