cancel
Showing results for 
Search instead for 
Did you mean: 

Service Event is not working in Work Manager 6.0

Former Member
0 Kudos

Hi All,

I am trying to use (WorkorderPushByMRSHTTPListener) service event in Workmanager 6.0 . don't know how to enable service event, please provide me steps how to enable service event..

Thanks and Regards,

Pratik chavan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello All,

Please suggest me something regarding service event.

Thanks,

Pratik Chavan.

Former Member
0 Kudos

In Service Events, you can ask SMP server to trigger some action (steplet) based on the HTTP message SMP received on 8282 port which is the default listening port of the HTTP service on SMP server.

If you do not remove it from the Agentry project, it is effective, but you need to check the "Response Mappings" for which filter it applies on the HTTP messages.

Former Member
0 Kudos

Hi Kevin,

Thanks for reply actually i am using Work Manager 6.1 application to implement service event and using 8282 port in Agentry.ini but 8282 is not OPEN port. OPEN port for my server is 8080,8081. so please tell me which port i have to use.? and i disabled the polling in PUSH but not getting data in PUSH object so please help me.

[HTTPXML-2]

authenticationCertificateStore=MY

authenticationCertificateStorePassword=

authenticationCertificateStorePasswordEncoded=False

autoDequote=True

baseURL=http://localhost:8282

basicAuthenticationPassword=

basicAuthenticationPasswordEncoded=False

basicAuthenticationUserID=

constantsFile=httpxml_sd.ini

enableAuthentication=False

enablePreviousUserAuthentication=False

httpConnectTimeout=60

httpReceiveTimeout=300

httpResolveTimeout=60

httpSendTimeout=300

listenOn=8282

name=HTTP-XML Back End

timeZoneName=

timeout=300

trustedCertificateStore=

useSSL=False

xmlNamespaces=

and response mapping is.

<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="xml" />

  <xsl:template match="SWM61_BDS_DOCUMENT_PUSH">

      <xsl:copy-of select="." />

  </xsl:template>

</xsl:stylesheet>

Thanks and Regards,

Pratik Chavan.

Former Member
0 Kudos

8282 is the default port. And I can see it in your Agentry.ini which is correct.

Make sure your ECC can talk to SMP on 8282 port, no firewalls blocking it.

And also check the "Outbound trigger" setting in the syclo config panel. See 8282 port is set in there.

Former Member
0 Kudos

In case you are not using the default push scenario id SWM61_BDS_DOCUMENT_PUSH, you need to update it in the reponse mapping.

Former Member
0 Kudos

In case you are not using the default push scenario id SWM61_BDS_DOCUMENT_PUSH, you need to update it in the reponse mapping.

Former Member
0 Kudos

Hello kevin,

want to ask wheather i have to use live ip or SMP server desktop ip in config panel outbound trigger. and i am using SWM61_BDS_DOCUMENT_PUSH, snenario id. i checked my port 8282 by using netstat –anop TCP | findstr 8282 command but the port is closed.

Regards,

Pratik Chavan

Former Member
0 Kudos

by default the Host IP is left blank and it will be auto-detected.

Problem is 8282 is not listening on your SMP server. Check you have any port conflicts and check this link

http://scn.sap.com/docs/DOC-45702

Former Member
0 Kudos

Hello Kevin,

I followed all the steps you mentioned in the document now PORT  8282 is OPEN.

When i am trying to download document using Client getting "Request Already Submited" .

I Checked status in Admin panel, status is completed, But Document is not shown in device, please help me to resolve this problem.

Thanks and Regards,

Pratik Chavan

Former Member
0 Kudos

Hi All,

Getting  Handshake failed in SMP. Don't know about this error. please help me.

Thanks and Regards,

Pratik Chavan.

Former Member
0 Kudos

Have you go thru this link?

http://scn.sap.com/community/mobile/blog/2014/03/25/troubleshooting-sap-work-manager-60-attach-docum...

You better purge the subscription and push tables and need to reset the client before doing another test.

Former Member
0 Kudos

Hello Kevin,

I added one new work order from backend side and disabled polling in PUSH, using PORT 8282 which is open port, set same PORT in outbound trigger and admin panel also but my service event is not working. i checked event log in SMP. getting following error.

please help me.

Regards,

Pratik.

Former Member
0 Kudos

Keep in mind, not all the work orders created in the backend will be pushed to the user's devices.

Only those orders with a certain criteria will be pushed. That is possibly the reason that you do not get any pushes, the problem is not the on the service events.

Please check the exchange object settings in the config panel, SWM62_WORK_ORDER_PUSH, change detection condition filter. You need to set the criteria I mentioned in here. Let me know what you find.

Former Member
0 Kudos

Hello Kevin,

Thanks for your quick reply, I checked the exchange object settings in the config panel, SWM61_WORK_ORDER_PUSH, change detection condition filter,




I received work order on client device while polling enabled in PUSH, but i don't know how to check service event is working or not, i disabled the polling from PUSH and added new work order from backend  but not getting any data in PUSH object. 

I want to get notification on my client device by using service event only.that's why i disabled polling from PUSH, so please tell me how can i implement this scenario.

Regards,

Pratik Chavan

Former Member
0 Kudos

OK.

Let's do some simple test.

in SMP cockpit, set the logging level for your agentry app on "DEBUG". better to purge all the logs before.

Then, create the order in backend, check the log in the SMP_Server/server/log/Agentry folder. See if the http message has come in and correctly parsed. You may also see if the WorkOrderPushHTTPListener( which is the Service Event) has been triggered.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Looping experts ;