On Fri, Aug 29, 2008 at 12:31 PM, Ramkumar R <[EMAIL PROTECTED]> wrote:
> Hi All, > When I was working with helloworld-ws-service-secure sample, noticed that > the wsdl/helloworld.wsdl file does not get validated while the service is > exposed. > > This sample exposes a binding.ws service with a wsdl > > <service name="HelloWorldService" requires="authentication" > promote="HelloWorldServiceComponent/HelloWorldService"> > <interface.wsdl interface=" > http://helloworld#wsdl.interface(HelloWorld)<http://helloworld#wsdl.interface%28HelloWorld%29>" > /> > <binding.ws uri="http://localhost:8085/HelloWorldService"/> > </service> > > I tried modifying the wsdl/helloworld.wsdl file, by replacing the original > xsd:string data type with a junk value as shown below. > > <wsdl:types> > <schema elementFormDefault="qualified" targetNamespace=" > http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema"> > <element name="getGreetings2"> > <complexType><sequence> > <element name="name" type="laksjdflaksdjfldsakfj"/> > </sequence></complexType> > </element> > > <element name="getGreetingsResponse2"> > <complexType><sequence> > <element name="getGreetingsReturn" > type="a;lskdjflsakdjf"/> > </sequence></complexType> > </element> > </schema> > </wsdl:types> > > Here the validation for the data types does not seem to happen? Not sure if > this is intentional. > > I believe we should be able to validate the same as we have logic in place > to generate WSDL from the service interface. Can I raise a JIRA to fix this? > > > -- > Thanks & Regards, > Ramkumar Ramalingam > Hi Ram Sounds like a JIRA to me if this is really the case. Can you check that the WSDL that was actually being read as part of the contribution is the WSDL that you changed? Simon
