Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 5 of 5

Thread: "307 Temporary Redirect" error

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    13

    Default "307 Temporary Redirect" error

    I have a web service application in java build on axis1.4. Now I downloaded axis2 and added commons-codec-1.3.jar, Commons-httpclient-3.0.1.jar these two jars in classpath. I did the required changes for compressing SOAP request and response. I added client-config.wsdd in my project folder. But whenever I am calling the web service it gives me "307 Temporary Redirect" error.

    Can anyone help me resolve this?

    The code for client-config.wsdd is below -

    <?xml version="1.0" encoding="UTF-8"?>
    <deployment name="CommonsHTTPConfig" xmlns=http://xml.apache.org/axis/wsdd/ xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <transport name="http" pivot="javarg.apache.axis.transport.http.CommonsHTTPSender" />
    <transport name="local" pivot="javarg.apache.axis.transport.local.LocalSender" />
    <transport name="java" pivot="javarg.apache.axis.transport.java.JavaSender" /> </deployment>”

  2. #2
    Senior Member
    Join Date
    Sep 2008
    Posts
    115

    Default

    Did you ever get this working ok? I'm using the OOB Axis2 example for SM7.10, and getting that error when I'm running a command like:
    Code:
    RetrieveIncidentSample -host server_name -port 13080 -incidentId IM10041
    Code:
    C:\sm7webservices\Axis2Sample\bin>RetrieveIncidentSample -host server_name -port
    13080 -incidentId IM10041
    13/07/2009 13:48:05 org.apache.axis2.transport.http.HTTPSender sendViaPost
    INFO: Unable to sendViaPost to url[http://server_name:13080/SM/7/ws]
    org.apache.axis2.AxisFault: Transport error: 307 Error: Temporary Redirect
            at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
            at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
            at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
            at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
            at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
            at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
            at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
            at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
    Has anyone got the OOB samples working? I've managed to run 'ANT' and compile it successfully.

  3. #3
    Senior Member
    Join Date
    Sep 2008
    Posts
    115

    Default

    I've raised this with HP and they get the same error. Hopefully they come up with a fix.

  4. #4
    Junior Member
    Join Date
    Jun 2007
    Posts
    7

    Default Resolution?

    Did you get a resolution for this issue? Do you have an SCR or HP ID # for this issue?

  5. #5
    Junior Member
    Join Date
    Oct 2007
    Location
    Chicago
    Posts
    12

    Default

    Are you directing your application at a load balancer port? If so, try going directly against one of the servlet ports.

    Axis doesn't seem to like redirects very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

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