Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
31 replies
Subscribers
7 subscribers
Views
4457 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
hi all, I exposed a process model as a webservice. Can i use " ca
eaglez
over 9 years ago
hi all,
I exposed a process model as a webservice.
Can i use " call web service" node to test this it?
is it true that no process instance will be created even if the web service is successfully invoked?
OriginalPostID-155556
OriginalPostID-155556
Discussion posts and replies are publicly visible
0
eaglez
over 9 years ago
could you help me to check whether there is anything wrong in parameter configuration?
as i attached above
"username_text" is one of process variables which is marked "Parameter?" true.
i configure "={"username_text"}" in HTTP Header Keys
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
You don't have to pass the values in the HTTP headers. As I mentioned earlier Models as Web Services do not read the HTTP headers. You need to pass them the way I showed you in the data tab.
1. Delete these data types from the System tab - Data Management
start@StartProcessIFBinding$faults-1338079152
startResponse
start
2. Re-configure the call WS node clicking Refresh Services
4. Navigate to the Data tab - Inputs
5. Expand the input called "startRequest"
6. Fill out the username, password and the value for username_text
*** Please do not configure anything in the HTTP headers, that's not how this feature works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 9 years ago
i tried several times. there are only three params under "startRequest". no custom process variables. please see attached.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 9 years ago
it seems calling any webservices will have these three parameters.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
I see that this is indeed reading one of the parameters of your model, a boolean PV called approvalResponse_boolean.
It seems you haven't marked username_text as a parameter in the Process Model. You need to make the PV a parameter in the model and publish it, then delete the CDTs as explained above and click "Refresh Services" in the node
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
That's correct, you can only have ONE model published as a web service. If you need more then you better publish a master process that receives all variables and then based on certain PV sends a message to start a specific model
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 9 years ago
if we don't use "call web service", can we have more than one model published as a webservice?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 9 years ago
this "one model published as web service" constraint is Appian's default feature or just because "call web service" can only get one web service parameter, i cannot publish two models?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Is the default feature regardless how you invoke it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eaglez
over 9 years ago
hi eduardo, sorry to bother again, how to get the value of application ID in Appian 7.9?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<
>