You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Christian Landbo (Presys A/S)" <la...@presys.dk> on 2004/03/11 15:47:36 UTC

Getting tagname incl. namespace pointer mixed up with name of element -> No deserializer found...

I'm sorry if this has been asked before. I searched the archives for answers
to this but could not find any.
I am new to SOAP but would be surprised if this has not been asked before -
but here goes:

Im using Apache soap version 2.3.1

I have a deserializer mapped to 'someNs:login' but when my Apache SOAP web
service receives the envelope below it reports that a deserializer can't be
found for 'someNs:mrns0:login'. It includes the namespace 'pointer' in the
final soapType.

In the unmarshall(...) method of
org.apache.soap.encoding.soapenc.ParameterSerializer
It says:
    String name = paramEl.getTagName();      -- this is 'mrns0:login'

Ought it not be:
    String name = paramEl.getLocalName();    -- this is only 'login'

Enclosed envelope:

<soap:Envelope
    xmlns:mrns0="someNs"
    xmlns:mrns1="someNs:service"
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <mrns1:login>
         <mrns0:login>
            <mrns0:att1 xsi:type="mrns0:cvrtype"></mrns0:att1>
            <mrns0:att2 xsi:type="mrns0:pnumbertype"></mrns0:att2>
         </mrns0:login>
      </mrns1:login>
   </soap:Body>
</soap:Envelope>

/Chr


Re: how to unsubscribe from this email list

Posted by easter <ea...@free.fr>.
I think it's not possible.
I've tried several times using the instructions on the Soap web site, 
but still I never get removed.
You can always tag it as Spam using your mail filters...

:(


manishi tuli wrote:

> plz can any body tell me , how to unsubscribe from this email list
> thanks
> mt
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Search - Find what you’re looking for faster. 
> <http://search.yahoo.com/?fr=ad-mailsig-home> 




how to unsubscribe from this email list

Posted by manishi tuli <ma...@yahoo.com>.
plz can any body tell me , how to unsubscribe from this email list
thanks
 
mt


---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster.

Re: Getting tagname incl. namespace pointer mixed up with name of element -> No deserializer found...

Posted by Scott Nichol <sn...@scottnichol.com>.
Yes, but I cannot promise when.

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: "Christian Landbo (Presys A/S)" <la...@presys.dk>
To: <so...@ws.apache.org>
Sent: Thursday, March 11, 2004 10:24 AM
Subject: Re: Getting tagname incl. namespace pointer mixed up with name of element -> No deserializer found...


Thanks.

Will there ever be new releases from Apache SOAP?

/Chr

----- Original Message ----- 
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@ws.apache.org>
Sent: Thursday, March 11, 2004 3:54 PM
Subject: Re: Getting tagname incl. namespace pointer mixed up with name of
element -> No deserializer found...


> The current CVS revision has this code
>
>     String name = paramEl.getLocalName();
>
>     if (name == null)
>       name = paramEl.getTagName();
>
> 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: "Christian Landbo (Presys A/S)" <la...@presys.dk>
> To: <so...@ws.apache.org>
> Sent: Thursday, March 11, 2004 9:47 AM
> Subject: Getting tagname incl. namespace pointer mixed up with name of
element -> No deserializer found...
>
>
> I'm sorry if this has been asked before. I searched the archives for
answers
> to this but could not find any.
> I am new to SOAP but would be surprised if this has not been asked
before -
> but here goes:
>
> Im using Apache soap version 2.3.1
>
> I have a deserializer mapped to 'someNs:login' but when my Apache SOAP web
> service receives the envelope below it reports that a deserializer can't
be
> found for 'someNs:mrns0:login'. It includes the namespace 'pointer' in the
> final soapType.
>
> In the unmarshall(...) method of
> org.apache.soap.encoding.soapenc.ParameterSerializer
> It says:
>     String name = paramEl.getTagName();      -- this is 'mrns0:login'
>
> Ought it not be:
>     String name = paramEl.getLocalName();    -- this is only 'login'
>
> Enclosed envelope:
>
> <soap:Envelope
>     xmlns:mrns0="someNs"
>     xmlns:mrns1="someNs:service"
>     xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>     xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <soap:Body
> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>       <mrns1:login>
>          <mrns0:login>
>             <mrns0:att1 xsi:type="mrns0:cvrtype"></mrns0:att1>
>             <mrns0:att2 xsi:type="mrns0:pnumbertype"></mrns0:att2>
>          </mrns0:login>
>       </mrns1:login>
>    </soap:Body>
> </soap:Envelope>
>
> /Chr
>
>



Re: Getting tagname incl. namespace pointer mixed up with name of element -> No deserializer found...

Posted by "Christian Landbo (Presys A/S)" <la...@presys.dk>.
Thanks.

Will there ever be new releases from Apache SOAP?

/Chr

----- Original Message ----- 
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@ws.apache.org>
Sent: Thursday, March 11, 2004 3:54 PM
Subject: Re: Getting tagname incl. namespace pointer mixed up with name of
element -> No deserializer found...


> The current CVS revision has this code
>
>     String name = paramEl.getLocalName();
>
>     if (name == null)
>       name = paramEl.getTagName();
>
> 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: "Christian Landbo (Presys A/S)" <la...@presys.dk>
> To: <so...@ws.apache.org>
> Sent: Thursday, March 11, 2004 9:47 AM
> Subject: Getting tagname incl. namespace pointer mixed up with name of
element -> No deserializer found...
>
>
> I'm sorry if this has been asked before. I searched the archives for
answers
> to this but could not find any.
> I am new to SOAP but would be surprised if this has not been asked
before -
> but here goes:
>
> Im using Apache soap version 2.3.1
>
> I have a deserializer mapped to 'someNs:login' but when my Apache SOAP web
> service receives the envelope below it reports that a deserializer can't
be
> found for 'someNs:mrns0:login'. It includes the namespace 'pointer' in the
> final soapType.
>
> In the unmarshall(...) method of
> org.apache.soap.encoding.soapenc.ParameterSerializer
> It says:
>     String name = paramEl.getTagName();      -- this is 'mrns0:login'
>
> Ought it not be:
>     String name = paramEl.getLocalName();    -- this is only 'login'
>
> Enclosed envelope:
>
> <soap:Envelope
>     xmlns:mrns0="someNs"
>     xmlns:mrns1="someNs:service"
>     xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>     xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <soap:Body
> soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>       <mrns1:login>
>          <mrns0:login>
>             <mrns0:att1 xsi:type="mrns0:cvrtype"></mrns0:att1>
>             <mrns0:att2 xsi:type="mrns0:pnumbertype"></mrns0:att2>
>          </mrns0:login>
>       </mrns1:login>
>    </soap:Body>
> </soap:Envelope>
>
> /Chr
>
>


Re: Getting tagname incl. namespace pointer mixed up with name of element -> No deserializer found...

Posted by Scott Nichol <sn...@scottnichol.com>.
The current CVS revision has this code

    String name = paramEl.getLocalName();

    if (name == null)
      name = paramEl.getTagName();

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: "Christian Landbo (Presys A/S)" <la...@presys.dk>
To: <so...@ws.apache.org>
Sent: Thursday, March 11, 2004 9:47 AM
Subject: Getting tagname incl. namespace pointer mixed up with name of element -> No deserializer found...


I'm sorry if this has been asked before. I searched the archives for answers
to this but could not find any.
I am new to SOAP but would be surprised if this has not been asked before -
but here goes:

Im using Apache soap version 2.3.1

I have a deserializer mapped to 'someNs:login' but when my Apache SOAP web
service receives the envelope below it reports that a deserializer can't be
found for 'someNs:mrns0:login'. It includes the namespace 'pointer' in the
final soapType.

In the unmarshall(...) method of
org.apache.soap.encoding.soapenc.ParameterSerializer
It says:
    String name = paramEl.getTagName();      -- this is 'mrns0:login'

Ought it not be:
    String name = paramEl.getLocalName();    -- this is only 'login'

Enclosed envelope:

<soap:Envelope
    xmlns:mrns0="someNs"
    xmlns:mrns1="someNs:service"
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Body
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <mrns1:login>
         <mrns0:login>
            <mrns0:att1 xsi:type="mrns0:cvrtype"></mrns0:att1>
            <mrns0:att2 xsi:type="mrns0:pnumbertype"></mrns0:att2>
         </mrns0:login>
      </mrns1:login>
   </soap:Body>
</soap:Envelope>

/Chr