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
5 replies
Subscribers
7 subscribers
Views
1732 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
In interface I have written :- =webservicequery( a!wsConfig(
arkaprobham
over 9 years ago
In interface I have written :-
=webservicequery(
a!wsConfig(
wsdlUrl: "
10.33.155.68:8080/.../Hello
service: "{
query.test.com}HelloService",
port: "Hello",
operation: "{
query.test.com}helloName"
),
{
CreateUrlSoapIn: {
real_url: ri!textToBeStored
}
}
).returnValue.helloNameResponse.helloNameReturn
The web service returns Hello there <Inputname>
But I am unable to set input data which of type "helloName" So how should I use this data type to have proper returned values.
Below is the WSDL :-
<wsdl:definitions xmlns:apachesoap="
xml.apache.org/xml-soap"
xmlns:impl="
http://query.test.com"
xmlns:intf="
http://query.test.com"
xmlns:wsdl="
schemas.xmlsoap.org/.../"
xmlns:wsdlsoap="
schemas.xmlsoap.org/.../"
xmlns:xsd="
www.w3.org/.../XMLSchema"
targetNamespace="
http://query.test.com">
<!--
WSDL created by Apache Axis version: 1.4
Built on Apr ...
OriginalPostID-162448
OriginalPostID-162448
Discussion posts and replies are publicly visible
0
arkaprobham
over 9 years ago
...22, 2006 (06:55:48 PDT)
-->
<wsdl:types>
<schema xmlns="
www.w3.org/.../XMLSchema"
elementFormDefault="qualified" targetNamespace="
http://query.test.com">
<element name="helloName">
<complexType>
<sequence>
<element name="name" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="helloNameResponse">
<complexType>
<sequence>
<element name="helloNameReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="helloNameRequest">
<wsdl:part element="impl:helloName" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="helloNameResponse">
<wsdl:part element="impl:helloNameResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="Hello">
<wsdl:operation name="helloName">
<wsdl:input message="impl:helloNameRequest" name="helloNameRequest"></wsdl:input>
<wsdl:output message="impl:helloNameResponse" name="helloNameResponse"></wsdl:output>
</wsdl:operation>
</wsdl:port...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
arkaprobham
over 9 years ago
...Type>
<wsdl:binding name="HelloSoapBinding" type="impl:Hello">
<wsdlsoap:binding style="document" transport="
schemas.xmlsoap.org/.../>
<wsdl:operation name="helloName">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="helloNameRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="helloNameResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloService">
<wsdl:port binding="impl:HelloSoapBinding" name="Hello">
<wsdlsoap:address location="
10.33.155.68:8080/.../>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Have a look at the webservicequery and a!wsConfig used here:
forum.appian.com/.../SAIL_Recipes.html
It seems to me that, if you have no actual input defined to the webservice, you need to define the input as something like:
{
helloNameRequest: {}
}
...and, if you have an input (eg an id), it would be something like:
{
helloNameRequest: {
id: ri!someId
}
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
arkaprobham
over 9 years ago
Thanks Philb. It works fine
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
No problem :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel