Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Web Service Creation

Former Member
0 Likes
2,091

Hello Guys,

I have created a web service for a Custom FM (RFC enabled) through SE80.Is my Web service ready to be used.

Or do any further config's are required from my side?

Regards

Najam

Hello Guys,

I have created a web service for a Custom FM (RFC enabled) through SE80.Is my Web service ready to be used.

Or do any further config's are required from my side?

Regards

Najam

12 REPLIES 12
Read only

Former Member
0 Likes
1,889

hi...

Not required....

go and test in t-code SOAMANAGER..........

Regards

Prabhakar

Read only

Former Member
0 Likes
1,889

Hi,

After creating the webservice, there is nothing that we can test. the web service can be tested via tools like soap ui.

To get the link, you can use the transaction 'SOAMANAGER' under the tab Application and Sceneraio Communication, in the link Single service Admisntration.

You can also modify the configuration according to your requirement.

Hope this helps.

Thanks and Regards,

Daz.

Read only

Former Member
0 Likes
1,889

Thanks Prabhakar.

I have one more issue.I have an existing custom service in the system whose exporting parameters of service are different from the exporting parameter's of Function module(on which service is created).So when i run a syntax check on the Service,it gives me errors saying"XXX field in not available".

How can we remove this error ?Is there any possibility to regenerate the exporting parameters?Or is it better to create a new Service for this.?

Regards

Najam

Read only

0 Likes
1,889

In SE84, Enterprise Services-->Service Definitions, select the servie and check syntax and regenerate it. the service will be adjusted. No need to create a new service.

Regards,

Daz.

Read only

Former Member
0 Likes
1,889

Daz,

Where exctly do i need to regenrate it.On the right click of the service(in SE 80), i cannot find the regenerate option.

Is it some where in the menu?

Regards

Najam

Read only

0 Likes
1,889

hi...

Press change icon & if any popup press Yes

then Save & Activate in se80.....

regards

Prabhakar

Read only

0 Likes
1,889

there is no option for regenerating. But when you check syntax of the service definition, it will give you error. Now activate it, it will show a series of pop up. Press enter for everything. the number of pop up depends upon the number of fields changed. After that the service would be adjusted and activated again.

Regards,

Daz.

Read only

Former Member
0 Likes
1,889

Thnx very much.

Now, error concern for one of my service is solved.But for the other service,as soon as i go to change mode to activate and

remove the errors its navigating me to dump.

Well for this,i think it would better to create a new Web Service.What do u people suggest?

Regards

Najam

Read only

0 Likes
1,889

hi..........

Same problem i got ....

then i have created a new webservice....

it is better to create new one.........

regards

Prabhakar

Read only

0 Likes
1,889

Hi,

Can you tell me the nature of the dump.

If you require the webservice immediately, you can create a new one.

Regards,

Daz.

Read only

Former Member
0 Likes
1,889

I have not created a new Web service as of know.

Below is the dump detail:

Short text

Access via 'NULL' object reference not possible.

What happened?

Error in the ABAP Application Program

The current ABAP program "CL_WS_MD_VIF_PARAM_FACADE=====CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

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 in

procedure "CHECK_PARAMETER" "(METHOD)", nor was it propagated by a RAISING

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

You attempted to use a 'NULL' object reference (points to 'nothing')

access a component.

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.

Missing RAISING Clause in Interface

Program CL_WS_MD_VIF_PARAM_FACADE=====CP

Include CL_WS_MD_VIF_PARAM_FACADE=====CM008

Row 1

Module type (METHOD)

Module Name CHECK_PARAMETER

Trigger Location of Exception

Program CL_WS_MD_VIF_PARAM_FACADE=====CP

Include CL_WS_MD_VIF_PARAM_FACADE=====CM008

Row 130

Module type (METHOD)

Module Name CHECK_PARAMETER

Regards

Najam

Read only

0 Likes
1,889

Hi,

Could you please tell me how you resolved this issue. I am also facing the same now.

Regards,

Preeti