AIAMigrationUtility fails for AIAAsyncErrorHandlingBPELProcess
While using the AIAMigrationUtility the following error occurs:
1 2 3 4 5 6 7 8 9 | [exec] [upgrade] Jul 26, 2010 3:02:04 PM oracle.viewgen.ViewGenerator main [exec] [upgrade] SEVERE: Upgrade failed. Check the logs for any exceptions. Ensure that the WSDL URLs specified in the project are reachable and a valid 10.1.3.x project is used for upgrade. Before re-attempting upgrade, restore the original project code source from the backup directory. [exec] [upgrade] oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverdomain:8001/orabpel/default/AIAAsyncErrorHandlingBPELProcess/1.0/AIAAsyncErrorHandlingBPELProcess?wsdl:WSDL not found [exec] [upgrade] at oracle.viewgen.plugin.bpel.BPELPlugin.createComponentType(BPELPlugin.java:172) [exec] [upgrade] at oracle.viewgen.ViewGenerator.main(ViewGenerator.java:223) [exec] [upgrade] Caused by: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://serverdomain:8001/orabpel/default/AIAAsyncErrorHandlingBPELProcess/1.0/AIAAsyncErrorHandlingBPELProcess?wsdl:WSDL not found [exec] [upgrade] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:541) [exec] [upgrade] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:427) [exec] [upgrade] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:366) |
There is a regular expression in the replaceAIAAsyncURL target that doesn’t handle the versioned url. You can either replace it so it allows for version numbering:
1 2 | <replaceregexp match="http://[\S&&[^/]]+(?::\d +)??/orabpel/default/AIAAsyncErrorHandlingBPELProcess/.*AIAAsyncErrorHandlingBPELProcess\?wsdl" |
or manually alter the bpel.xml files replacing the
1 | http://serverdomain:8001/orabpel/default/AIAAsyncErrorHandlingBPELProcess/1.0/AIAAsyncErrorHandlingBPELProcess?wsdl |
with
1 | http://fmw11g-server:8001/soa-infra/services/default/AIAAsyncErrorHandlingBPELProcess/client?WSDL |
or the versioned wsdl of the Async error handling.