I'm also on WinXP SP 2, and I can't replicate this problem on Sun JDK 1.5.0. Since the problem is likely with the JAXP implementation(s), I added the following to the initialize() method in HttpServerImpl.java:

System.err.println("XML API: " + org.apache.muse.util.xml.XmlUtils.createDocument().getClass());

and it printed this:

        XML API: class org.apache.xerces.dom.DocumentImpl

This makes sense because a) the wsdl2java tool includes Xerces in WEB-INF/lib, and b) the Sun JDK replaced Crimson with Xerces in JDK 1.5.

If you add this line of code to HttpServerImpl.java, rebuild, and re-run the test, what do you get?

I get "XML API: class org.apache.xerces.dom.DocumentImpl"

Here there is the log:

------- begin log ----------

<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"; xmlns:wsa="http://www.w3.org/2005/08/addressing";>
   <soapenv:Header>
       <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
       <wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
       </wsa:ReplyTo>
<wsa:MessageID>urn:uuid:7B3F26676C2DAE0CFC116046895753154</wsa:MessageID> <wsa:Action>http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action> <wsa:RelatesTo wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply";>uuid:32b7924e-5c55-484d-3520-e557061c2ecd</wsa:RelatesTo>
   </soapenv:Header>
   <soapenv:Body>
       <wsrf-rp:GetResourcePropertyResponse
xmlns:tns="http://ws.apache.org/axis2"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";> <http:Port xmlns:http="http://ws.apache.org/muse/test/http-server";>80</http:Port>
       </wsrf-rp:GetResourcePropertyResponse>
   </soapenv:Body>
</soapenv:Envelope>

XML API: class org.apache.xerces.dom.DocumentImpl
[CLIENT TRACE] SOAP envelope contents (outgoing):

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";>
   <soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://192.168.42.87:8080/apache-httpd/services/http-server</wsa:To> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing";>uuid:f12bcd74-584a-b17b-de1f-990e72a0c6c1</wsa:MessageID>
       <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing";>
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
       </wsa:From>
   </soap:Header>
   <soap:Body>
       <wsrf-rp:GetResourceProperty
xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"; xmlns:http="http://ws.apache.org/muse/test/http-server";>http:SupportedLanguage</wsrf-rp:GetResourceProperty>
   </soap:Body>
</soap:Envelope>


------- end log ----------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to