Got Invalid Symbol Found (lt) error after pasting the SOAP request to the Request Body field in the Integration object config screen. The same SOAP request works in SOAPUI. Plz shed some light on this.
<soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:xsi="">www.w3.org/.../XMLSchema-instance"> <soapenv:Header> <wsse:Security xmlns:wsse="">schemas.xmlsoap.org/.../secext" soapenv:mustUnderstand="1"> <wsse:UsernameToken> <wsse:Username>aaaa</wsse:Username> <wsse:Password>ddddd</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ibn220 xmlns="">ibn220.ang.pbd.ntrs.com/"> <ibn220Req> <function>F5</function> <reqType /> <qualType>M11</qualType> <reqQuan>1</reqQuan> <arxMain>0</arxMain> <acctType /> <acctNo /> <appl>LNS</appl> <bank>465</bank> </ibn220Req> </ibn220> </soapenv:Body></soapenv:Envelope>
Discussion posts and replies are publicly visible
I believe lt is shorthand for less than or "<" symbol.
The proper escaping for this symbol in a node value is: <something is wrong here: <ibn220 xmlns="">ibn220.ang.pbd.ntrs.com/">
Sorry I probably pasted the wrong soap request in my last post.
The below is the correct one. I got the same error with this SOAP request.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" soapenv:mustUnderstand="1"> <wsse:UsernameToken> <wsse:Username>EFGER</wsse:Username> <wsse:Password>XXXXX</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ibn220 xmlns="http://ibn220.ang.pbd.ntrs.com/"> <ibn220Req> <function>F5</function> <reqType /> <qualType>M11</qualType> <reqQuan>1</reqQuan> <arxMain>0</arxMain> <acctType /> <acctNo /> <appl>LNS</appl> <bank>465</bank> </ibn220Req> </ibn220> </soapenv:Body></soapenv:Envelope>
I have tried to use this example SOAP request in https://community.appian.com/w/the-appian-playbook/86/advanced-soap-web-service-configuration, and got the same error.
<soapenv:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:urn="urn:examples:helloservice"> <soapenv:Body> <urn:sayHello soapenv:encodingStyle='schemas.xmlsoap.org/.../'> <firstName xsi:type='xsd:string'>John</firstName> </urn:sayHello> </soapenv:Body> </soapenv:Envelope>
I am using Appian 19.3.
I tried the SOAP request (see below) from
https://community.appian.com/discussions/f/integrations/12897/soap-service-call-issue
and got the same error:
<soapenv:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:ndf="">graphical.weather.gov/.../ndfdXML.wsdl"> <soapenv:Header/> <soapenv:Body> <ndf:LatLonListZipCode soapenv:encodingStyle="">schemas.xmlsoap.org/.../"> <zipCodeList xsi:type="dwml:zipCodeListType" xmlns:dwml="">graphical.weather.gov/.../zipCodeList> </ndf:LatLonListZipCode> </soapenv:Body></soapenv:Envelope>
Your SOAP request looks Malformed, the extract from the link is below, there should not be a > after xmlns:xsi"http://www.w3
.org/2001/XMLSchema-instance" as this is an attribute of the soapenv tag
Although having just posted, looks like the forum is struggling with this
Also troubleshooting "invalid symbol found(lt)"
If I comment out all the xml it tells me I'm missing a comma. If I then uncomment any part of the xml I get "invalid symbol found(lt)". Is this a bug?
A line like this <id>1</id> will give me this same error.
is your namespace properly defined?https://community.appian.com/discussions/f/general/17695/parse-xml-response-with-xpathsnippet/69679#69679
I think it is but even when I use the sample XML code from appian... like Cindy above. https://community.appian.com/w/the-appian-playbook/86/advanced-soap-web-service-configuration
I still get the error.