Results 1 to 3 of 3

Thread: WSDL api error

  1. #1
    SanderSoulwax is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default WSDL api error

    Hi,

    After developing an iPhone application for a certain company, they now want an Android application as well. For this we use an API that uses wsdl to create the needed classes in Java, and with them we request the wanted data.

    This works all perfectly in the iPhone application, but for some reason not in the Android application. And we're practicly doing exactly the same thing in both apps.. The response we get in android is constantly that the service/procedure doesn't exist.

    Java Code:
    07-26 14:47:36.528: ERROR/faultstring(840): Procedure 'getTopLocations' not present
    And this is the httpresponse we get:
    Java Code:
    07-26 14:47:36.528: ERROR/httpresponse(840): http://apidev.wepowder.com/soap/endpoint/0.6
    07-26 14:47:36.528: ERROR/httpresponse(840): Content-Type: text/xml; charset=utf-8
    07-26 14:47:36.528: ERROR/httpresponse(840): User-Agent: neurospeech.wsclient.android
    07-26 14:47:36.528: ERROR/httpresponse(840): SOAPAction: getTopLocations
    07-26 14:47:36.528: ERROR/httpresponse(840): 
    07-26 14:47:36.528: ERROR/httpresponse(840): <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/soap/envelope/"><soap12:Body><getTopLocations xmlns="http://api.wepowder.com/"/></soap12:Body></soap12:Envelope>
    Does anybody have any idea why this does work in the iPhone application, but not in the Android application?

    Thanks in advance!

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    Is this a Java Applet class problem?

  3. #3
    SanderSoulwax is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default

    Well.. no? I guess? I'm fairly new to Java, so I didn't really know where it should be posted..

Similar Threads

  1. Is new WSDL required ?
    By kcjava in forum Advanced Java
    Replies: 2
    Last Post: 01-04-2011, 06:36 PM
  2. Problems while generating wsdl
    By RBNSN in forum Web Frameworks
    Replies: 2
    Last Post: 10-20-2010, 09:48 AM
  3. How to create XSD from WSDL using IDE
    By rarchana24 in forum Eclipse
    Replies: 2
    Last Post: 09-12-2010, 10:09 AM
  4. Web Service from WSDL & XMLGregorianCalendar Issues
    By CoAstroGeek in forum NetBeans
    Replies: 2
    Last Post: 01-23-2010, 04:23 PM
  5. connecting to a wsdl on localhost
    By david99world in forum Eclipse
    Replies: 0
    Last Post: 01-23-2009, 10:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •