web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error - Metadata contains a reference that cannot be resolved

(0) ShareShare
ReportReport
Posted on by

I developed a custom service with http adapter - deployed successfully but when trying to read service - getting below error 

There was an error downloading 'servername/.../xppservice.svc'.
The request failed with HTTP status 404: Not Found. 'servername/.../xppservice.svc'.
There was no endpoint listening at servername/.../xppservice.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote server returned an error: (404) Not Found.
If the service is defined in the current solution, try building the solution and adding the service reference again.

DataContract class:

[DataContractAttribute]
class ProductupdateDC
{
ProductId productId;
LiveDate LiveDate;

}

[ DataMemberAttribute('productId')]

public ProductId parmProductId(ProductId _productId= productId)

{

productId =_productId;

return productId;

}

[ DataMemberAttribute('LiveDate')]

public LiveDate parmLiveDate(LiveDate _LiveDate = LiveDate)

{

LiveDate =_LiveDate;

return LiveDate;

}

Service Class:

class ProductupdateService 
{
ProductupdateService productservice ;
}

public void new()
{
;
super();
}

[SysEntryPointAttribute(true)]

public void Update( ProductupdateDC ProductupdateDC)

{
XProductTable xproductTable;
ProductId _productId;
LiveToDate _LiveDate;

_productId = ProductupdateDC.parmProductId();

productTable = xproductTable::find(_productId, true);

{
if(xproductTable)
{
ttsBegin;
xproductTable.LiveDate = ProductupdateDC.parmLiveDate();
xproductTable.update();
ttsCommit;
}
}

}

Can anyone help resolve error. nything in code needs to be changed. 

*This post is locked for comments

I have the same question (0)
  • Abby Abraham Profile Picture
    314 on at

    Did you find a solution to this problem? I am having the same issue

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans