axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Houbaux <patrick.houb...@eurostep.com>
Subject Re: AXIS2 - ADB and multiref?
Date Wed, 04 Apr 2007 16:49:23 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Tahoma">Thanks Anne! That makes sense.<br>
<br>
I moved to AXIS2 because I had some other issues with AXIS1.x.<br>
The WSDL I have is document/literal anyway.<br>
<br>
Any idea when AXIS2 will support RPC/encoded?<br>
<br>
Patrick.<br>
</font></font><br>
Anne Thomas Manes wrote:
<blockquote
 cite="midbf414ee60704040902m3a0eae1fxfdbf2a0d6b155fdf@mail.gmail.com"
 type="cite">Multiref is not supported in document/literal messages.
(The multirefs
  <br>
would not conform to the literal schema unless the schema explicitly
  <br>
defines the use of multirefs.)
  <br>
  <br>
In order to use multirefs, you must use RPC/encoded. Axis2 does not
  <br>
support RPC/encoded. Try Axis 1.x.
  <br>
  <br>
Anne
  <br>
  <br>
  <br>
On 4/4/07, Patrick Houbaux <a class="moz-txt-link-rfc2396E" href="mailto:patrick.houbaux@eurostep.com">&lt;patrick.houbaux@eurostep.com&gt;</a>
wrote:
  <br>
  <blockquote type="cite"><br>
&nbsp;Hi all,
    <br>
    <br>
&nbsp;I'm currently using axis2-1.2-RC2 and I notice the same following
things
    <br>
with axis2-1.1.1.
    <br>
    <br>
&nbsp;I have a wsdl from which I'm generating the server side skeleton and
the
    <br>
client side stub using ADB.
    <br>
&nbsp;In the service definition I have a method that returns the following
when
    <br>
invoked:
    <br>
    <br>
&nbsp;&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    <br>
&nbsp;&lt;soapenv:Envelope
    <br>
xmlns:soapenv=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;soapenv:Body&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ns3:getPLMObjectOut
xmlns:ns3=<a class="moz-txt-link-rfc2396E" href="http://www.plcs.org/Message">"http://www.plcs.org/Message"</a>&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ns3:items
    <br>
xmlns:s21=<a class="moz-txt-link-rfc2396E" href="http://www.plcs.org/PLMServices/Types">"http://www.plcs.org/PLMServices/Types"</a>
    <br>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
    <br>
xsi:type="s21:Part"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s21:id&gt;X001&lt;/s21:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s21:name&gt;Part1&lt;/s21:name&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s21:description&gt;Part #1&lt;/s21:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ns3:items&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ns3:items
    <br>
xmlns:s22=<a class="moz-txt-link-rfc2396E" href="http://www.plcs.org/PLMServices/Types">"http://www.plcs.org/PLMServices/Types"</a>
    <br>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
    <br>
xsi:type="s22:Product_as_individual"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s22:id&gt;X002&lt;/s22:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s22:name&gt;PAI1&lt;/s22:name&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s22:description&gt;PAI #1&lt;/s22:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ns3:items&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ns3:items
    <br>
xmlns:s23=<a class="moz-txt-link-rfc2396E" href="http://www.plcs.org/PLMServices/Types">"http://www.plcs.org/PLMServices/Types"</a>
    <br>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
    <br>
xsi:type="s23:Part_version"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s23:id&gt;X003&lt;/s23:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s23:description&gt;PARTV
#1&lt;/s23:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s23:of_product xsi:type="s23:Part"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s23:id&gt;X001&lt;/s23:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s23:name&gt;Part1&lt;/s23:name&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s23:description&gt;Part
#1&lt;/s23:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/s23:of_product&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ns3:items&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ns3:items
    <br>
xmlns:s24=<a class="moz-txt-link-rfc2396E" href="http://www.plcs.org/PLMServices/Types">"http://www.plcs.org/PLMServices/Types"</a>
    <br>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
    <br>
xsi:type="s24:Product_as_planned"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s24:id&gt;X005&lt;/s24:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s24:description&gt;PAP #1&lt;/s24:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s24:of_product
    <br>
xsi:type="s24:Product_as_individual"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s24:id&gt;X002&lt;/s24:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s24:name&gt;PAI1&lt;/s24:name&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s24:description&gt;PAI
#1&lt;/s24:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/s24:of_product&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ns3:items&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ns3:items
    <br>
xmlns:s25=<a class="moz-txt-link-rfc2396E" href="http://www.plcs.org/PLMServices/Types">"http://www.plcs.org/PLMServices/Types"</a>
    <br>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
    <br>
xsi:type="s25:Product_as_realized"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s25:id&gt;X006&lt;/s25:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s25:description&gt;PAR #1&lt;/s25:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s25:of_product
    <br>
xsi:type="s25:Product_as_individual"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s25:id&gt;X002&lt;/s25:id&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s25:name&gt;PAI1&lt;/s25:name&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;s25:description&gt;PAI
#1&lt;/s25:description&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/s25:of_product&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ns3:items&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ns3:getPLMObjectOut&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/soapenv:Body&gt;
    <br>
&nbsp;&lt;/soapenv:Envelope&gt;
    <br>
    <br>
&nbsp;According to my server business logic implementation all elements
    <br>
&lt;sXX:of_product
    <br>
xsi:type="sYY:Product_as_individual"&gt;..&lt;/sXX:of_product&gt;
    <br>
should be pointing to the same instance of the type
"Product_as_individual".
    <br>
    <br>
&nbsp;How do I force the server to return multiref messages (assuming that
this
    <br>
is going to respond a shorter message with all the of_product elements
    <br>
referring to only instance of "Product_as_individual")?
    <br>
    <br>
&nbsp;Cheers,
    <br>
&nbsp;Patrick.
    <br>
    <br>
---------------------------------------------------------------------
    <br>
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:axis-user-unsubscribe@ws.apache.org">axis-user-unsubscribe@ws.apache.org</a>
    <br>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:axis-user-help@ws.apache.org">axis-user-help@ws.apache.org</a>
    <br>
  </blockquote>
  <br>
---------------------------------------------------------------------
  <br>
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:axis-user-unsubscribe@ws.apache.org">axis-user-unsubscribe@ws.apache.org</a>
  <br>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:axis-user-help@ws.apache.org">axis-user-help@ws.apache.org</a>
  <br>
  <br>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div style="font-family: tahoma; font-size: small;"></div>
<div style="font-family: Courier New; font-size: small;">
------------------------------------------------------------------<br>
| <b>Patrick Houbaux</b><br>
| Senior Consultant<br>
| Eurostep AB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email:
<a class="moz-txt-link-abbreviated" href="mailto:patrick.houbaux@eurostep.com">patrick.houbaux@eurostep.com</a><br>
| Drottninggatan 68&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mobile: +33
611 192 943<br>
| SE-111 21 Stockholm&nbsp;&nbsp;&nbsp;&nbsp;Fax: +46 (0) 8-200 399<br>
| Sweden&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;URL:
<a class="moz-txt-link-freetext" href="http://www.eurostep.com">http://www.eurostep.com</a><br>
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skype
name: phoubaux<br>
| Home address: <br>
| BAT A11 <br>
| 12 Rue de Paris <br>
| F-78560 Le Port-Marly<br>
| France<br>
-------------------------------------------------------------------<br>
</div>
</div>
</body>
<!--[object_id=#eurostep.com#]--><P align=left><FONT size=2><FONT face=Tahoma
color=#0000ff size=1>This message contains information that may be privileged or confidential
and is the property of Eurostep Group. It is intended only for the person to whom it is addressed.
If you are not the intended recipient, you are not authorized to read, print, retain, copy,
disseminate, distribute, or use this message or any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this message.</FONT></P></FONT></html>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message