Activities of "Spospisil"

The solution was to add the following lines to the project file(s) for SettingManagementHttpApiClient, FeatureManagementHttpApiClient and PermissionManagementHttpApiClient

<ItemGroup>
	<EmbeddedResource Include="**\*generate-proxy.json" />
	<Content Remove="**\*generate-proxy.json" />
</ItemGroup>

We run our solutions with full source code. If I step through the code the issue is happening on the highlighted (red box) line in the ClientProxyBase.cs class as shown in the below screenshot. The value of 'methodUniqueName' is:

Volo.Abp.FeatureManagement.IFeatureAppService.GetAsync.System.String-System.String

How do these values get loaded into the ClientProxyApiDescriptionFinder collection as this value is not being loaded into it?

Hi,

As highlighted below, the ABP Framework documentation does not not exclude a tiered solution from this framework feature. Could you please updated your documentation accordingly so that other customers do not waste their time exploring how to do this as the documentation does not indicate that this only works for a non tiered solution?

Thanks.

What are you suggesting I need to do in order to not need a controller to call an application service method? Are you suggesting I remove the conventionalcontrollers.Create line of code? Again, this was a out of the box solution generated by ABP Suite and I did not add this line of code myself.

  • My question, still, is how do I get javascript to call the methods on my application services WITHOUT creating a controller as the ABP documentation says I can do? If you could update the sample I have on github that shows how that is accomplished it would be much appreciated.

Hi,

I don't understand. Why is a controller necessary? Based on the documentation link below if you create the application service according to what the documentation shows, you don't need a controller.

Please advise.

https://docs.abp.io/en/abp/4.4/API/Auto-API-Controllers

Hi,

Thank you. Much appreciated.

Hi,

Have you had a chance to take a look at this yet?

I have created a new solution using ABP Suite 5.1.2 and adding the Lepton theme module as a project (using ABP Suite) and adding my Company 'application service'. Run a migration to create the database, and then run the tiered projects. Select from the left nativation menu 'System' and then 'Company Maintenance'.

The page should call my company application service 'CompanyHostAppService' method of 'GetCompanyListAsync' but instead it gets a similar error to the one shown in this thread.

The Git repo for this same is below and you should have received an invite to the repo.

https://github.com/spospisil/ABPSampleServiceError

Hi,

Understood, but I am using the lepton theme that is provided by Volvo/ABP and have not modified the placement of where this is loaded. The lepton theme's code defines where this reference is placed.

How do you mean? How do I do that?

For some reason the only way I can make the javascript call to my 'applicationservice' is to define a controller for it that injects the application service and calls the method I want.

The ServiceProxyScript when I view it in the browser does not include any of my solutions application services that I've created and that implement the IApplicationService interface.

Showing 121 to 130 of 191 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30