Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP doesn't display RPC SOAP Response?
WTP doesn't display RPC SOAP Response? [message #172638] Wed, 28 June 2006 19:36 Go to next message
Eclipse UserFriend
Originally posted by: hcurtis.xaware.com

After selecting a WSDL and using "Web Services/Test with Web Services
Explorer" you can select the service, fill in the request, and then press GO
to send the SOAP message.

For our DOC/Literal message style SOAP messages the response is showed in
the Web Services Explorer "Status" panel. However, we have not been able to
get the same displayed response with RPC/Encoded or RPC/Literal. Can
someone explain what we are doing wrong?

The sent RPC/Lit message looks like:

<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns0:Person1.Execute xmlns:ns0="http://xaware.com/xas/ns1/message">
<first>Jeff</first>
<last>Jones</last>
</ns0:Person1.Execute>
</soapenv:Body>
</soapenv:Envelope>

The response simply echos the names and adds a data item:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>
<Execute>
<Result>
<p:Person xmlns:p="http://xaware.com/Person"
xsi:schemaLocation="http://xaware.com/Person Person.xsd "
xmlns:xa="http://xaware.com/xas/ns1" xa:cache="yes"
xa:input_type="p.Person">

<p:Name>
<p:First>Jeff</p:First>
<p:Last>Jones</p:Last>
<p:data>myData/test</p:data>
</p:Name>
</p:Person>
</Result>
</Execute>
</soapenv:Body>
</soapenv:Envelope>

The WSDL's output response for this service is defined as:

<message name="MyService1.Person1.ExecuteResponse">
<part name="Result" type="typens:Operation.Result" />
</message>

If the WSDL's schema entry indicates the response is an <xsd:any...>

<type>
<schema ....
<complexType name="Operation.XAInputElement">
<sequence>
<any maxOccurs="unbounded" minOccurs="0"
namespace="#any" processContents="skip" />
</sequence>
</complexType>

then the native XML of the response is displayed in the status panel.
However, if the WSDL has a schema reference:

<type>
<schema ....
<complexType name="Operation.Result">
<sequence>
<xsd:element ref="p:Person" />
</sequence>
</complexType>

then the status panel indicates nothing was received. However, if you click
on the Source versus the Form view you can view the received response. Can
anyone explain how to get WTP to display the RPC received response? Do we
have our RPC response incorrectly formed?

--
Bud Curtis
XAware, Inc.
719-884-5443
Re: WTP doesn't display RPC SOAP Response? [message #547837 is a reply to message #172638] Mon, 19 July 2010 18:12 Go to previous message
Greg Amerson is currently offline Greg AmersonFriend
Messages: 119
Registered: March 2010
Senior Member
Anybody have any ideas here? I am also getting responses that seem like they are referencing other parts of a document that don't exist in the soap response.
Previous Topic:Native Jquery support in WTP?
Next Topic:How to install a WTP Patch?
Goto Forum:
  


Current Time: Thu Apr 25 21:35:48 GMT 2024

Powered by FUDForum. Page generated in 0.03442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top