Help!Error: org.uddi4j.transport.TransportException
christy Jul 20, 2005 10:17 AMHello,
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 "text/html", must be: "text/xml". Response was:
<html>
<head>
<title>
Redirection</title>
</head>
<body>
<H1>Redirection</H1>This document can be found<A HREF="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. <P><HR><ADDRESS><A HREF="/">Back to home</A></ADDRESS></body>
</html>
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 "text/html", must be: "text/xml". Response was:
<html>
<head>
<title>
Redirection</title>
</head>
<body>
<H1>Redirection</H1>This document can be found<A HREF="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. <P><HR><ADDRESS><A HREF="/">Back to home</A></ADDRESS></body>
</html>
]
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