on 11-14-2007 12:38 AM
Hi,
i am trying to consume a web service in ABAP. ( webservice which takes a request and return a XML string back).
I created a proxy class in SE80. and i tested it successfully.
When i tried to use the class in my program, it is giving dump.
i am not sure what is the problem. I guess it is not able to handle null values in XML.if that is the case. how to handle it..
sorry friends,
It was my mistake...
there was a small mistake in my class calling program.. sorry for the trouble...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
whats the dump analysis says , give us some more info on the dump from st22
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The dump says:
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "LO_CLIENTPROXY").
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.
I think this dump is because of the default value ( space) in some elements. How to avoide that.
wheni catch CX_SY_REF_IS_INITIAL it is not giving any dump. But this is not my requirement. Because it is not getting anything into response string.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.