MyEclipse: Web Service parameter problem . . . I think
vgermscheid - Nov 23, 2011 - 05:57 PM
Post subject: Web Service parameter problem . . . I think
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">
The SOAP document from Acrobat looks like the following, effectively identical call, but no data is returned in the response.
<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">
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.
support-tony - Nov 24, 2011 - 08:49 AM
Sorry you're seeing this problem.
I'm not sure that this is specifically a MyEclipse issue as you say it all works fine within MyEclipse.
The only difference I can see in the two soap messages seems to be the explicit declaration of the XML version, in the second one. Is it possible to log the SOAP messages at the server end, so you can see exactly what is received? Sorry, I'm not sure how to do that myself.
I'm also not clear on the scenario that is causing the problem. I'm not familiar with Adobe forms. Is that some kind of application that can make web service calls, and that is the only scenario that is causing trouble? It seems as though, at that point, MyEclipse is out of the picture. Is that right? There might be a support forum for Acrobat X Pro that could provide more support for you.
If we can offer further assistance, it would help to know the release of MyEclipse you're using and your operating system.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits