You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Frederik Santens <Fr...@tectrade.net> on 2002/04/05 12:16:30 UTC

multireference types

Hello,

Does apache soap support multirefence types?
if it does, can anybody help out here!!

thx a lot,

Frederik


SOAP RESPONSE FROM SOAP MS SERVER
---------------------------------

<?xml version="1.0" encoding="utf-8" ?> 

<soap:Envelope 	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
	
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

			xmlns:tns="http://tectrade.net/helloworld/" 
			xmlns:types="http://tectrade.net/helloworld/" 
	
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
			xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

   <types:GetMethodNameResponse>

  	<GetMethodNameResult href="#id1" /> 

   </types:GetMethodNameResponse>

   <soapenc:Array id="id1" soapenc:arrayType="xsd:int[5]">

  	<Item>0</Item> 

  	<Item>1</Item> 

  	<Item>8</Item> 

  	<Item>27</Item> 

  	<Item>64</Item> 

  </soapenc:Array>

 </soap:Body>

</soap:Envelope>

SOAP ERROR JAVA CLIENT
-----------------------

No Deserializer found to deserialize a ':GetMethodNameResult' using
encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Deserializer
found to deserialize a ':GetMethodNameResult' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.]




Re: multireference types

Posted by Scott Nichol <sc...@yahoo.com>.
I do not know whether href's are supported by Apache SOAP.  There is a
workaround for the error you are getting.  Point your browser to the Apache SOAP
docs, pick User's Guide, then pick Interoperability.  In a section titled "SOAP
Problems", there is a description of the workaround for "Depending on xsi:type".

Scott Nichol

----- Original Message -----
From: "Frederik Santens" <Fr...@tectrade.net>
To: <so...@xml.apache.org>
Sent: Friday, April 05, 2002 5:16 AM
Subject: multireference types


Hello,

Does apache soap support multirefence types?
if it does, can anybody help out here!!

thx a lot,

Frederik


SOAP RESPONSE FROM SOAP MS SERVER
---------------------------------

<?xml version="1.0" encoding="utf-8" ?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:tns="http://tectrade.net/helloworld/"
xmlns:types="http://tectrade.net/helloworld/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

   <types:GetMethodNameResponse>

  <GetMethodNameResult href="#id1" />

   </types:GetMethodNameResponse>

   <soapenc:Array id="id1" soapenc:arrayType="xsd:int[5]">

  <Item>0</Item>

  <Item>1</Item>

  <Item>8</Item>

  <Item>27</Item>

  <Item>64</Item>

  </soapenc:Array>

 </soap:Body>

</soap:Envelope>

SOAP ERROR JAVA CLIENT
-----------------------

No Deserializer found to deserialize a ':GetMethodNameResult' using
encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Deserializer
found to deserialize a ':GetMethodNameResult' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.]




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Re: multireference types

Posted by Scott Nichol <sc...@yahoo.com>.
I do not know whether href's are supported by Apache SOAP.  There is a
workaround for the error you are getting.  Point your browser to the Apache SOAP
docs, pick User's Guide, then pick Interoperability.  In a section titled "SOAP
Problems", there is a description of the workaround for "Depending on xsi:type".

Scott Nichol

----- Original Message -----
From: "Frederik Santens" <Fr...@tectrade.net>
To: <so...@xml.apache.org>
Sent: Friday, April 05, 2002 5:16 AM
Subject: multireference types


Hello,

Does apache soap support multirefence types?
if it does, can anybody help out here!!

thx a lot,

Frederik


SOAP RESPONSE FROM SOAP MS SERVER
---------------------------------

<?xml version="1.0" encoding="utf-8" ?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:tns="http://tectrade.net/helloworld/"
xmlns:types="http://tectrade.net/helloworld/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

   <types:GetMethodNameResponse>

  <GetMethodNameResult href="#id1" />

   </types:GetMethodNameResponse>

   <soapenc:Array id="id1" soapenc:arrayType="xsd:int[5]">

  <Item>0</Item>

  <Item>1</Item>

  <Item>8</Item>

  <Item>27</Item>

  <Item>64</Item>

  </soapenc:Array>

 </soap:Body>

</soap:Envelope>

SOAP ERROR JAVA CLIENT
-----------------------

No Deserializer found to deserialize a ':GetMethodNameResult' using
encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Deserializer
found to deserialize a ':GetMethodNameResult' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.]




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com