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
9 subscribers
Views
3027 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a requirement in which we have to create a webservice and give it to a th
sparshs
over 9 years ago
I have a requirement in which we have to create a webservice and give it to a third party , which will in return send us an XML file. We have to parse this xml in our system(Appian) and do the needful. Can anyone tell me what is the best way to approach this in Appian. Can we expose our process model in Appian as a webservice , so that we can fetch the XML file in Appian through the third party interface or we have to create a new webservice using java. Please provide your suggestions on this.
OriginalPostID-195438
OriginalPostID-195438
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 9 years ago
You can publish a process as a web service. When you define a parameter pv of type document it should do what you want. But it depends a bit on the size of the XML file you want to receive. A file of several MB will be a problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
forum.appian.com/.../Publishing_Process_Models_as_Web_Services.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rahul Gundu
over 9 years ago
Hi Sparshs, We publish a process model as a web service. Go though the below link to know how to do this.
forum.appian.com/.../Publishing_Process_Models_as_Web_Services.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 9 years ago
Thanks guys for the input but i just want to ask you whether can we fetch an file through an third party interface in to appian using this methodology. Please provide your inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
Maybe you elaborate a bit on your use case. You can also create some kind of call back. So the other system would call your process and the process would fetch the file from some system. Depends on how the file can be accessed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 9 years ago
my use case is like that i want to fetch a xml file from an third party interface and this third party interface wants us to give them a webservice , so that they can send us their file. I just want to know whether by exposing process model as an webservice , can we actually fetch the xml file or not in to appian?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rahul Gundu
over 9 years ago
I don't think, that we can get the document through this methodology. In one of my projects, third party application sending the one document data as text and in Appian using functions we are parsed the data.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
anshuk611
over 9 years ago
For receiving the files you can create a batch process that will run at a scheduled time to fetch the files. Files can be retrieved through SFTP smart services. Please go through the below links
forum.appian.com/.../File_System_Integrating_Appian.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
A published process can have a document as parameter, but this is just a document ID and not an actual file. This means that one way to go is what Rahul suggested. Have the other application send you the XML text as text and not as a file.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 9 years ago
thanks guys for your inputs on this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel