0 Replies Latest reply on Jul 20, 2005 10:17 AM by christy

    Help!Error: org.uddi4j.transport.TransportException

    christy

      Hello,
      I wanted to publish a business in IBM Test Registry, I used uddi4j. But I have such error:

      TransportFactory: Using transport name:org.uddi4j.transport.ApacheSOAPTransport

      Request body:
      <get_authToken cred="23051984" generic="2.0" userID="christy@meteo.ru" xmlns="urn:uddi-org:api_v2"/>

      org.uddi4j.transport.TransportException: Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
      &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;
      Redirection&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;H1&gt;Redirection&lt;/H1&gt;This document can be found&lt;A HREF=&quot;http://www-306.ibm.com/software/solutions/webservices/uddi/">elsewhere.</A><P>You see this message because your browser does not support automatic redirection handling. &lt;P&gt;&lt;HR&gt;&lt;ADDRESS&gt;&lt;A HREF=&quot;/&quot;&gt;Back to home&lt;/A&gt;&lt;/ADDRESS&gt;&lt;/body&gt;
      &lt;/html&gt;

      at org.uddi4j.transport.ApacheSOAPTransport.send(ApacheSOAPTransport.java:100)
      at org.uddi4j.transport.TransportBase.send(TransportBase.java:53)
      at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1780)
      at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1459)
      at PublishInIBM.run(PublishInIBM.java:54)
      at PublishInIBM.main(PublishInIBM.java:32)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

      Nested exception:
      [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
      &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;
      Redirection&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;H1&gt;Redirection&lt;/H1&gt;This document can be found&lt;A HREF=&quot;http://www-306.ibm.com/software/solutions/webservices/uddi/">elsewhere.</A><P>You see this message because your browser does not support automatic redirection handling. &lt;P&gt;&lt;HR&gt;&lt;ADDRESS&gt;&lt;A HREF=&quot;/&quot;&gt;Back to home&lt;/A&gt;&lt;/ADDRESS&gt;&lt;/body&gt;
      &lt;/html&gt;
      ]
      at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
      at org.apache.soap.messaging.Message.receiveEnvelope(Message.java:144)
      at org.uddi4j.transport.ApacheSOAPTransport.send(ApacheSOAPTransport.java:91)
      at org.uddi4j.transport.TransportBase.send(TransportBase.java:53)
      at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1780)
      at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1459)
      at PublishInIBM.run(PublishInIBM.java:54)
      at PublishInIBM.main(PublishInIBM.java:32)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
      --------------------------------------------------------------
      Does someone know what it can be?
      Thank you.
      Kristina