Re: please, help with "no deserializer found ..." message

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <218001c4c661$1705a5f0$6401a8c0@northgate>
When a service uses the RPC API, the SOAP request is parsed into parameters for the service method call.  Each parameter has a Java type specified by the method signature.  Apache SOAP normally uses the XML Schema type of an element in the request to determine the Java type of the parameter using a type map defined in the Apache SOAP code, but which the programmer can also extend.  In your case, the parameters do not have an XML Schema type specified, so Apache SOAP uses the element name instead.  However, you have not specified a mapping for this type.  For the service, Apache SOAP type mapping are specified in the deployment descriptor.

The Apache SOAP 2.3.1 documentation for type mapping is at http://ws.apache.org/soap/docs/guide/serializer.html.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Vladimir Brezhnev" <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 09, 2004 5:31 AM
Subject: please, help with "no deserializer found ..." message


> Hello soap-user,
> 
>   I have this deployment (it's an Ericsson MMC emulator):
>   <?xml version="1.0"?>
>   <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
>     id="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2">
>       <isd:provider type="java"
>                     scope="Application"
>         methods="SubmitReq CancelReq">
>         <isd:java class="com.ericsson.services.mms.sdk.vasp.samples.sim.MMCRelay"
>                          static="false"/>
>       </isd:provider>
>       <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
>   </isd:service>
> 
>   
>   After deploying of this deployment i try to use it, but
>   i get such message:
>     No Deserializer found to deserialize a 'http://www.3gpp.org/ftp/Specs/ar
>      chive/23_series/23.140/schema/REL-5-MM7-1-2:mm7:MM7Version' using encoding style 'htt
>      p://schemas.xmlsoap.org/soap/encoding/'
> 
> 
>      
>   SOAP message which i try to send:
> "<?xml      version='1.0'     encoding='UTF-8'?>     <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">        <SOAP-ENV:Header>
> <mm7:TransactionID
> xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2"
> SOAP-ENV:mustUnderstand="1">e2e150bc2a53433f</mm7:TransactionID>
> </SOAP-ENV:Header>            <SOAP-ENV:Body>           <mm7:SubmitReq
> xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2"><mm7:MM7Version>5.3.0</mm7:MM7Version><mm7:SenderIdentification><mm7:VASPID>VASP_TEST</mm7:VASPID><mm7:VASID>VAS_TEST</mm7:VASID><mm7:SenderAddress><mm7:Number>123456</mm7:Number></mm7:SenderAddress></mm7:SenderIdentification><mm7:Recipients><mm7:To><mm7:Number>15166771001</mm7:Number></mm7:To></mm7:Recipients><mm7:MessageClass>Advertisement</mm7:MessageClass><mm7:ExpiryDate>P1D</mm7:ExpiryDate><mm7:DeliveryReport>false</mm7:DeliveryReport><mm7:ReadReply>false</mm7:ReadReply><mm7:Priority>Normal</mm7:Priority><mm7:Subject>Check
> this    out    ---</mm7:Subject><mm7:Content   allowAdaptations="true"
> href="cid:mlogo_117x49.gif"/></mm7:SubmitReq>
> <ericMm7:EricssonSubmitReq
> xmlns:ericMm7="REL-5-MM7-1-1-ericsson.xsd"><ericMm7:FreeText>Free
> text</ericMm7:FreeText><ericMm7:SenderVisibility>true</ericMm7:SenderVisibility></ericMm7:EricssonSubmitReq>
> </SOAP-ENV:Body> </SOAP-ENV:Envelope>"
> 
> 
> 
>   
> 
> -- 
> Best regards,
>  Vladimir                          mailto:[email protected]
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.