I created web services from scaffolded classes and they work fine within MyEclipse and also test from the browser just fine. I tried connecting to a simple parameterized service from an Adobe form (Acrobat X Pro) and it doesn’t seem to utilized the passed parameter correctly.
When I test it in the Web Service explorer the generated SOAP document looks like the following, with the data returned in the response message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="FgApp/com/fg/service" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<q0:loadLookupsByElement>
<element>State</element>
</q0:loadLookupsByElement>
</soapenv:Body>
</soapenv:Envelope>
The SOAP document from Acrobat looks like the following, effectively identical call, but no data is returned in the response.
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<loadLookupsByElement xmlns="FgApp/com/fg/service">
<element>State</element>
</loadLookupsByElement>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I’ve got SQL Server behind the application, and I see no value passed as the parameter to the query using SQL Server Profiler, but I’m not sure why the value (element=”State”) in the second invocation doesn’t seem to be getting through.