cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata destination error

Former Member
0 Kudos

Hi Experts,

I am currently facing this issue in web dynpro when I tried to call the service.

The error message is as below:

Failure occurs at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService() throwing com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'InterfaceNameWSDL' and WS interface '{<HostName>}<InterfaceName>'. One possible reason is that the metadata destination 'InterfaceNameWSDL' has not been properly configured; check configuration.;

I have tried accessing the WSDL directly from the logical destination in NWA and it works as expected. I have also checked my settings on the webservice model in web dynpro and it was set correctly.

There was an upgrade for the portal systems from 7.2 to 7.3 and the portal system is connected to our CE system in which it wasn't upgraded, but i was getting this error. Before the upgrade it was working fine.

Any help will be appreciated.

Thanks,

Ju Lian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Problem solved.


The WSDL URL wasn't correct which gave me that error. Now it is fixed. Thanks.

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

did you make any change to the model  for the upgrade?

how you configure the ws call? have you done the  soa configuration?

Former Member
0 Kudos

Hi Jun Wu,

No, there wasn't any change in the model as far as I know.

Yes I have done the SOA configuration, but it seems it still does not work.

Former Member
0 Kudos

Hi Jun Wu,

Do you mind telling me how do I configure the service, because I am not really sure if I did the right thing. The WSDL in the SOA Management Destination Template seems to be correct as i can access it directly in the browser. Any help would be nice. Thanks.

junwu
Active Contributor
0 Kudos

your server got upgraded, maybe you have to reimport the model

destination for ws call has been deprecated for long time

we are using service group to configure ws call.

when you reimport the ws, you will be prompted to create new service group, just like the destination.

Former Member
0 Kudos

Hi Jun Wu,

The CE server in which the service resides was not upgraded, but the Portal server was upgraded which connects to the CE server. By right, it should be working since nothing was touched in the CE server. I have reimported the model in web dynpro NWDS, but it still does not work.