Activities of "dev_marcelo"

I did, and it is not working

is it possible that you help me on a meeting?

Answer

Let me know when you fix this problem please to delete my own implementation

Solved

Check list about errors

  • Change the dynamic proxy to static
    • Not sure why it does not work with dynamic but after fix all errors it did not work with dynamic
    • I have an integration with IdentityService, and my gateway expose 7 different services, not sure if it is related
  • Fix the app service name to use AppService post fix
    • It was one service that was not resolved so is better to follow name conventions
  • The generations of the client has to be on the owner of the implementation
    • I was creating a client of MicroService B inside MicroService A
    • Also the reference of projects was not correct

Thanks so much for your help

Hi,

Open the ServiceBHttpClientModule class and change AddHttpClientProxies to AddStaticHttpClientProxies

You can search for AddHttpClientProxies globally and replace it with AddStaticHttpClientProxies in the MicroserviceB solution.

Hi,

I am still facing a problem, is it possible to set a meeting to show you so you could help me find the error?

Hi,

It looks like you are using the Dynamic proxy.

The Dynamic proxy system needs to get the API defines from the gateway.

You can consider using the Static proxy.

  • Run the abp generate-proxy -t csharp -m TheModuleNameOfServiceB -u TheURLOfServiceB on the ServiceB.HttpApi.Client project directory
  • Open the ServiceBHttpClientModule class and change AddHttpClientProxies to AddStaticHttpClientProxies

Now it should be working.

If you don't know the TheModuleNameOfServiceB, you can access the TheURLOfServiceB:/api/abp/api-definition endpoint to check it.

Hi,

It still load with dynamic proxy

you should modify the function

mapEnumToOptions(CustomDataType);

on microservices to get the localization of service

It did not work, since i am on microservice template I have to use the prefix of the owner

const label: string = this.localizationService.instant('MyService::Enum:' + enumTypeName + '.' + element.key);

abp generate-proxy -t ng -m identity -u https://localhost:44388 --target identity-service --api-name Identity abp generate-proxy -t ng -m identityServer -u https://localhost:44388 --target identity-service --api-name Identity abp generate-proxy -t ng -m abp -u https://localhost:44388 --target identity-service --api-name Identity abp generate-proxy -t ng -m accountAdmin -u https://localhost:44388 --target identity-service --api-name Identity

hello,

looks like the solution I was looking is https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication

I am going to treat the user as an object out of the microservice, I do not want to go over http request because i am inside the same server, but it makes sense, because I could split the microservices into many servers later

yes, microservice template, it is on first message

Showing 11 to 20 of 43 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 05, 2025, 12:34
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.