Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Simple web service call crashes Acrobat

Avatar

Former Community Member
I have Acrobat 7.09. When I call web service like,<br /><br />var serviceURL="http://localhost/asynchws/ValidateAddress.asmx?WSDL";<br />var service = SOAP.connect(serviceURL);<br />var result = service.HelloWorld("Test string");<br /><br />from an xdp, I get,<br /><br />Acrobat.exe - Application Error <br />The instruction at "0x2d828acd" referenced memory at "0x00000008". The memory could not be "read". Click on OK to terminate the program.<br /><br />The wsdl is below,<br /><br /><?xml version="1.0" encoding="utf-8" ?> <br /><wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><br /> <wsdl:types><br /> <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"><br /> <s:element name="HelloWorld"><br /> <s:complexType><br /> <s:sequence><br /> <s:element minOccurs="0" maxOccurs="1" name="address" type="s:string" /> <br /> </s:sequence><br /> </s:complexType><br /> </s:element><br /> <s:element name="HelloWorldResponse"><br /> <s:complexType><br /> <s:sequence><br /> <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" /> <br /> </s:sequence><br /> </s:complexType><br /> </s:element><br /> </s:schema><br /> </wsdl:types><br /> <wsdl:message name="HelloWorldSoapIn"><br /> <wsdl:part name="parameters" element="tns:HelloWorld" /> <br /> </wsdl:message><br /> <wsdl:message name="HelloWorldSoapOut"><br /> <wsdl:part name="parameters" element="tns:HelloWorldResponse" /> <br /> </wsdl:message><br /> <wsdl:portType name="ValidateAddressSoap"><br /> <wsdl:operation name="HelloWorld"><br /> <wsdl:input message="tns:HelloWorldSoapIn" /> <br /> <wsdl:output message="tns:HelloWorldSoapOut" /> <br /> </wsdl:operation><br /> </wsdl:portType><br /> <wsdl:binding name="ValidateAddressSoap" type="tns:ValidateAddressSoap"><br /> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <br /> <wsdl:operation name="HelloWorld"><br /> <soap:operation soapAction="http://tempuri.org/HelloWorld" style="document" /> <br /> <wsdl:input><br /> <soap:body use="literal" /> <br /> </wsdl:input><br /> <wsdl:output><br /> <soap:body use="literal" /> <br /> </wsdl:output><br /> </wsdl:operation><br /> </wsdl:binding><br /> <wsdl:binding name="ValidateAddressSoap12" type="tns:ValidateAddressSoap"><br /> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> <br /> <wsdl:operation name="HelloWorld"><br /> <soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document" /> <br /> <wsdl:input><br /> <soap12:body use="literal" /> <br /> </wsdl:input><br /> <wsdl:output><br /> <soap12:body use="literal" /> <br /> </wsdl:output><br /> </wsdl:operation><br /> </wsdl:binding><br /> <wsdl:service name="ValidateAddress"><br /> <wsdl:port name="ValidateAddressSoap" binding="tns:ValidateAddressSoap"><br /> <soap:address location="http://localhost/asynchws/ValidateAddress.asmx" /> <br /> </wsdl:port><br /> <wsdl:port name="ValidateAddressSoap12" binding="tns:ValidateAddressSoap12"><br /> <soap12:address location="http://localhost/asynchws/ValidateAddress.asmx" /> <br /> </wsdl:port><br /> </wsdl:service><br /> </wsdl:definitions>
4 Replies

Avatar

Former Community Member
Weird. I put this javascript collection (http://www.coffeeblack.org/work/jscollections/) in my application data folder. Ever since then, web service code could not run, and complicated dialogs. The weird thing is, the code from this collection ran fine. Javascript and Adobe, you never know what you're going to get.

Avatar

Former Community Member
I found the problem in map.js. You have to change Object.prototype.hash to Map.prototype.hash. My guess is, messing with Object is a no-no.

Avatar

Former Community Member
I am getting the same error when I close Acrobat:



"Acrobat.exe - Application Error

The instruction at "0x2d828acd" referenced memory at "0x00000008". The memory could not be "read". Click on OK to terminate the program."



Can you explain how to make the change you posted in layman's terms?



"You have to change Object.prototype.hash to Map.prototype.hash."

Avatar

Former Community Member
Hi this is sekhar,

I have some problem with webservices in Adobe LC Designer,

I have written a small java program and it consists of a method called

"add(a,b)" and i am tring to call that method in Adobe LC Designer using

webservices but it is not working. Can someone help me in this issue.