Javax.xml.soap.SOAPException: Unable to create message factory for SOAP

Advertisement
I installde jwsdp1.5 and tomcat50-jwsdp, want to use the local registry server in jwsdp1.5 to publish and query services. the code can run successfully on other PC, but I can not run it successfully.
when I run the JSP+Servlet to publish a service, the information is:
javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
- with linked exception:
[javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
     at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
     at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
     at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
     at Publish.doPost(Publish.java:66)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
     at java.lang.Thread.run(Thread.java:595)
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
     at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
     ... 32 more
what can I do?? Help me please!!Thanks very very very much!
Advertisement

Replay

It seems saaj-impl.jar (in case of Sun One Server) or the jar which contains implementationof SAAJ API is not in the classpath.

ORA-01658: unable to create INITIAL extent for segment in tablespace

NEW REPOSITORY INSTALLATION ERROR!! I want to install a new Repository using Oracle9iR9.2.0.1 and iDS10g on windowsXP Professional the same machine. After running all the SQL scripts ( ckqa,ckvalqa,ckcreate,ckreport) with success to installing a new

Fault Message Mapping for SOAP Scenario

Hi , I have configured a Proxy to SOAP synchronous scenario. The scenario is working fine. Now I need to map the fault message and display the message in SAP in case of any errors. I have used the standard Fault message. But I dont have any message f

Unable to create data source for planning via workspace

I have installed the following products in Hyperion 11.1.2 - Foundation - Essbase, EAS - Planning - Reporting & Analysis However, when I log in to Workspace (http://server:19000/workspace, I only see the following menu options under Navigate -> Adm

Unable to create change order for Operational attributes

Currently we are in 11.5.10 E9 patchset. Product : Advanced Product Catalog Unable to find create change order button for any of the operational attributes page. Steps to reproduce : 1.Switch to 'Development Manager' resp 2.Navigate to 'Item Catalog'

Folders that I had previously created and put bookmarked sites in have disappeared and Im unable to create new folders for sites I want to bookmark. I've checked the support info and it doesn't say anything about creating new subject folders?

Bookmark folders that I had previously created have disappeared so I can't access any of my bookmarks. The process I used to create new subject bookmarks doesn't seem to be there anymore. The apple support doesnt mention creating new bookmark folders

Unable to create a password for my BEFW11S4 wireless router

I had to reset my router in order to gain access to it via the web.  I then used the default username and password to get in.  Once in, I found a 16 digit password that I have been unable to change under the password tab.  Why can't I change the pass

Unable to Create PLSQL Webservice in JDeveloper 11g

Hi, i have created webservice for PL/SQL for functions with out TYPE data types as parameter.. but i am unable to create a webservice for procedure having Freight_Pkg.PROCEDURE get_freight( p_sbl_source_line_tab IN OUT SYK_SBL_SOURCE_LINE_TAB_TYPE ,l

How to create user dsn for microsoft access driver(*.mdb,.*accdb) in 64 bit

hi, how to create user dsn for microsodt access driver(*.mdb,*.accdb) using command line in 64 bit. i have installed 64 bit drivers and when use following command C:\Windows\System32>odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)&q

How to create process variant for delete index in a process chain

Respected all I am creating a process chain, but unable to create process variant for the delete index. kindly tell me the step by step proceure for creating the variant for delete index. also if we use variant which is previously prepared then will

Javax.xml.rpc.soap.SOAPFaultException: SoapException

Hi... forum I really need your help. I created a web service client. with JDEV 10.1.3, when i crearted a function call i got this error javax.xml.rpc.soap.SOAPFaultException: SoapException      at oracle.j2ee.ws.client.StreamingSender._raiseFault(Str

BPEL invoke ESB fails with javax.xml.soap.SOAPException: Bad response: 404

I work with SOA 10.1.3.3 (Patched). When I call an ESB Routing Service from BPEL, are generated an exception as follow: <messages><input><WBPM_IKSelectDatiTx_in><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" nam

Javax.xml.rpc.soap.SOAPFaultException: Failed to process signature.null

Hi Folks, I was trying to do the tutorial "Securing Services Using the AquaLogic Service Bus", but when I called the Web Service Method I got the error message listed bellow. What happened ? Tutorial link: "http://dev2dev.bea.com/pub/a/2006

Javax.xml.ws.soap.SOAPFaultException - complex type soap response

Hi folks, got a - hopefully simple to answer - question about soap and webservices. first, the environment setup: Mac OS X 10.4.8, Java EE 5, Annotations, Hibernate, Sun Java System Application Server 9. second, the scenario: I have an enterprise app

Package javax.xml.soap does not exist

I have created a UDDI publish client where i am trying to publish a service. But when i try to compile my code it gives me the following error: package javax.xml.soap does not exist I know i am missing some jar in my classpath. But i don't know which

SOAP Receiver   java.io.IOException: unable to create a socket

Hi All, I have scenario where i invoke a external webservice  (over internet)  using SOAP adapter. I can reach the external target as they see my traffic on firewall but i always get: com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: u

SOAP Adapter: java.io.IOException: unable to create a socket

Hi, I am trying to use the soap adapter to connect to a URL and post a document. When I try, the adapter throws the following java.io.IOException: unable to create a socket Does anyone know what causes this? I get it both with the SOAP Envelope turne

Can't compile javax.xml.soap

I can't compile the following code: import javax.xml.soap.SOAPConnectionFactory; import javax.xml.soap.SOAPConnection; public class SOAPTip { public static void main(String args[]) { try { //First create the connection SOAPConnectionFactory soapConnF

Error in Trace Level: could not create BPE proxy for message, no XML objec

Hi     We are doing a scenario of File to RFC using BPM and I am getting this errror in Tcode SXMB_MONI. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!--  Call Adapter   --> <SAP:Error xmlns:SAP=&q

Unable to create javax.ejb.EJBObject

I go to the http://host:port/caf ->User Interface Configuration -> Configuration Browser ->Object Editor -> New Configuration->and push button select service, or administrative tools ->authorization tool. On this functionalities i get th