Fix (APAR): PK04736 Status: Test Release: 6.0.1.1,6.0.1,6.0.0.3,6.0.0.2,6.0 Operating System: All Supersedes Fixes: CMVC Defect: PK04736 Byte size of APAR: 11909 Date: 2005-05-03 Abstract: Migration problem with xsd:anyURI Description/symptom of problem: Customer has a simple test case that has a Web Service (client and server) that has a method with an xsd:anyURI parameter. The EAR that works fine in WSAD 5.1.2 (WAS 5.1.1) uses the com.ibm.ws.webservices.engine.types.URI class. When customer exports EAR from WSAD and imports into RAD 6.0, and run the workspace on RAD 6 (WAS 6.0), customer sees an error that it can't serialize: 4/21/05 16:19:57:307 CDT] 00000037 SystemErr R WebServicesFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultString: java.io.IOException: WSWS3037E: Error: Serialization cannot occur for com.ibm.ws.webservices.engine.types.URI. faultActor: null faultDetail: java.io.IOException: WSWS3037E: Error: Serialization cannot occur for com.ibm.ws.webservices.engine.types.URI. at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:179) at com.ibm.ws.webservices.engine.SOAPPart.writeTo(SOAPPart.java:499) at com.ibm.ws.webservices.engine.SOAPPart.writeTo(SOAPPart.java:416) at com.ibm.ws.webservices.engine.SOAPPart.getBytes(SOAPPart.java:784) at com.ibm.ws.webservices.engine.SOAPPart.getAsBytes(SOAPPart.java:614) at com.ibm.ws.webservices.engine.Message.getContentType(Message.java:460) at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:296) at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218) at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:218) at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:274) at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:727) at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:648) at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:609) at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:446) at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:732) at com.ibm.wast.parlayx.admin.notification.CallNotificationBindingStub.createCallNotification(CallNotificationBindingStub.java:86) at com.ibm._jsp._TestClient._jspService(_TestClient.java:88) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) com.ibm.ws.webservices.engine.types.URI.. Directions to apply fix: NOTE: YOU MUST FIRST DOWNLOAD THE UPDATE INSTALLER TOOL IN ORDER TO INSTALL A FIX. The Fix Installer can be downloaded from the following link: http://www-3.ibm.com/software/webservers/appserv/support/index.html 1) Create temporary "fix" directory to store the jar file: UNIX: /tmp/WebSphere/fix Windows: c:\temp\WebSphere\fix 2) Copy jar file to the directory 3) Shutdown WebSphere 4) Follow the Fix installation instructions that are packaged with the Fix Installer on how to install the Fix. 5) Restart WebSphere 6) The temp directory may be removed. Directions to remove fix: NOTE: FIXES MUST BE REMOVED IN THE ORDER THEY WERE APPLIED. DO NOT REMOVE A FIX UNLESS ALL FIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED FIX. Example: If your system has fix1, fix2, and fix3 applied in that order and fix2 is to be removed, fix3 must be removed first, fix2 removed, and fix3 re-applied. 1) Shutdown WebSphere 2) Follow the instructions that are packaged with the Fix Installer on how to uninstall the Fix. 3) Restart WebSphere Directions to re-apply fix: 1) Shutdown WebSphere 2) Follow the Fix instructions that are packaged with the Fix Installer on how to uninstall and reinstall the Fix. 3) Restart WebSphere Additional Information: