[jboss-user] [JBossWS] - Re: Juddi broken on 4.2.1 + 4.2.2
jkurtz_wa
do-not-reply at jboss.com
Fri Feb 1 18:06:55 EST 2008
I got Juddi version 2.0 working on JBoss 4.2.2. I created a new server instance and am connecting with an Oracle Database.
I am now striving to publish to the UDDI registry. Something has changed with the new version of jUDDI that requires the BusinessQueryManager to accept only SOAP messages instead of strings. This effectively breaks the example at
http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIExample
============
This is how it breaks now
When the following is called on a BusinessQueryManager object
businessQueryManager.getRegistryObject("some String", LifeCycleManager.CLASSIFICATION_SCHEME);
the following error occurs:
Cannot unmarshall SOAPMessage
javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=utf-8
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:248)
at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:84)
at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:502)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:306)
at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:136)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:183)
at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:106)
at org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:66)
at org.jboss.jaxr.juddi.transport.SaajTransport.send(SaajTransport.java:81)
at org.apache.juddi.proxy.RegistryProxy.execute(RegistryProxy.java:368)
at org.apache.juddi.AbstractRegistry.getTModelDetail(AbstractRegistry.java:547)
at org.apache.juddi.AbstractRegistry.getTModelDetail(AbstractRegistry.java:532)
at org.apache.ws.scout.registry.BusinessQueryManagerImpl.getRegistryObject(BusinessQueryManagerImpl.java:681)
at com.boeing.pw.uddi.publisher.WSDLConverter.(WSDLConverter.java:59)
at com.boeing.pw.uddi.publisher.RegConnectionFactory.createOrganization(RegConnectionFactory.java:106)
at com.boeing.pw.uddi.publisher.WSDLPublisher.init(WSDLPublisher.java:108)
at com.boeing.pw.uddi.test.TestMain.testPublisher(TestMain.java:63)
at com.boeing.pw.uddi.test.TestMain.main(TestMain.java:21)
- Exception::
javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:115)
at org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:66)
at org.jboss.jaxr.juddi.transport.SaajTransport.send(SaajTransport.java:81)
at org.apache.juddi.proxy.RegistryProxy.execute(RegistryProxy.java:368)
at org.apache.juddi.AbstractRegistry.getTModelDetail(AbstractRegistry.java:547)
at org.apache.juddi.AbstractRegistry.getTModelDetail(AbstractRegistry.java:532)
at org.apache.ws.scout.registry.BusinessQueryManagerImpl.getRegistryObject(BusinessQueryManagerImpl.java:681)
at com.boeing.pw.uddi.publisher.WSDLConverter.(WSDLConverter.java:59)
at com.boeing.pw.uddi.publisher.RegConnectionFactory.createOrganization(RegConnectionFactory.java:106)
at com.boeing.pw.uddi.publisher.WSDLPublisher.init(WSDLPublisher.java:108)
at com.boeing.pw.uddi.test.TestMain.testPublisher(TestMain.java:63)
at com.boeing.pw.uddi.test.TestMain.main(TestMain.java:21)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125696#4125696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125696
More information about the jboss-user
mailing list