on 05-05-2014 1:26 PM
Hiie,
I'm trying to subscribe and get notifications from a workflow scenario, but while i'm trying to post for subscribing in case of subscribe to a business workflow by following the below Document .
http://<host name>:<port>/sap/opu/sdata/sap/wfactivitytaskprocessing/SubscriptionCollection?$format=xml
But while posting from rest client , no response is getting and while trying to execute from gateway client i'm facing the below error :
<?xml version="1.0" encoding="utf-8" ?>
</error>
awaiting for helpful suggestions
Hi Krishna ,
Thanks for your suggestions its working , problem with event description and workflow pattern customization ..
we are not able to find the option workflow pattern customization..,
But with Tcode simgh im able to find the option.
Thanks and regards,
Lokeswar .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lokeswar,
Problem might be with the XML body. Why don' you post the request body.
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna ,
Thanks for ur reply , Pl check the below XML body :
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
<atom:id/>
<atom:title>Gateway subscription</atom:title>
<atom:author/>
<atom:updated/>
<atom:content type="application/xml">
<m:properties
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metad
ata"
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<d:deliveryAddress>urn:sap-com:channel:XXXX:http</d:deliveryAddress>
<d:collection>WorkflowTaskCollection</d:collection>
<d:filter></d:filter>
</m:properties>
</atom:content>
</atom:entry>
Thanks ,
Lokeswar.
Hi Krishna,
Thanks for ur suggestion,
Under oData i found wfservice node under IWWRK .
Url which i tried to post :
<GW port >/sap/opu/odata/iwwrk/wfservice/SubscriptionCollection?$format=xml
While executing system is raising error message as forbidden-403 ..,
pl suggest ..,
Hi Krishna ,
That is the problem with URl,
But now i'm facing the below error :
<?xml version="1.0" encoding="utf-8"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>005056A509B11EE1B9A8FBE8A100F78B</code><message xml:lang="en">The Data Services Request contains SystemQueryOptions that are not allowed for this Request Type</message></error>
Is it a post? Did you provide CSRF token? More info would make it easier to help.
Also here is a document using oData.
HI Krishna ,
I have provided the X crsf token,but im facing the same error as below :
400 Bad Request
<?xml version="1.0" encoding="utf-8"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>/IWFND/COD/011</code><message xml:lang="en">The SAP system could not process your request. Contact your administrator</message></error>
Any authorizations required for subscription , from the below link i found that /IWBEP/RT_SUB_USR is required ..,
Subscription Management - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.