×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    6

    Unhappy HTTP 307 Issue while Accessing Web Service in PAMP

    Hi,

    Finally I managed to install PAMP and get the application working. I wrote a PHP application to access and manipulate the data in mysql and it is working fine.

    Then I created a PHP Web Service and deployed it on the phone. A local PHP client in PAMP (same folder as the web service) is able to consume the webservice successfully. But I am not able to access this web service in other external applications e.g Java.

    I am getting the below error:
    HTTP Status-Code 307: Temporary Redirect - Location:
    https://<mysite>.mymobilesite.net/php/<mypphpwebservice.php>; nested exception is: HTTP Status-Code 307:
    Temporary Redirect - Location: https://<mysite>.mymobilesite.net/php/<mypphpwebservice.php>

    Could you please suggest/explainme how to overcome this issue?

    Regards, Kathirvel

  2. #2
    Registered User
    Join Date
    Jul 2005
    Posts
    6

    Unhappy Re: HTTP 307 Issue while Accessing Web Service in PAMP

    Could some one please suggest any work arounds to expose web services from PAMP to external application?

    Your help is much appreciated.

    Regards, Kathirvel

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    47

    Re: HTTP 307 Issue while Accessing Web Service in PAMP

    Hi,

    Sounds like this has more to do with the settings of your client web service library, what web service framework are you using on the client?

    You should look for an setting to allow redirects. If the library does not support that you could set up a proxy server, a simple web app (on a server) that reads the incomming web service request, forwards it to the phone, reads the response and delivers that to the requestor.

    If you are generating client code from WSDL you would only have to modify the endpoint to point to the proxy.

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    6

    Re: HTTP 307 Issue while Accessing Web Service in PAMP

    Hi,

    I am using NuSOAP library for developing the PHP Web Service. One more thing, even within my local LAN, i am not able to consume this service.

    Regards, Kathirvel

Similar Threads

  1. Web service
    By HasithaRandika in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-01-30, 05:16
  2. MIDP 2.0 Web Service Access on Series 40 3rd Edition FP2 on NOKIA 3110 classic
    By ajitgokhale in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-07-26, 21:19
  3. Cannot find where the issue is, Bluetooth service discovery
    By newbietoprofessional in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-07-14, 16:39
  4. [Moved] Implement S60 program connect to web service using NetBean6
    By qiuhuek in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-04-12, 19:46

Posting Permissions

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