Community
Participate
Working Groups
On the WSDL page of the web service explorer, the source view of the actions frame shows the soap request and response envelopes. The SOAP Request envelope Iframe displays an XML parsing error message in firefox. XML Parsing Error: xml processing instruction not at start of external entity Location: http://localhost:56372/wsexplorer/wsdl/soap_envelope_xml.jsp?soapEnvelopeType=0 Line Number 6, Column 1:<?xml version="1.0" encoding="UTF-8"?>
Mark, I found some references to this message on Google which (along with the text of the message itself) suggest the problem may be the presence of one or more whitespace characters before the '<' at the beginning of the processing directive. Have a close look at the XML fragment/document being rendered for any such unwanted, leading characters.
Created attachment 40647 [details] patch for org.eclipse.wst.ws.explorer plugin
There were several newlines appearing before the <?xml ... ?> processing directive causing this error. This patch simply removes newlines from the soap_envelope_xml.jsp file eliminating those new lines and fixing the problem.
Thanks Mark. Fix reviewed, approved, committed and released under tag v200605091300.
Created attachment 40770 [details] screenshot My patch fixes the error, but for some reason Firefox still is not displaying request envelope correctly. Sometimes the browser is not formatting the contents of this iframe as XML (only the text is shown). see the screenshot If the contents of the iframe are saved and opened in seperate firefox window the xml displays correctly. Also right clicking in the iframe and reloading the frame makes it display correctly as well.
Reopening bug until issue described above is resolved.
Created attachment 41366 [details] patch #2 for org.eclipse.wst.ws.explorer plugin
This seems like a strange firefox quirk. Looking through the firefox bugzilla there have been problems of xml not being displayed correctly. I did not look too thoroughly through them, but I think this problem might be related. Since the contents of the request envelope IFrame have always displayed correctly once the iframe has been reloaded, this patch reloads the contents of the frame once. This patch seems to work, and is the easiest workaround for this problem that I can see.
Thanks Mark. Reviewed, approved for RC3 and committed.
Released to WTP 1.5 RC3 as v200605160236.
Closed.