Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1706

SOAPConnection.get fails with ProtocolException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.0
    • None
    • None
    • None

      Caused by: java.net.ProtocolException: cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:838)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:916)
      at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
      at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:314)
      ... 28 more

              tdiesler@redhat.com Thomas Diesler
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: