axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upul Godage" <upulg....@gmail.com>
Subject Re: TypeMapping in Axis
Date Thu, 16 Aug 2007 09:11:42 GMT
You can find more details here.

http://ws.apache.org/axis/java/reference.html#DeploymentWSDDReference
Search for: *wsdlFile

*Upul
*
*
On 8/16/07, Upul Godage <upulg.dev@gmail.com> wrote:
>
> Hi,
>
> useOriginalwsdl... thing is for "Axis2."
>
> You are using "Axis". That is where wsdds are used.
>
> Try putting <wsdlFile> entry below in your deploy.wsdd.  The wsdl location
> should be in the classpath I think.
>
> <service ...>
> ...
> <wsdlFile>class/path/original.wsdl</wsdlFile>
> </service>
>
>
>
> Upul
>
>
> On 8/16/07, sjtirtha <sjtirtha@gmail.com> wrote:
> >
> > Hi,
> >
> > I put <parameter locked="false" name="useOriginalwsdl">true</parameter>
> > in server-config.wsdd and deploy.wsdd.
> > But it doesn't work either. I don't find the service.xml in my project
> > folder.
> >
> > The parameter should do what I want to, but it doesn't work. And how can
> > Axis find the original wsdl file ?
> >
> > Steve
> >
> >
> > On 8/16/07, Upul Godage <upulg.dev@gmail.com > wrote:
> > >
> > > Hi,
> > >
> > > in Axis 1 in wsdd (wsdl in classpath I think)
> > > <service ...>
> > > ...
> > > <wsdlFile> original.wsdl</wsdlFile>
> > > </service>
> > >
> > > in Axis2 in services.xml (wsdl in META-INF)
> > > <service ...>
> > > ...
> > > <parameter locked="false" name="useOriginalwsdl">true</parameter>
> > > </service>
> > >
> > > Hope this helps.
> > >
> > > Upul
> > >
> > > On 8/16/07, sjtirtha <sjtirtha@gmail.com> wrote:
> > > >
> > > >  Hi,
> > > >
> > > > I use Eclipse WTP to generate a java skeleton for a Web
> > > > Service implementation based on the existing WSDL.
> > > > After creating the java skeleton, I realized that Axis generated a
> > > > new WSDL that is possibly in run time by the servlet generated.
> > > > But this generated WSDL is not the same one with the existing WSDL
> > > > that I used to generate the java skeleton.
> > > >
> > > > For example, Axis changes the following datatype from a simpleType
> > > > into complexType. And when I see into the deploy.wsdd, axis map
> > > > "char8" into a simple String without restriction. It should cause a
> > > > incompatibility between the the WS Client that is built based on the
> > > > existing WSDL and the WS implementation that uses the new generated WSDL.
> > > >
> > > > How can I set Axis to use always the existing WSDL and not using the
> > > > generated WSDL. The problem is the WS client communicates with some other
WS
> > > > implementation that use this existing WSDL.
> > > >
> > > > <xsd:simpleType name="char8" >
> > > >   <xsd:restriction base="xsd:string" >
> > > >    <xsd:maxLength value= "8"/>
> > > >  </xsd:restriction>
> > > > </xsd:simpleType >
> > > >  to
> > > >
> > > > <complexType name="char8">
> > > >     <simpleContent>
> > > >      <extension/>
> > > >     </simpleContent>
> > > >    </complexType>
> > > >
> > > > Regards,
> > > >
> > > > Steve
> > > >
> > >
> > >
> >
>

Mime
View raw message