<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Integration using Appian Advance webservice query function</title><link>https://community.appian.com/discussions/f/general/14217/integration-using-appian-advance-webservice-query-function</link><description>Hello All, 
 We are using appian Advance web service query function to consume a SOAP wsdl. Below is the code snippet.When executing we are getting errors.Please let me know what will is issue and how to resolve this.I suspect there is some problem with</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Integration using Appian Advance webservice query function</title><link>https://community.appian.com/thread/64257?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 06:13:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05d6da37-df02-4f70-9ba8-115c8d629f00</guid><dc:creator>josep</dc:creator><description>Hello Raj, &lt;br /&gt;
&lt;br /&gt;
Have you tested the WS on another tool like SoapUI? It is probably not a problem it self on the structure,but I am not sure we should blame the xml body at least not yet. &lt;br /&gt;
&lt;br /&gt;
There are multiple reason for that issue on the white spaces to happen, before jumping into debugging I would suggest to do that step to make sure you have a fully responsive request/response Combinations. &lt;br /&gt;
&lt;br /&gt;
I found quite interesting this link regarding the issue, but this will work later on when debugging to understand what is happening. &lt;br /&gt;
&lt;a href="https://developer.ibm.com/answers/questions/333717/what-are-reasons-for-the-error-white-spaces-are-re-1/"&gt;developer.ibm.com/.../&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
For debugging you need to turn on certain flags mentioned on the documentation&lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration using Appian Advance webservice query function</title><link>https://community.appian.com/thread/64256?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 06:11:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53e9300a-4ffb-413f-8ec8-955b3c85129c</guid><dc:creator>Appian Boy</dc:creator><description>&lt;p&gt;Have you been able to get data back using a different tool e.g. Soap UI? / Does the service work?&lt;/p&gt;
&lt;p&gt;What is the&amp;nbsp;publicId and systemId&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration using Appian Advance webservice query function</title><link>https://community.appian.com/thread/64255?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 01:45:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5886c54-0226-4216-98d5-62743bee4fd9</guid><dc:creator>RajHasti</dc:creator><description>Also I have updated the call like below and used toxml still i am getting error&lt;br /&gt;
&lt;br /&gt;
Input&lt;br /&gt;
load(&lt;br /&gt;
  local!request: &amp;#39;type!{&lt;a&gt;schemas.myjonline.com/.../1.0}CorporateActionRequest&amp;#39;(&lt;/a&gt;&lt;br /&gt;
    RequestedDate: &amp;quot;01/07/2019&amp;quot;,&lt;br /&gt;
    RequestedIndex: &amp;quot;0&amp;quot;&lt;br /&gt;
  ),&lt;br /&gt;
  local!body: toxml(&lt;br /&gt;
    local!request&lt;br /&gt;
  ),&lt;br /&gt;
  local!advanceWebserviceCall: fn!advancedwebservicequery(&lt;br /&gt;
    wsdlUrl: &amp;quot;&lt;a href="http://adsvcs.dev.myjonline.com/CorporateActions/CorporateActionsService.svc?wsdl&amp;quot;,"&gt;adsvcs.dev.myjonline.com/.../CorporateActionsService.svc&lt;/a&gt;&lt;br /&gt;
    serviceNamespace: &amp;quot;&lt;a href="http://schemas.myjonline.com/wsdl/CorporateActionsService/1.0&amp;quot;&amp;quot;&amp;quot;,"&gt;schemas.myjonline.com/.../1.0&amp;quot;&amp;quot;&amp;quot;,&lt;/a&gt;&lt;br /&gt;
    serviceName: &amp;quot;CorporateActionsService&amp;quot;,&lt;br /&gt;
    soapBodyXml: local!body,&lt;br /&gt;
    serviceAuthentication: {&lt;br /&gt;
      keystoreSystemKey: &amp;quot;corporateactions.service&amp;quot;,&lt;br /&gt;
      keystoreDocument: cons!CA_KEYSTORE_DOC&lt;br /&gt;
    },&lt;br /&gt;
    httpHeaderKeys: {&lt;br /&gt;
      &amp;quot;Content-Type&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    httpHeaderValues: {&lt;br /&gt;
      &amp;quot;text/xml;charset=UTF-8&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  ),&lt;br /&gt;
  with(&lt;br /&gt;
    local!body&lt;br /&gt;
    /*,*/&lt;br /&gt;
    /*local!advanceWebserviceCall*/&lt;br /&gt;
  )&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Error&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
Dictionary&lt;br /&gt;
    ErrorOccurred: true&lt;br /&gt;
    ErrorMessage: &amp;quot;XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,50]&lt;br /&gt;
Message: White spaces are required between publicId and systemId.&amp;quot;&lt;br /&gt;
    ResponseHTTPHeaderKeys: List of Text String: 0 items&lt;br /&gt;
    ResponseHTTPHeaderValues: List of Text String: 0 items&lt;br /&gt;
    ResponseSOAPHeadersXml: List of Text String: 0 items&lt;br /&gt;
    ResponseXml: null (Text)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>