You may want to test you web service by sending it a manually composed request and reading the XML returned. Here’s how to do it (e.g. using BeanShell in jEdit): The SOAP request <?xml version=”1.0″ encoding=”utf-16″?> <soap:Envelope xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”> <soap:Body> <getUserByEmail xmlns=”http://service.w3.ibm.com”> <iuser>jholy@example.com</iuser> </getUserByEmail> </soap:Body> </soap:Envelope> The Java code String soapXml = // jEdit:Continue reading “Sending a SOAP request to a Web Service via URLConnection”
Monthly Archives: May 2006
RAD, WebSphere and changing the classloader mode
I’ve spent hours trying to change the classloader mode for a .war include in an .ear application and deployed to the WebSphere Portal v5.1 Test Environment by means of Rational Application Developer’s server configuration editor. I was able to change to for the EAR, but when I changed the mode for a WAR of theContinue reading “RAD, WebSphere and changing the classloader mode”