cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Re: Invalid WSDLs
Date Mon, 26 May 2008 20:52:07 GMT
One more note here, please have a look at:

http://wiki.eclipse.org/index.php/Using_the_WSDL_Validator_Outside_of_Eclipse

The eclipse validator finds errors that our validator does not. And
ignores things, like the issue under discussion here, that ours
complains of.

On Mon, May 26, 2008 at 4:42 PM, Benson Margulies <bimargulies@gmail.com> wrote:
> However, now we get the question of what me mean by 'validate' in our tool.
>
> Our validator rejects the wsdl we call hello_world_xml_bare.wsdl with
> the below error, because one operation has a single input part of
> element type 'x', and another operation has three inputs parts, the
> first of which is also 'x'.
>
> Is this, in fact, unacceptable? Should I change the wsdl to make the
> elements distinct? Or is the validator wrong?
>
> On Mon, May 26, 2008 at 4:39 PM, Benson Margulies <bimargulies@gmail.com> wrote:
>> What I'm doing is reflecting the existing command line into maven.
>>
>> On Mon, May 26, 2008 at 3:54 PM, Glen Mazza <glen.mazza@verizon.net> wrote:
>>> I believe we have something like this already on the command-line
>>> (-validate option[1]).  Perhaps it would be better to build on this, so
>>> command-line/Maven/Ant users can use it as well.
>>>
>>> Glen
>>>
>>> [1] http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html
>>>
>>> 2008-05-26 Benson Margulies wrote:
>>>> Watchers of checkins can see that I'm inventing a WSDL validation maven plugin.
>>>>
>>>> First catch:
>>>>
>>>> INFO: Resolve schema http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
>>>> from baseURI: jar:file:/home/benson/.m2/repository/org/apache/cxf/cxf-common-schemas/2.1.1-SNAPSHOT/cxf-common-schemas-2.1.1-SNAPSHOT.jar!/schemas/wsdl/http.xsd,
>>>> namespace: http://schemas.xmlsoap.org/wsdl/
>>>> [INFO] ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Non unique body parts, operation [ greetMe ] and  operation [
>>>> testTriPart ] have the same body block
>>>> {http://apache.org/hello_world_xml_http/bare/types}requestType
>>>
>>>
>>
>

Mime
View raw message