You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Krishnakumar B <kr...@mindtree.com> on 2003/05/05 08:09:18 UTC

Document style web service : Help

Hi
 
I am reposting my query. I have created a web service that takes as input
parameter a string and returns a Complex type.
This works if i set to RPC style but throws an exception if set to "wrapped".
 
I get the exception 
 
java.io.IOException: No serializer found for class DefaultNamespace.Address
in registry org.apache.axis.encoding.TypeMappingImpl@ca1a68
 
The WSDD has the beanmapping entry
<beanMapping xmlns:ns1="http://DefaultNamespace"
languageSpecificType="java:DefaultNamespace.Address" qname="ns1:Address"/>
 
Would be glad for any help as to how to fix this. I am stuck with this for
past 3 days.
 
Regards
Krishnakumar B
 
 
 
 


DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

Re: Document style web service : Help

Posted by remko de knikker <re...@yale.edu>.
I vaguely remember having the same error message. I was calling a 
message style service with response type Element[].
After adding a NameSpace to my input/request message and changing the 
type Element[] to Vector (in client) it was solved.
I am not sure if this helps. Please be more specific about your 
implementation (input message, method/operation signature etc).
r

Krishnakumar B wrote:

> Hi
>  
> I am reposting my query. I have created a web service that takes as 
> input parameter a string and returns a Complex type.
> This works if i set to RPC style but throws an exception if set to 
> "wrapped".
>  
> I get the exception
>  
> java.io.IOException: No serializer found for class 
> DefaultNamespace.Address in registry 
> org.apache.axis.encoding.TypeMappingImpl@ca1a68 
> <ma...@ca1a68>
>  
> The WSDD has the beanmapping entry
> <beanMapping xmlns:ns1="http://DefaultNamespace" 
> languageSpecificType="java:DefaultNamespace.Address" qname="ns1:Address"/>
>  
> Would be glad for any help as to how to fix this. I am stuck with this 
> for past 3 days.
>  
> Regards
> Krishnakumar B
>  
>  
>  
>  
>
> DISCLAIMER:
> This message (including attachment if any) is confidential and may be 
> privileged. Before opening attachments please check them for viruses 
> and defects. MindTree Consulting Private Limited (MindTree) will not 
> be responsible for any viruses or defects or any forwarded attachments 
> emanating either from within MindTree or outside. If you have received 
> this message by mistake please notify the sender by return e-mail and 
> delete this message from your system. Any unauthorized use or 
> dissemination of this message in whole or in part is strictly 
> prohibited. Please note that e-mails are susceptible to change and 
> MindTree shall not be liable for any improper, untimely or incomplete 
> transmission.
>