on 02-16-2009 12:20 AM
Hi,
In the AUTO ID test tool...
we have XML,PML and SAP WS
how to test and use SAP WS...can anyone expalin the diff between XML,PML and SAP WS with example
Edited by: Kumar on Feb 15, 2009 11:03 PM
Hello Kumar,
The auto id test tool contains three format standards supported by SAP AII that can be used to support event and command communication between the device controllers/devices and SAP AII
The three formats are:
1) PML
2) ALE
3) SAP Web Services
The steps to configure and test web services are:
1) Releasing SAP Web Services:
a) Call transaction wsconfig
b) Enter following data and choose create
Service Defintion: /AIN/GET_NUMBER_RANGE_IN_VI
Variant: /AIN/GET_NUMNER_RANGE_IN
In the URL field of the Call Details Group box, make sure that the URl points to the correct ICF (Internet
Communication Framework) service (for eg; /sap/scm/ainws/get_number_range_in)
c) Save your entries.
Repeat the above steps for following
Service Definition: /AIN/NOTIFY_ERROR_IN_VI
Variant: /AIN/NOTIFY_ERROR_IN
Service Definition: /AIN/NOTIFY_TAGS_IN_VI
Variant: /AIN/NOTIFY_TAGS_IN
Service Definition: /AIN/STATUS_PING_IN_VI
Variant: /AIN/STATUS_PING_IN
Service Definition: /AIN/NOTIFY_EXTENSION_IN_V1
Variant: /AIN/NOTIFY_EXTENSION_IN
d) Save all your entries
2) Setting up RFC Connections:
Two RFC Connections needed
a) ALE_OUT/SAPWS_CMD_OUT
Connection Type: G
This RFC Connections will be used to connect to SAP ALE or SAP Web Service device controller, resepectively
3) Other RFCs needed
NOTIFY_TAGS_OUT
NOTIFY_EXTENSION_OUT
NOTIFY_ERROR_OUT
GET_NBR_OUT
STATUS_PING_OUT
Connection Type: H
Target Host: SAP AII
Service Number: SAP AII service number (Find out in sicf)
path prefix: Find in sicf
4) Define Logical Ports
Go to transaction LPCONFIG
For each RFC in step 3,
Proxy Class and choose Logical Port
Proxy Classes: /AIN/CO_IF_ALE_OUT, etc etc
5) Now use Auto ID test tool to use these services to send virtual read events to SAP AII.
Test the message in application logs slg1 transaction
Thnks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kumar,
my last answer for this post describes both situations as they are similar.
I have not come across any situation on which one should be used or not used out of ALE or PML.
These different communication interfaces have been defined by SAP just for the sake of device partners.
This gives the device and device middleware manucfacturers the flexibility to use any of the interfaces that they like and not depend on any one form. However internally they both use XML based messages itself.
One important point: As far as i know most of the mobile device manfucturers (which can connect devices directly to SAP AII) use PML for communication for its simplicity. And PML is the most common interface used in the case.
Thnks
Edited by: Yogesh Bhatia on Feb 16, 2009 9:56 AM
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.