on 08-17-2006 8:02 AM
Hi,
I am trying to create proxies of Message Interfaces that are built from External Definitions(XSDs). In the scenario, we use two XSDs, one for structure of BAPI and one as Document Envelope containing header level information of the document. Message Interface is created for Document Envelope and internally it references XSD of structure of BAPI.
For e.g. For request message of BAPI_COMPANY_GETDETAIL, we have two XSDs:
1. BAPI_COMPANY_GETDETAIL
2. BAPI_COMPANY_GETDETAIL_Document_Envelope
I create interface for document envelope; interface internally references XSD BAPI_COMPANY_GETDETAIL.
When I try to create proxy for such an Interface I get following error:
Cannot generate proxy (object <element name="BAPI_ACC_DOCUMENT_POST"> missing in WSDL, see long text)
Message no. SPRX084
and diagnosis provided in long text is as follows:
Diagnosis
In the WSDL document, the object
"<element name="Documents"> <complex/simpleType ..."
from the namespace
"http://mindef.nl/schemas/DocumentEnvelope"
links to the object
"<element name="BAPI_ACC_DOCUMENT_POST">"
from the namespace
"urn:sap-com:document:sap:rfc:functions"
However, this last object does not exist in the WSDL document.
System Response
ABAP proxy generation expects that all directly and indirectly referenced objects are in the WSDL document. Therefore, no proxy can be generated for this WSDL and the system displays an error message.
Procedure
This situation can have different causes:
Object "<element name="BAPI_ACC_DOCUMENT_POST">" not been defined
Object "<element name="BAPI_ACC_DOCUMENT_POST">" saved in the wrong namespace
In the reference to object "<element name="BAPI_ACC_DOCUMENT_POST">", the wrong name was specified
In the reference to object "<element name="BAPI_ACC_DOCUMENT_POST">", the wrong namespace "urn:sap-com:document:sap:rfc:functions" was specified
Internal error in the service that constructs the WSDL document
Internal error in ABAP proxy generation
I have checked all the possibilities, there is no inconsistency in WSDL.
Kindly provide some suggestions to tackle this problem.
regards,
Bhavish Bhatia
Hi Bhatia,
You cannot create ABAP proxies from external definitions, IDOC or BAPI, when your application system is based on 6.20.
This works only, when your application system is based on 6.40 or higher.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.