on 06-23-2004 5:53 PM
I am using SAP Enterprise Connector to generate JCo proxy classes. There is a handy method in com.sap.aii.proxy.framework.core.AbstractType toXML(), but it is depricated and I don't have the documentation to read up on it's intended use. I am using this method to trace the data sent to an RFC call and the response received before I parse the results.
There are other non-depricated toXML(String), toXML(String, String) methods, but I cannot find the JavaDoc or source code for AbstractType in order to see how they are used.
Is the documentation or source code available?
Hi Michael,
there is API documentation available on the SDN. The API docs of the SAP Java Connector is located here:
http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/sapjco/index.html
In general, API docs of Web AS 6.40 and EP components is available here:
https://www.sdn.sap.com/sdn/developerareas/ep.sdn?page=javadoc.htm
Hope that helps!
Regards,
Ivo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MIchael,
sorry for misunderstanding.
I'm afraid no JavaDoc is available for the classes you need. Nevertheless, have a look at the SAP Enterprise Connector documentation here: http://help.sap.com/saphelp_nw04/helpdata/en/66/6f040c5ce8214eaf48c92e691639ed/frameset.htm
It gives a hint where you can find the classes you need under the plugins of your NetWeaver Developer Studio.
Regards,
Ivo.
Hi Ivo,
I have traced down the classes, but unfortunately there are only class files--no source code.
The proxy generated classes extend AbstractType which implements the com.sap.aii.proxy.framework.core.BaseType interface. The methods I'm interested in (toXML) are part of the BaseType interface.
Both of these classes are located in the aa_proxy_rt.jar library.
Michael
Hi Michael,
there are 4 toXml methods in this class.
Two of them are deprecated:
<i>final public String toXml()</i>
<i>final public String toXml(String tagName)</i>
The other two methods are:
<i>final public String toXml(String tagName, String namespace)</i>
<i>final public String toXml(String tagName, String namespace, OutputStream xmlStream)</i>
If you want the same output as from toXML() - just call toXML(null, null).
Daniel
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.