on 04-02-2012 7:00 PM
Hi,
I have a problem when I call an external webservice. When I test the proxy class, I get the dump:
****************************************************************************************
Erreur d'exécution OBJECTS_OBJREF_NOT_ASSIGNED
Désignation
Access via 'NULL' object reference not possible.
Causes
Error in the ABAP Application Program
The current ABAP program "CL_WS_PART_RECORDER===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Analyse des erreurs
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: " ").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Extrait code source
1 METHOD constructor.
2
3 m_xml_part = xml_part.
>>>>> if_sxmlp_part~qname = xml_part->qname.
5
6 ENDMETHOD.
***********************************************************************************
When I test the WS in SOAP UI it's works and I get the response. So, the WS works well.
I created a RFC in SM59 to test the connexion with the WS and it is OK.
I followed the steps in http://www.sapdev.co.uk/sap-webapps/sap-webservices/ws_abapproxy.htm to create the proxy class and the logical port.
I looked on SDN but I didn't find a solution
Can you help ?
Thank you in advance,
Mll Mat
The problem is solved. It is just that the WS can't interpret the import parameter.
Mll Mat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trevor,
have a look into https://service.sap.com/sap/support/notes/1149386 sounds a bit like your issue.
Regards - Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MII Mat,
Maybe try a SAP Note search using keyword "CL_WS_PART_RECORDER" & see if that helps.
Regards, Trevor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.