Quick answer:  no.

Longer answer:  the WSDL that Java2WSDL generates, while perhaps a bit odd,
is perfectly legal.  Sounds like XML Spy has a little failing.

This is probably more than you wanted to know, but I'll ramble on anyway...
Since we have the attribute:  xmlns:wsdl
="http://schemas.xmlsoap.org/wsdl/";, WSDL4J (which Java2WSDL uses)
explicitly adds the prefix.  If we took out that attribute, WSDL4J would no
longer explicitly add the prefix and it might look like you'd be happy.
BUT then we have another problem.  Sometimes the wsdl prefix is used in
places like:  wsdl:arrayType="XXX".  In these cases the WSDL file MUST have
the namespace attribute, in which case WSDL4J would add the prefix, so
you'd still be broken with those cases anyway (unless we could get WSDL4J
to change, which is unlikely).

Russell Butek
[EMAIL PROTECTED]


"Till Woerner" <[EMAIL PROTECTED]> on 04/15/2002 10:22:48 AM

Please respond to [EMAIL PROTECTED]

To:    <[EMAIL PROTECTED]>
cc:
Subject:    WSDL and XML Spy



Hi,

When I open a WSDL-file generated with Java2WSDL with the SOAP tool in
XML Spy it cannot find any methods to invoke.
I looked at my WSDL and found out that Java2WSDL generates wdsl-prefixes
for all elements associated with namespace
"http://schemas.xmlsoap.org/wsdl/";. When I delete those prefixes it
works fine and XML Spy can see all methods (and call them).

Can I tell the WSDL-tool to supress those prefixes (as the
wsdl-namespace is declared as the default namespace anyway)???

Thanks,
Till

--
Caught in our narrowminded believe...
-------------------------------------
Till Woerner
Berlin, Germany
EMail:[EMAIL PROTECTED]
ICQ#: 7162410



Reply via email to