on 02-19-2008 2:54 PM
Hello,
How can i get messageId from implementation class?
Can anyone give me an example of how to use MessageSpecifier properly.
This is my code:
public class MIGetDocsIn_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements MIGetDocsIn_PortType {
public DTGetDocsResponse_Type mIGetDocsIn(DTGetDocsRequest_Type mTGetDocsRequest)
throws com.sap.aii.proxy.xiruntime.core.SystemFaultException, com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
MIGetDocsIn_PortTypeBean bean = new MIGetDocsIn_PortTypeBean();
MessageSpecifier msg = (MessageSpecifier) bean.$messageSpecifier();
String msgId = String.valueOf(msg.getMessageID());
When t try to see the value of string msgId i get null.
Thanks
Problem solved.
I can directly access an instance variable messageSpecifier in the implementation class.
public class MIGetDocsIn_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements MIGetDocsIn_PortType {
public DTGetDocsResponse_Type mIGetDocsIn(DTGetDocsRequest_Type mTGetDocsRequest)
throws com.sap.aii.proxy.xiruntime.core.SystemFaultException, com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
String msgId = messageSpecifier.getMessageID().toString();
Thanks anyway.
Pedro Leal
Edited by: Pedro Leal on Feb 19, 2008 7:37 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.