Dear Experts,
I have been trying this from a long time but could not get to the end of it. Can someone throw some light on it :idea:
Can we re-generate java.frag from .class file in webMethods v7.1.2 and up?
In brief:
Step 1: I create a java service on webMethods developer/designer and then go to the file system (IS directory) and delete the corresponding java.frag file under …\ns\ (name space directory) and I delete the .java file under …\code\source\
Step 2: Using the .class file under …\code\classes\ directory can I regenerate the java.frag file again which was deleted in step 1.
Kindly note that I am not interested in de-compiling the .class file in order to generate the .java file by using Java Decompiler.
Leaving the above option is there any other option to get the java.frag file back in the file system.
When I look at the java.frag file - Basically it is an xml file which looks like
<?xml version="1.0" encoding="UTF-8"?> java service name true Encrypted stuff for eg.: [b]CUlEYXRhQ3Vyc29yIGNyID0gcGlwZWxpbmUuZ2V0Q3Vyc29yKCk7CglTdHJpbmcJdXNlck5hbWUg PSBJRGF0YVV0aWwuZ2V0U3RyaW5nKCBjciwgInVzZXJOYW1lIiApOyAKICAgICAgICBJRGF0YSBh bGxMb2NrcyA9IE5TTG9ja01hbmFnZXIuZ2V0QWxsTG9ja0RldGFpbHMoKTsKICAgICAgICBJRGF0 YUN1cnNvciBsb2NrQ3IgPSBhbGxMb2Nrcy5nZXRDdXJzb3IoKTsKICAgICAgICBJbnZva2VTdGF0 ZSBzdGF0ZSA9IEludm9rZVN0YXRlLmdldEN1cnJlbnRTdGF0ZSgpOwogICAgICAgIEludm9rZVN0 YXRlIF90bXAgPSBzdGF0ZTsKICAgICAgICBWZWN[/b]0I see webMethods is doing something internally to generate the java.frag file.
And I know that java.frag file lets you see the source code on developer/designer.
Feel free if you need more information about the subject.