[ 
https://issues.apache.org/jira/browse/TUSCANY-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramkumar Ramalingam updated TUSCANY-2574:
-----------------------------------------

    Affects Version/s:     (was: Java-SCA-1.4)
                       Java-SCA-Next
        Fix Version/s:     (was: Java-SCA-1.4)
                       Java-SCA-Next

> Validating WSDL against the Service Interface
> ---------------------------------------------
>
>                 Key: TUSCANY-2574
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2574
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP SP2, IBM JDK 1.5
>            Reporter: Ramkumar Ramalingam
>             Fix For: Java-SCA-Next
>
>
> 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)" />
>         <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? I believe we 
> should be able to validate the same as we have logic in place to generate 
> WSDL from the service interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to