aspose file tools
The moose likes Web Services and the fly likes Exception when query the UDDI by JAXR Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Exception when query the UDDI by JAXR" Watch "Exception when query the UDDI by JAXR" New topic
Author

Exception when query the UDDI by JAXR

Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
Hi All,

I am now studying Web Service. When I tried to query UDDI by using JAXR, I got an exception. The UDDI is the ibm testing UDDI. The JAXR implementation is the implementation provided by SUN J2EE 1.4

SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
Nov 29, 2004 9:00:09 PM com.sun.xml.messaging.saaj.soap.MessageImpl <init>
SEVERE: SAAJ0535: Unable to internalize message
com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
javax.xml.registry.JAXRException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.registry.uddi.RegistryServiceImpl.jaxmSend(Unknown Source)
at com.sun.xml.registry.uddi.RegistryServiceImpl.send(Unknown Source)
at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.getOrganizations(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.getRegistryObjects(Unknown Source)
at com.sun.xml.registry.uddi.UDDIMapper.getRegistryObject(Unknown Source)
at com.sun.xml.registry.uddi.QueryManagerImpl.getRegistryObject(Unknown Source)
at com.jwsbook.jaxr.JaxrClassifacation.main(JaxrClassifacation.java:53)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
... 8 more
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
... 8 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:231)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:354)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 10 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:295)
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:146)
... 14 more


Any feedback is welcome.

Thanks

Lin
Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
By the way this exception was thrown when I called
the QueryManager.getRegistryObject(String id, String objectType) to retrieve
Organization from UDDI.

Thanks

Lin
 
 
subject: Exception when query the UDDI by JAXR
 
Threads others viewed
saaj problems
Internal server error in web service
"SAAJ0537: Invalid Content-Type" Exception
sending and receiving soap msg with JWSDP1.4
JAXR problem
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture