Skip to main content
Oct 16, 2015 2:28 AM UTC
Solved

Performance issue while connecting with the webservices

Hello

We are migrating from 5.6.1 to 6.1 server.We have configured 3rd party webservices for profiles.

These webservices work perfectly fine with 5.6.1 but seem to give a performance issue on 6.1 and we get a delayed response(about more than a minute to respond) while saving profile records.

There is no change in the webservice code with regards to migration.

Is there any configuration I need to change as part of 6.1 while might help avoid this issue.Not sure on the root cause for this delay.Logs have not been too helpful either.

Thanks,

Sonali.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Oct 16, 2015 2:28 AM UTC

This may be an AEM bug - i recommend opening a support ticket for this use case.

https://helpx.adobe.com/marketing-cloud/contact-support.html

However - this does not look related to invoking 3rd party web services from an AEM OSGi bundle

14 replies

Oct 16, 2015 2:28 AM UTC

Yes.Its a soap service.We have configured the service through the config manager.

Translate
Oct 16, 2015 2:28 AM UTC

All those classes are in place.And the service is working as expected on 5.6.1.This is not a code thats newly being written for 6.1.

------ERROR(error.log)----

POST /services/info HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.

From this error I am guessing its something to do with Sling and the way we have set the properties for Sling in our servlets but not exactly sure whats wrong there since it works for 5.6.1.

Example of how we have set the properties - 

@Component(immediate = true, metatype = true, enabled = true)
@Properties({ 
    @Property(name = "sling.servlet.methods", value = { "GET", "POST", "PUT", "DELETE" }),
    @Property(name = "sling.servlet.paths", value = { "/services/info" }) })
@Service(value = Servlet.class)

Any suggestions ?

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

Need more details - did  you create a custom AEM service that invokes a 3rd party web service? If so - is the web service a SOAP-Based web service or Restful web service? 

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

Typically to integrate SOAP based web services into AEM, you create Java proxy classes that consume the WSDL. Then you place the proxy classes into an OSGi bundle. I am not sure what you mean by using config to hook into web services? 

Did you write Java proxy classes as talked about here?

https://helpx.adobe.com/experience-manager/using/creating-cxf-bundles-consume-web.html 

Translate