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
10 replies
Subscribers
5 subscribers
Views
4389 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Publish Process Model as Web Service
aloks0189
Certified Lead Developer
over 8 years ago
Hi,
I have published a Process Model as Web Service, having one optional Parameter, also created one more Process Model where i have used Call Web Service Smart Service to invoke my above Created Service ...?WSDL file along with pv! value as the parameter for the Web Service, But when start execution of my 2nd process Model, it is getting pass till the End Node (including Call Web Service Smart Service) successfully, but my Exposed Web Service Process Model is not getting Instantiate (or) Initialize, and hence i am unable to get expected response.
Please help me regarding this.
Thanks..
OriginalPostID-243869
Discussion posts and replies are publicly visible
0
kondetiv
over 8 years ago
@Alok
HI ,
Please go through the following thread , in case you havent had a chance to look at it till now.
It might be helpful.
forum.appian.com/.../e-242297
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
@Kondeti Venkatarao, thanks for Your response, but my agenda is not to work with WEB API, currently i need to expose my Process Model as a Web Service and the Same Service .WSDL file needs to be invoked through the 'Call Web Service' Smart Service in an Another Process Model, rather than WEB API, Since both are irrelevant , so if there is any solution for my above mention problem statement then please let me know
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 8 years ago
Why are you calling an Appian model from within Appian? Is that just for test purposes? If not, you could just use the start process smart service?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 8 years ago
Sorry - that should have said "Why are you calling an Appian model exposed as a webservice from within Appian?"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
@philb Thanks for your reply, actually i have exposed a Service (Rest Web Service .WSDL File) that i need to interact with, rather than the Process Model, so in such case either i need to go for 'Call Web Service' or it's Corresponding Function, that is what i am trying to invoke by assuming that the above service is provided by some 3rd Part Vendor, but as the result, the Process Model not getting Instantiate which is exposed as Web Service, hence not getting any response. And the reason behind 'calling an Appian model exposed as a webservice from within Appian' is assuming that the information's are stored in different Environment
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rodgraham
Certified Lead Developer
over 8 years ago
Have you tried calling service from soap ui to test it? Log files may give more detail on what happened when you called the Web service
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
@rodgraham Thanks for Your Response, when i tried calling service from SOAP UI then i found that by default it creates two additional parameters i.e. username and password while publishing the Process Model as a Service, so i have assigned Authentication details as well as created to more pv! named as username and password in the Service process Model, and forwarded the Same Credentials out there, that worked for me
Thank You all for your support
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rodgraham
Certified Lead Developer
over 8 years ago
No problem, didn't think to mention username and password. I've only ever called a process published as a Web service from an external source and you always need to pass in the authentication details
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
@rodgraham earlier also i was used to pass Authentication Details, didn't why that didn't work and later using it as param along with Authentication Details, worked form. However thanks for your Suggetion
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
sorry mistakes in Post
@rodgraham earlier also i was used to pass Authentication Details, didn't know why that didn't work and later using it as param along with Authentication Details, worked for me. However thanks for your Suggetions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel