cancel
Showing results for 
Search instead for 
Did you mean: 

Dump when calling an external Web Service

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The problem is solved. It is just that the WS can't interpret the import parameter.

Mll Mat

Former Member
0 Kudos

Hi Trevor,

have a look into https://service.sap.com/sap/support/notes/1149386 sounds a bit like your issue.

Regards - Oliver

Former Member
0 Kudos

Hi MII Mat,

Maybe try a SAP Note search using keyword "CL_WS_PART_RECORDER" & see if that helps.

Regards, Trevor

Former Member
0 Kudos

Hi Trevor,

Thank you for your reply.

I've already searched in service.sap but I have not found a note which treat this issue.

Regards,

Mll Mat

Former Member
0 Kudos

Please also have a look at:

https://service.sap.com/sap/support/notes/1118825

Regards, Trevor