aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes JAXR problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "JAXR problem" Watch "JAXR problem" New topic
Author

JAXR problem

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Hi,

I'd like to run the JWSDP1.6 JAXR samples on jdk1.4.2 but I have been getting the following problem, which I'm failed to sort out. Can someone please get me out of this problem?

When I ran jaxr-query sample's 'BQM.bat', I'm getting the following exception stack trace. No clue why this happened(I tried this only after getting the same problem on JWSDP2.0 with jdk1.5)

--------------------------
29-Mar-2008 00:10:00 com.sun.xml.messaging.saaj.soap.MessageImpl identifyContent
Type
SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a S
OAP message
29-Mar-2008 00:10:00 com.sun.xml.messaging.saaj.soap.MessageImpl <init>
SEVERE: SAAJ0535: Unable to internalize message
javax.xml.registry.JAXRException: com.sun.xml.messaging.saaj.SOAPExceptionImpl:
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptio
nImpl: 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.findOrganizations(Unknown Source
)
at com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(
Unknown Source)
at BusinessQueryTest.executeQueryTest(BusinessQueryTest.java:57)
at BusinessQueryTest.main(BusinessQueryTest.java:29)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.Privilege
dActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to intern
alize message
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
PConnection.java:127)
... 7 more
Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.S
OAPExceptionImpl: Unable to internalize message
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
PConnection.java:121)
... 7 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize m
essage
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:3
02)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
_1Impl.java:47)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
teMessage(SOAPMessageFactory1_1Impl.java:38)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
PConnection.java:354)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
ost.run(HttpSOAPConnection.java:150)
... 9 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
xt/html. Is this an error message instead of a SOAP response?
at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
geImpl.java:398)
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
89)
... 13 more
-----------------

Thanks in advance.

Kind Regards,
Naren


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXR problem