Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How to remove the v in "<v:Envelope" tag
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
salem  
View profile  
 More options Feb 14, 6:30 pm
From: salem <salemsa...@gmail.com>
Date: Tue, 14 Feb 2012 15:30:11 -0800 (PST)
Local: Tues, Feb 14 2012 6:30 pm
Subject: How to remove the v in "<v:Envelope" tag
This is probably a silly question but I"m trying to send a soap
request to our server using ksoap2 on android and I'm coming across a
bump. My outgoing request looks like the following:

<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://
schemas.xmlsoap.org/soap/envelope/">

  <v:Header>
      <n0:BasicAuth xmlns:n0="http://serveraddress">
         <n0:Name>user</n0:Name>
         <n0:Password>user</n0:Password>
      </n0:BasicAuth>
 </v:Header>

 <v:Body>
      <n1:Listinfo id="o0" c:root="1" xmlns:n1="http://serveraddress">
               <creatorId i:type="d:string">admin</creatorId>
       </n1:Listinfo>
  < /v:Body>
</v:Envelope>

The problem that I'm coming across is that the server that I'm
requesting this from does not recognize/accept the "v:" element in the
tags.  If I test with soapui and switch out "v:" with "soapenv:" the
request gets accepted and I get a proper return.  I'm wondering if
there is a way to change that value or do I need to write the request
manually in the code?

Thank you

Salem


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
salem  
View profile  
 More options Feb 15, 1:32 pm
From: salem <salemsa...@gmail.com>
Date: Wed, 15 Feb 2012 10:32:11 -0800 (PST)
Local: Wed, Feb 15 2012 1:32 pm
Subject: Re: How to remove the v in "<v:Envelope" tag
Update:

After looking further into the issue. It appears that the server only
cares about the body tag not the envelope tag.  so now I'm trying to
find a way to change the output request to send <soap:body> rather
then <v:body>

On Feb 14, 4:30 pm, salem <salemsa...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "How to remove the v in "<v:Envelope" tag - FIXED with code alteration" by salem
salem  
View profile  
 More options Feb 16, 9:54 am
From: salem <salemsa...@gmail.com>
Date: Thu, 16 Feb 2012 06:54:38 -0800 (PST)
Local: Thurs, Feb 16 2012 9:54 am
Subject: Re: How to remove the v in "<v:Envelope" tag - FIXED with code alteration
So after a few days of looking around it appears that there is no
built in ability that would allow me to change the <v:> to <soap:>.  I
went ahead and and downloaded the source and altered  the public void
write in SoapEnvelpe.java to use the value "soap" instead "v" and that
fixed my issue.  Is it possible to ask for this to be updated in your
next release?  It seemed like too minor of a change to go through the
process of pushing the change to github and having it added to the
branch :)

P.S. Thank you for making this available on android, it has been a
great asset

On Feb 15, 11:32 am, salem <salemsa...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manfred Moser  
View profile  
 More options Feb 16, 10:44 am
From: Manfred Moser <mosa...@gmail.com>
Date: Thu, 16 Feb 2012 07:44:06 -0800
Local: Thurs, Feb 16 2012 10:44 am
Subject: Re: [ksoap2-android] Re: How to remove the v in "<v:Envelope" tag - FIXED with code alteration
It would have to be made configurable via some sort of setting or so
on SoapEnvelope... and that warrants a pull request.

manfred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »