Giter Club home page Giter Club logo

ksoap2-android's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ksoap2-android's Issues

Unexpected wrapper element

I'm soap for billing api.
WSDL URL : http://94.206.70.106:8181/cxf/services/UnifiedPartner?wsdl
My request is :

<?xml version="1.0" encoding="UTF-8"?>
<v:Envelope xmlns:v="http://schemas.xmlsoap.org/soap/envelope/" xmlns:c="http://schemas.xmlsoap.org/soap/encoding/" xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
   <v:Header />
   <v:Body>
      <purchaseConsumeProduct xmlns="https://94.206.70.106:8181/">
       <userId>97XXXXXXX</userId>
         <serviceId>S-KXXXXX</serviceId>
         <premiumResourceType>MP-xxx-xx-xxxx-Sub-B2-D-xx</premiumResourceType>
         <productId>Daily MAP Test Sub V2 IN</productId>
         <purchaseMetas>
            <key>du:assetDescription</key>    
            <value>Subscription</value>
         </purchaseMetas>
         <!--Zero or more repetitions:-->
         <billingMetas>
            <key>du:assetID</key>
            <value>-</value>
         </billingMetas>
           <billingMetas>
            <key>du:contentType</key>
            <value>mobileApp</value>
         </billingMetas>
         <billingMetas>
            <key>du:channel</key>
            <value>COMMERCE_API</value>
         </billingMetas>
         <!--Zero or more repetitions:-->
         <usageMetas>
            <key>du:externalid</key>
            <value>S-XXXXXX</value>
         </usageMetas>
      </purchaseConsumeProduct>
   </v:Body>
</v:Envelope>

But they need like below

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.api.sdp.ericsson.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:purchaseConsumeProduct>//Method name
         <userId>97XXXXXXX</userId>
         <serviceId>S-KXXXXX</serviceId>
         <premiumResourceType>MP-xxx-xx-xxxx-Sub-B2-D-xx</premiumResourceType>
         <productId>Daily MAP Test Sub V2 IN</productId>
         <purchaseMetas>
            <key>du:assetDescription</key>    
            <value>Subscription</value>
         </purchaseMetas>
         <!--Zero or more repetitions:-->
         <billingMetas>
            <key>du:assetID</key>
            <value>-</value>
         </billingMetas>
           <billingMetas>
            <key>du:contentType</key>
            <value>mobileApp</value>
         </billingMetas>
         <billingMetas>
            <key>du:channel</key>
            <value>COMMERCE_API</value>
         </billingMetas>
         <!--Zero or more repetitions:-->
         <usageMetas>
            <key>du:externalid</key>
            <value>S-XXXXXX</value>
         </usageMetas>
      </ws:purchaseConsumeProduct>
   </soapenv:Body>
</soapenv:Envelope>

How i can achieve above request with Ksoap.I have tried lots of way but not got any success.
Please help me here.

Build fails

On clean checkout as of today doing a mvn clean install results in two test failures.

testFaultDeserialize(org.ksoap2.SoapFaultTest)
testFaultSerialize(org.ksoap2.SoapFaultTest)

let me know if you need more details.

HTTP status 400 under 3G

Background: The client bought a Galaxy S III mini (GT-I8190L), using Android 4.1.2, and wants to run his app... the app connects to a tomcat server which serves soap 1.1.

Under wireless everything goes smoothly, but under 3G the HTTP status 400 is returned, as if java.net.HttpURLConnection simply didn't like the request.
Wrote a few tests with GET method and POST method, both work under wifi, but POST fails with 3G...
I didn't test SSL, but I think google messed it up too.

So, that's the bomb. How do we solve it? I'm out of ideas.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.