cancel
Showing results for 
Search instead for 
Did you mean: 

VC 7.1 - Error in connection:Could not execute Web service

Former Member
0 Kudos

Hi,

I am trying to call a web service in a SAP ABAP backend system from VC 7.1 through a PI 7.10 service registry. I could find the service and create a model from its operation. But when testing the service below error message was displayed and no result was displayed.

<Error in connection:Could not execute Web service, consult your administrator>

Through SICF recording in the ABAP backend system I could see the request received and response sent by the web service from the testing.

Any help or point to helpful information will be very appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jiannan,

I come across this error of "interpreter is unusable" quite frequently..... Most of the time the reason was, certain things / characters / symbols like - , %, _ , * are not accepted by the web services and then VC complains.... but since your web service works with ws navigator and SOAP UI you have a different issue.

Have you tried testing at design time in VC itself, you can test it only if the web service is not a complex one.

Regards,

Dharmi

Answers (4)

Answers (4)

Former Member
0 Kudos

Problem solved, not connection or authentication issue.

Former Member
0 Kudos

The problem has been resolved. The error is actually caused by a date field in the service response being blank. As soon as I fixed the output of the web service it worked fine.

The error message from VC 7.1.1 when calling web service with this kind of error needs to be fixed. I would say it's quite mis-leading.

Thanks to all who has responded.

Former Member
0 Kudos

Hi Jiannen,

When do you see this error, when your VC application is just started / loaded (runtime) or when you invoke the Web Service in runtime?

You can also see the parameters sent to the web services in the log located at

<drive>:\usr\sap\<sap instance>\j2ee\cluster\server0\log

the logs are named with applications.00.x.log (where x is any number) Tip: search with the name of your web service.

If it is the earlier case, you have to give some default parameters with the help of if statements... and if it is the later would suggest to go through the log and check if the required parameters are passed.

You can test the web service also with the ws navigator first to see if it works....

Let me know if this helps.

Regards,

Dharmi

Former Member
0 Kudos

Hi Dharmi,

Thanks. The error happened when invoking the web service at run time. I have attached the entries from applications_00.0.log below.

It did not give me any clue about the error.

I don't think there is any problem with the parameters and the connection to the backend ABAP system (the service provider) as I

could see the request and response of the web service call from the SICF Recording of the web service.

The web service works fine in WS Navigator and SOAPUI. Any other idea?

Regards,

Jiannan


#2.0 #2009 03 03 08:10:05:635#0-500#Error#/Applications/wd4vc#
#BC-WD-XGL#sap.com/tc~wd4vc~util~java#000D9D546F6A018E0000000000001660#9102550000000004#sap.com/jc1_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.processExecution: #Administrator#83##A65B8E51075B11DE913B000D9D546F6A#b9f60bd007d211de9dce000d9d546f6a#b9f60bd007d211de9dce000d9d546f6a#0#Thread[HTTP Worker [@7631180],5,Dedicated_Application_Thread]#Plain##
Error in connection:Could not execute Web service, consult your administrator#

#2.0 #2009 03 03 08:10:05:635#0-500#Info#/Applications/wd4vc#
#BC-WD-XGL#sap.com/tc~wd4vc~util~java#000D9D546F6A018E0000000200001660#9102550000000004#sap.com/jc1_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.postExecution: #Administrator#83##A65B8E51075B11DE913B000D9D546F6A#b9f60bd007d211de9dce000d9d546f6a#b9f60bd007d211de9dce000d9d546f6a#0#Thread[HTTP Worker [@7631180],5,Dedicated_Application_Thread]#Plain##
Closing the connection for the system CFG#

#2.0 #2009 03 03 08:10:05:635#0-500#Error#/Applications/wd4vc#
#BC-WD-XGL#sap.com/tc~wd4vc~util~java#000D9D546F6A018E0000000300001660#9102550000000004#sap.com/jc1_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.XGLInterpreter#Administrator#83##A65B8E51075B11DE913B000D9D546F6A#b9f60bd007d211de9dce000d9d546f6a#b9f60bd007d211de9dce000d9d546f6a#0#Thread[HTTP Worker [@7631180],5,Dedicated_Application_Thread]#Plain##
Stopped further execution since the interpreter is unusable#

Former Member
0 Kudos

Attached below is the log from the defaultTrace_00.x.trc file.


#2.0 #2009 03 03 08:10:05:635#0-500#Error#/Applications/wd4vc#
#BC-WD-XGL#sap.com/tc~wd4vc~util~java#000D9D546F6A018E0000000100001660#9102550000000004#sap.com/jc1_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.processExecution: #Administrator#83##A65B8E51075B11DE913B000D9D546F6A#b9f60bd007d211de9dce000d9d546f6a#b9f60bd007d211de9dce000d9d546f6a#0#Thread[HTTP Worker [@7631180],5,Dedicated_Application_Thread]#Plain##
Error in connection:Could not execute Web service, consult your administrator#

#2.0 #2009 03 03 08:10:05:635#0-500#Error#/Applications/wd4vc#
#BC-WD-XGL#sap.com/tc~wd4vc~util~java#000D9D546F6A018E0000000400001660#9102550000000004#sap.com/jc1_impl#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.XGLInterpreter#Administrator#83##A65B8E51075B11DE913B000D9D546F6A#b9f60bd007d211de9dce000d9d546f6a#b9f60bd007d211de9dce000d9d546f6a#0#Thread[HTTP Worker [@7631180],5,Dedicated_Application_Thread]#Plain##
Stopped further execution since the interpreter is unusable#

former_member185086
Active Contributor
0 Kudos

Hi

Check the following threads ,might get some help

1.[Error in Connection when connecting to R/3|/message/603839#603839 [original link is broken];

2.[Error in connection!!!!|;

Best Regards

Satish Kumar

Former Member
0 Kudos

Thanks Satish for providing those links but I could not find information related to my issue from them.