MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
vgermscheid
Post subject: Web Service parameter problem . . . I think  PostPosted: Nov 23, 2011 - 05:57 PM
Registered Member
Registered Member


Joined: Nov 11, 2011
Posts: 3

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:
Code:
<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.
Code:
<?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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Nov 24, 2011 - 08:49 AM



Joined: Mar 09, 2011
Posts: 919

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.

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits