cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro & Web Service (Metadata-Execution)

Former Member
0 Kudos

Hi everybody,

we've created a Web Dynpro application which calls a web service (it's up and it runs okay from within wsnavigation).

Then we've configured DEFAULT_WS_METADATA_DEST & DEFAULT_WS_EXECUTION_DEST through Visual Administrator (DynamicWSProxies node).

DEFAULT_WS_METADATA_DEST has been configured this way:

URL: http://<hostname>:<port>/<servicename>/Config1?wsdl (no authentication)

DEFAULT_WS_EXECUTION_DEST has been configured this way:

URL: http://<hostname>:<port>/<servicename>/Config1?wsdl (no authentication)

but DEFAULT_WS_EXECUTION_DEST has also been set up to other values (for test purposes and restarting the box)

http://<hostname>:<port>/<servicename>/Config1?style=document (basic authentication, credentials suitably maintained)

Well, the application loads fine (this means it successfully connects to DEFAULT_WS_METADATA_DEST) but upon execution of the web service we get:

Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation XXXXXX in interface 'WSCMServicesVi_Document'

Any help is greatly appreciated.

Regards,

Marco

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

is there a more detailed exception? This can happen in too many cases. For example WS Model not correctly build, Model Change withouth restarting J2EE Engine, SOAP Exception from WebServices which is not caught appropriate in some 7.0 SPs.

Former Member
0 Kudos

Hi,

the WebService runs fine (from wsnavigator it runs successfully) and upon changing its configuration (through Visual Admin) the box's been restarted.

Also, if the WS is imported through the deprecated Web Service Model (not the adaptive WS Model) it works okay.

I guess that the URL (configured in DEFAULT_WS_EXECUTION_DEST) is not correct:

http://<hostname>:<port>/<servicename>/Config1?style=document

Any idea?

Regards,

Marco

christianmesser
Employee
Employee
0 Kudos

Hi Marco,

I'm running in the same Problem as you right now.. but I maybe found something interesting!

Go to http://<hostname>:<port>/nwa

then to Problem Management - Logs and Traces - Log Viewer - Show View - General - Last 24h

do that just after you executed your WS. Now you should see the Exception!

Open it and scroll down!

Maybe I found my Problem..

"... Caused by: com.sap.dictionary.runtime.DdCheckException: Value T0000000000ZRH TFS A U20081122 00000000000000000... is not valid; enter a value that consists of exactly 80 characters ..."

I havnt fix my problem yet, so let me know if you fix yours..

Chris

Former Member
0 Kudos

Hi,

I set http://<hostname>:<port>/<servicename>/Config1?style=document and upon restarting the box it did work.

Thanks everybody!

Regards,

Marco