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
4 replies
Subscribers
5 subscribers
Views
1554 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
We are on 7.11 Cloud. This question is regarding HTTP File Upload sma
aksharc
over 8 years ago
We are on 7.11 Cloud.
This question is regarding HTTP File Upload smart service. The response I get from the service is weird.
We have created an end point on our side where we want to capture the attachments. Now following are few scenarios and the output I received:
(1) Text file of size >65KB --> Response: Error connecting to <end point link here>. Status 413 - Entity too large.
(2) Text file of size <65KB --> Response: Error calling HTTP File Upload, Message: Entity may not be null, Details: (are empty)
For (1) I can say that there is some problem in our end point. And we are currently looking at it.
But, I am interested in knowing the meaning of response of (2). It didn't say anything about connecting to our end-point. It mentions smart service name and says there is some problem calling the smart service. Does anyone know what could that error mean? One interesting thing I observed in case of (2) that when I am passing the wrong end-point ...
OriginalPostID-213332
OriginalPostID-213332
Discussion posts and replies are publicly visible
0
aksharc
over 8 years ago
...name, then with file size of < 65KB, it provides me the 404 method not found error. Which means that the issue is from our size (wrong method name).
Please help me with this. Thanks a lot in advance.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
@aksharc In order to understand your problem, first of all you explain us that what type of web service you are using, REST or SOAP, if SOAP then what binding you are using RPC or Document. And what MediaType have you configured out there. U better try to invoke the Same URL by Uploading a File through HTML and REST Client. If still does not work and getting same error message then that indicates there is some problem in you Service Configuration like some Annotations
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aloks0189
Certified Lead Developer
over 8 years ago
And also make sure while calling the method, are you passing it's parameters in exactly in the same order as per the type or not
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aksharc
over 8 years ago
@aloks176: The service would be REST. And as I am using the HTTP File Upload smart service, there is no way I can define the parameter in particular order. I can just mention the end point and document. Also, we have created the end point such that it has just one parameter.
One thing I would like to mention, with the same end point, I can send the attachments via fiddler.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel