cancel
Showing results for 
Search instead for 
Did you mean: 

external service is not passing on import parameter to RFC

Former Member
0 Kudos

Hi all,

I finally got myself a working external service.

But when I want to test it (in <server>:<port>/wsnavigator) and I fill in my 2 import parameters it returns nothing.

I went to check for the problem and one of the import parameters is not being passed on to the RFC. It remains empty.

After executing the service you are able to see the SOAP messages that were sent and returned.

When I look in the SOAP message that was sent (with my 2 import parameters) I see the value "AA==" for the import parameter that is not being filled.

Does anybody have an idea why this import paramter is not being filled in?

Thanks

kr

Wouter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Wouter!

As you are using the wsnavigator, I assume that you have wrapped your RFC with a web service. Is that correct?

How did you do that?

Have you imported the RFC into the PI which in turn provides a web service or have you imported the RFC into the NWDS and have realized a web service this way?

However, mostly like the mapping of web service parameters to RFC parameters is incomplete.

Best regards

Alexander

Former Member
0 Kudos

Hi Alexander,

That's right, I've created a webService for the RFC.

I imported an external service (based on my RFC) in the NWDS. This webservice is being used by an application service.

From the context of that application servce I chose -> web service -> new.

Afterwards I choose "Generate all project code" on the caf project and deploy it.

How can I complete these pamming of the ws parameter to the RFC parameters? is this done in NWDS or ....?

Thank you

Kr

wouter

Former Member
0 Kudos

Hi Wouter!

How can I complete these pamming of the ws parameter to the RFC parameters? is this done in NWDS or ....?

Open your application service and go to the Datasource tab. The target operation should be the application service operation and the source operation should be the RFC operation.

Click on that line and you can check and specify the mapping of application service operation parameters to RFC parameters.

After that regenerate, build, and deploy your project.

Best regards

Alexander

Former Member
0 Kudos

When I open my application service in the CAF perspective I get 4 tabs but none of those is the "datasource" tab.

I have the following tabs:

General

Dependencies

Operations

Implementation

Is it in any of those (I don't think so because I don't see anything that refers to the target operatioin or the source operation

Kr

wouter

Former Member
0 Kudos

Which version of CE and NWDS are you using?

Best regards

Alexander

Former Member
0 Kudos

Both of them are version 7.14

Kr

Wouter

Former Member
0 Kudos

Do you mean 7.1 SP 4?

Best regards

Alexander

Former Member
0 Kudos

No it's 7.00 SP 14

Kr

Wouter

Edited by: Wouter Delellio on Jul 15, 2009 2:11 PM

Former Member
0 Kudos

Ah, I see. Unfortunately, I have no experience with version 7.0.

Best regards

Alexander

Former Member
0 Kudos

Too bad

thanks anyway for your time and help!

Kr

wouter

Former Member
0 Kudos

Wouter,

It seems to me that you forgot some important step: once you created the external service and application service and set the dependancy betweeen them, your are not yet finished after project code generation.

You have to implement the operation you defined in your application service: in there you'll do the mapping of the RFC-import- and output-parameters as you''ll execute the external service.

And then you should define your Web Service using the wizard..

Perhaps you did it already, but I didn't see it in your posts.

Hope this helps.

Regards,

Alain

Answers (0)