WSDL editor [message #136343] |
Fri, 02 September 2005 10:37 |
John O'Shea Messages: 43 Registered: July 2009 |
Member |
|
|
Hi all,
I've just noticed the WTP WSDL Editor insists on automatically
modifying the values of soapActions attribute on <soap:operation>
(inside binding definitions). It insists on rewriting them in the form:
<soap:operation soapAction="http://www.capeclear.com/cc/getAll"/>
where "http://www.capeclear.com/cc" is the operation namespace and
"getAll" is the wsdl:operation name.
Similarily it also insists on setting the "namespace" and "use"
attributes of wsdl:fault bindings as follows:
<wsdl:fault name="bdiFault">
<soap:fault namespace="http://www.capeclear.com/cc-bdi"
use="literal" name="bdiFault"/>
</wsdl:fault>
The editor silently does this when file is saved - this behavior seems a
bit excessive. Can anyone explain why the editor thinks it knows best
in these scenarios? I can understand if the editor wants to validate
the file's contents to ensure it is suitable for a particular WS stack,
but silently modifying the file's contents seems wrong.
On a slightly related note, has anyone noticed the WSDL editor, on
occasion, embed junk non-UTF-8 encoded characters into WSDL files?
These characters seem to confuse the XML parser quite a lot, causing all
sorts of problems within the editor (highlighting errors that do not
exist etc). This has happened to me once, despite the fact that
- the XML editor should default to encoding WSDL file content as UTF-8
(Prefs->General->Content Types->Text->XML->WSDL Content Type ->
Default=UTF-8)
- the WSDL file itself specified UTF-8 as the encoding type in it's XML
declaration.
If I reproduce, I'll send on more details, I just wanted to check if
this is a known issue already (bugzilla say's zarro bugs found).
cheers for any info,
John.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02987 seconds