PDA

View Full Version : Webmethods developer java


starlette
07-10-2003, 03:49
I work with developer , and my partner has developed a program (Transform) that should authorize XML parser and XCBL procedure in webMethods Developer.
But for that I need some classes that are only accessible in and for SAP.
So I'll need similar classes from the Java or XSLT library,
The classes and package are:

package pub.sap.xslt;
import com.sap.xslt.data.*;
import com.sap.xslt.extension.Output;
import com.wm.app.b2b.server.ServiceException;
import com.wm.app.b2b.server.ns.Namespace;
import com.wm.data.*;
import com.wm.lang.ns.NSRecord;
import com.wm.pkg.xslt.resources.XSLTServiceExceptionBundle;
import com.wm.pkg.xslt.resources.XSLTTraxExceptionBundle;
import com.wm.pkg.xslt.transform.XSLTErrorListener;
import com.wm.pkg.xslt.util.Log;
import com.wm.pkg.xslt.util.LogMsg;

but do somebody know the similar classes?

THX
Arlette

rajeshrao
07-10-2003, 04:22
Hello Arlette,

Do you want to use another xslt mapping engine? If so the best thing is the xalan parser, for which you have to copy the xalan.jar, xerces.jar files in the 'server\lib\jars' directory. Delete the xerces.jar file from jvm\lib\ext directory. Also if using SAP adaptor, comment the lines
‘javax.xml.parsers.DocumentBuilderFactory’
‘javax.xml.transform.TransformerFactory’
in the ‘transformation.properties’, present under Server/packages/SAP/config

All the above steps need to be done with the server shutdown.

-Rajesh Rao

starlette
07-11-2003, 02:45
>Also if using SAP adaptor, comment the lines
>‘javax.xml.parsers.DocumentBuilderFactory’
>‘javax.xml.transform.TransformerFactory’
>in the ‘transformation.properties’, present under >Server/packages/SAP/config

I have already installed Xalan.
But we don't want to use any SAP adaptor....
I'm actually working on the Java Transformation programm.

I already found the "Transformation" programm that I need, but it imports SAP classes.
So I guess (hope) now that Xalan has similar classes(similar to the ones specified above)...
Is my procedure right?

rajeshrao
07-11-2003, 05:15
Have you loaded the "Transformation" program in IS as a package, if so you can go to the server.bat and change the PREAPPEND classes and make sure the xalan jar files are loaded first before any other classes from your "Transformation" program are loaded.

- Rajesh Rao