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
17 replies
Subscribers
5 subscribers
Views
7251 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi we are using call web service smart service, but output of web service is not
ajinkyab277
Certified Lead Developer
over 10 years ago
Hi we are using call web service smart service, but output of web service is not getting store in pv(pv always shows blank value).
In application server log i have observed web service returning correct Response object.
PFB log
[default-short-running-threads-threads - 12] DEBUG com.appiancorp.ws.AbstractWSInvoker - Operation Invocation (OK). Endpoint Name: HisWebServiceHttpSoap11Endpoint; Endpoint URL:
172.18.0.46/.../cpservices.php;
Access Credentials: null; Operation: {name:'{
172.18.0.46/.../kranium.wsdl}getEncounterDetail',content:'<n8:getEncounterDetail
xmlns:n8="
172.18.0.46/.../n8:getEncounterDetail>'}],inputFaults:[],
outputs:[{name:'getEncounterDetailResponse',direction:'out',schemaElementName:'{h...
OriginalPostID-107197
OriginalPostID-107197
Discussion posts and replies are publicly visible
0
radhaa
over 10 years ago
Hi,
we didn't find any mistakes or errors in Wsdl file, CDT XSD's and we go through the Appian built in java code also.
CDT's are automatically created by Webservice, and getting xml response means webservice is good,
we didn't understand, why it is not able to map with those created CDT's?
Anyone, please help me out?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
radhaa
over 10 years ago
we have seen log with debug mode and its getting the response back from web service in log and and log shows that it is converting XML into cdt. But its returing null value. see these statements
2010-10-06 08:00:23,014 [default-threads - 17] DEBUG com.appiancorp.type.xmlconversion.DatatypeValueXmlConverter - Converting XML value to the internal data representation... Target datatype: InvestigationInfoResponse (id=1812)
2010-10-06 08:00:23,015 [default-threads - 17] DEBUG com.appiancorp.type.xmlconversion.DatatypeValueXmlConverter - Conversion done; returning value: TypedValue[it=1812,v={<null>}]
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rayudua
over 10 years ago
#Raadha
I suggest open a support case with appian from your organization to get this resolved.
Or suggest using sendhttp smart service.
In the current client we were in successful using OPT web service smart service and now use sendhttp.
The problem not able to create xsd dynamically and not 100% conforming to win standards and multilevel xsdi from webservice calls. We use sendhttp and Xpath ,query record functions. etc. Not a straight forward and easy approach though.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rayudua
over 10 years ago
Sorry, I meant unsuccessful using OOTB call web service. Cannot edit the post and also I meant w3c standards not win standards. I just hate this mobile auto complete.
Wish we can edit our posts to correct the spelling.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
radhaa
over 10 years ago
Hi rayudua,
According to your suggestion,
we used send http request node and configured Input parameters as
pass the request as xml code in body parameter,
give our wsdl url in endpoint,
select GET method
we got output as
it gives Response xml code with no values in the xml element tags.
errorOccured is false
response code 200
return set is "null"
we did any wrong configurations in input parameters?, why it return again null values?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
michaelag
A Score Level 1
over 9 years ago
Hi Radha,
Were you able to fix the above issue.
We are also facing a similar issue where the response is always empty.
Any pointers would be helpful
TIA
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
radhaa
over 9 years ago
Hi michale,
Please validate the wsdl content (Xsd file) in SOAP UI connector. if it shows it is not valid then please recheck namespace and syntax of xml schema content.
Be sure your wsdl file must be well- formed and validated.
and then try again with the new WSDL file.
Please go through this link
forum.appian.com/.../Call_Web_Service_Smart_Service.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<