facebook

Web Service parameter problem . . . I think

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #321348 Reply

    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.

    #321371 Reply

    support-tony
    Keymaster

    vgermscheid,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Web Service parameter problem . . . I think

You must be logged in to post in the forum log in