Ias,
Can you please help with this?
Guillaume,
Am trying to wrap my hands around existing code written by Ias and Srinath. So
please bear with us
as we cleanup/integrate/refactor the code.
thanks,
dims
--- Guillaume Sauthier <[EMAIL PROTECTED]> wrote:
>
> Hi Dims
> I've checked out latest cvs version.
> I 've tried ews with my own simple example and do not work as expected.
>
> I 've just changed a java-xml-type-mapping
> (GoogleSearchResult renamed into MyGoogleSearchResult) and I can't see
> any changes in generated classes !?
>
> here is my command line :
> java -cp <all needed classes>
> org.apache.geronimo.ews.jaxrpcmapping.WsdlToJ2ee GoogleSearch.wsdl -o
> ~/tmp -m googleMapping.xml
> (theses files have been sent with my previous post :) )
>
> and here are the classes I get :
> org/objectweb/wssample/gen/google:
> DirectoryCategory.java GoogleSearchService.java
> GoogleSearchBindingStub.java GoogleSearchServiceLocator.java
> GoogleSearchPort.java ResultElement.java
> GoogleSearchResult.java <-- Should be MyGoogleSearchResult !?
>
> java-xml-type-mapping don't seem to be read...
> And Your samples doesn't use java-xml-type-mapping. they "only" use
> other complex tags !
>
> Any ideas ???
> I'as seen a method in J2eeEmitter :
> public boolean isGeneratingTypes() {
> // TODO Auto-generated method stub
> return false;
> }
> Is this means that types are mapped to default Axis types and not java
> types defined by jaxrpc mapping file?
>
> Thanks for your answers !
>
> Regards
> Guillaume
>
> Davanum Srinivas wrote:
> >
> > Guillaume,
> >
> > Check out latest cvs (watch out for pserver lags), i works fine. Also the
> > mappings are all
> defined
> > as part of JSR 109 (http://www.google.com/search?q=JSR+109)
> >
> > thanks,
> > dims
> >
> > --- Guillaume Sauthier <[EMAIL PROTECTED]> wrote:
> > > Hello
> > >
> > > When I tryed ews with maven, the ews-1.0.jar created in target doesn't
> > > contains required jaxb properties!
> > > You can add theses files with this little XML snippet in your
> > > project.xml :
> > > in <ressources> tag add the following :
> > > <resource>
> > > <directory>target/src</directory>
> > > <includes>
> > >
> > > <include>org/apache/geronimo/ews/ws4j2ee/parsers/ejbdd/jaxb.properties</include>
> > >
> > > <include>org/apache/geronimo/ews/ws4j2ee/parsers/ejbdd/bgm.ser</include>
> > >
> > > <include>org/apache/geronimo/ews/jaxrpcmapping/descriptor/jaxb.properties</include>
> > >
> > > <include>org/apache/geronimo/ews/jaxrpcmapping/descriptor/bgm.ser</include>
> > > </includes>
> > > </resource>
> > >
> > > Is there somewhere a document explaining the functionnalities of the
> > > jaxrpc mapper ?
> > > what are the supported tags from jaxrpm-mapping-file
> > > (java-xml-type-mapping, ...) for generation ?
> > >
> > > Regards
> > > Guillaume
> > >
> > > Ias wrote:
> > > >
> > > > > i fixed the problem. please try again. specifically try
> > > > > "maven clean" followed by "maven"
> > > >
> > > > Thanks for your fix and instructing me how to use Maven (Actually today
> > > > is
> > > > the first day of my running Maven :-) . Now building with Maven works
> > > > well.
> > > >
> > > > >
> > > > > thanks,
> > > > > dims
> > > > >
> > > > > --- Ias <[EMAIL PROTECTED]> wrote:
> > > > > > > > let's stop working on the contrib and jax-rpc-mapper module
> > > > > > > and switch
> > > > > > > > over to the ews module that i checked in a few mins ago. It
> > > > > > > has code
> > > > > > > > from both contrid/ws4j2ee and jax-rpc-mapper. It generates the
> > > > > > > > jaxb stuff as well. just run "maven" from the root directory
> > > > > > > after checking
> > > > > > > > out the ews modules.
> > > > > > > >
> > > > > > > I checked ews in and ran maven, version 1.0 RC1.
> > > > > >
> > > > > > Oops! Sorry. not "in" but "out" actually.
> > > > > >
> > > > > > > Unfortunately, I failed to compile Java source files. I modified
> > > > > > >
> > > > > > > <sourceDirectory>${basedir}/target/src</sourceDirectory>
> > > > > > > to
> > > > > > > <sourceDirectory>target/src</sourceDirectory>
> > > > > > >
> > > > > > > in project and succeeded in obtaining the right ews.jar. Do you
> > > > > > > think I should commit this change?
> > > > > > >
> > > > > > > Thanks for your organizing EWS :-)
> > > > > > >
> > > > > > > Ias
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > =====
> > > > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > > > >> <?xml version="1.0"?>
> > >
> > > <!-- WSDL description of the Google Web APIs.
> > > The Google Web APIs are in beta release. All interfaces are subject
> > > to
> > > change as we refine and extend our APIs. Please see the terms of use
> > > for more information. -->
> > >
> > > <!-- Revision 2002-08-16 -->
> > >
> > > <definitions name="GoogleSearch"
> > > targetNamespace="urn:GoogleSearch"
> > > xmlns:typens="urn:GoogleSearch"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> > > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> > > xmlns="http://schemas.xmlsoap.org/wsdl/">
> > >
> > > <!-- Types for search - result elements, directory categories -->
> > >
> > > <types>
> > > <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
> > > targetNamespace="urn:GoogleSearch">
> > >
> > > <xsd:complexType name="GoogleSearchResult">
> > > <xsd:all>
> > > <xsd:element name="documentFiltering"
> > > type="xsd:boolean"/>
> > > <xsd:element name="searchComments"
> > > type="xsd:string"/>
> > > <xsd:element name="estimatedTotalResultsCount" type="xsd:int"/>
> > > <xsd:element name="estimateIsExact"
> > > type="xsd:boolean"/>
> > > <xsd:element name="resultElements"
> > > type="typens:ResultElementArray"/>
> > > <xsd:element name="searchQuery"
> > > type="xsd:string"/>
> > > <xsd:element name="startIndex" type="xsd:int"/>
> > > <xsd:element name="endIndex" type="xsd:int"/>
> > > <xsd:element name="searchTips"
> > > type="xsd:string"/>
> > > <xsd:element name="directoryCategories"
> type="typens:DirectoryCategoryArray"/>
> > > <xsd:element name="searchTime"
> > > type="xsd:double"/>
> > > </xsd:all>
> > > </xsd:complexType>
> > >
> > > <xsd:complexType name="ResultElement">
> > > <xsd:all>
> > > <xsd:element name="summary" type="xsd:string"/>
> > > <xsd:element name="URL" type="xsd:string"/>
> > > <xsd:element name="snippet" type="xsd:string"/>
> > > <xsd:element name="title" type="xsd:string"/>
> > > <xsd:element name="cachedSize" type="xsd:string"/>
> > > <xsd:element name="relatedInformationPresent"
> > > type="xsd:boolean"/>
> > > <xsd:element name="hostName" type="xsd:string"/>
> > > <xsd:element name="directoryCategory"
> > > type="typens:DirectoryCategory"/>
> > > <xsd:element name="directoryTitle" type="xsd:string"/>
> > > </xsd:all>
> > > </xsd:complexType>
> > >
> > > <xsd:complexType name="ResultElementArray">
> > > <xsd:complexContent>
> > > <xsd:restriction base="soapenc:Array">
> > > <xsd:attribute ref="soapenc:arrayType"
> wsdl:arrayType="typens:ResultElement[]"/>
> > > </xsd:restriction>
> > > </xsd:complexContent>
> > > </xsd:complexType>
> > >
> > > <xsd:complexType name="DirectoryCategoryArray">
> > > <xsd:complexContent>
> > > <xsd:restriction base="soapenc:Array">
> > > <xsd:attribute ref="soapenc:arrayType"
> > > wsdl:arrayType="typens:DirectoryCategory[]"/>
> > > </xsd:restriction>
> > > </xsd:complexContent>
> > > </xsd:complexType>
> > >
> > > <xsd:complexType name="DirectoryCategory">
> > > <xsd:all>
> > > <xsd:element name="fullViewableName" type="xsd:string"/>
>
=== message truncated ===
=====
Davanum Srinivas - http://webservices.apache.org/~dims/