[ 
https://issues.apache.org/jira/browse/JUDDI-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659116#action_12659116
 ] 

Tom Cunningham commented on JUDDI-163:
--------------------------------------

Added schema validation to beans.     Now when I query with something like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:uddi-org:api_v3">
   <soapenv:Header/>
   <soapenv:Body>
<find_tModel xmlns="urn:uddi-org:api_v2">
  <findQualifiers>
    <findQualifier>
       uddi:uddi.org:findqualifier:caseinsensitivematch
    </findQualifier>
    <findQualifier>
       uddi:uddi.org:findqualifier:approximatematch
    </findQualifier>
  </findQualifiers>
  <name>uddi%</name>
</find_tModel>
   </soapenv:Body>
</soapenv:Envelope>

this is the response I get 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>Unmarshalling Error: cvc-elt.1: Cannot find the 
declaration of element 'find_tModel'.</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

It might be nice at some point to catch that exception and provide a little 
more human readable one back, but v2 requests are now rejected.

> Need to do something about v2 requests received by v3
> -----------------------------------------------------
>
>                 Key: JUDDI-163
>                 URL: https://issues.apache.org/jira/browse/JUDDI-163
>             Project: jUDDI
>          Issue Type: Bug
>          Components: Apache Scout Requests
>            Reporter: Tom Cunningham
>            Assignee: Tom Cunningham
>             Fix For: 3.0alpha
>
>
> Do something about UDDI v2 WS received by v3.

-- 
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