English 中文(简体)
网上记录仪使用的SAAJ一揽子计划
原标题:What SAAJ package is used by WebLogic

我存在许多问题,因为有不同的SAJ一揽子计划,有SOAP类:

  • com/sun/xml/internal/messaging/saaj/soap/ in rt.jar
  • com/sun/xml/messaging/saaj/soap/ in saaj-impl.jar

当网络视频会议使用<条码>com/sun/xml/internal/mesaging/saaj/soap/和通过<条码>的班级生成申请时,则使用以下表格制作:<条码>com/sun/xml/messaging/saaj/soap/。

com.sun.xml.internal.messaging.saaj.soap. LocalStrings != com.sun.xml.messaging.saaj.soap. LocalStrings

java.lang.NoClassDefFoundErr或: com/sun/xml/internal/messaging/saaj/soap/SAAJMetaFact或yImpl

My solution was create a weblogic.xml descript或 with saaj reference and including saaj-impl.jar into the war. Question is: Can I know what SAAJ package is used in WebLogic Server?

问题回答

If you use weblogic 10.3.3(or i think even any other version) , the SAAJ implementation used by is of the JDK runtime installed since the web server initializes the CLASSPATH to the JDK jars first. So you need to override it with your jar file so it can find your desired implementation first. The only solution with weblogic that worked for me was to set PRE_CLASSPATH in weblogic setDomainEnv.cmd file like this,

          set PRE_CLASSPATH=%DOMAIN_HOME%libendorsedsaaj-impl-1.3.18.jar

DOMAIN_HOME系指网络学领域,但也可指其他绝对途径。 对这一问题的比照也作了说明:





相关问题
Python SOAP server / client

I have a problem with Python and SOAP. I need to create a web service based on SOAP in Python. I read that I can use libraries like soaplib, suds and ZSI. I created a Hello World web service with ...

HTTP POST and complex structures

I m trying to send a complex HTTP POST request to a web service. The web service was created using VS2008, in which you can set VS to create HTTP POST and GET interfaces alongside the SOAP one. Now ...

XML-RPC Standard and XML Data Type

I was looking at XML-RPC for a project. And correct me if I m wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else? Am I missing something? ...

Most appropriate API for URL shortening service

I ve just finished an online service for shortening URLs (in php5 with Zend Framework); you can enter an URL and you get an short URL (like tinyurl and such sites). I m thinking about the API for ...

What is the best solution for creating a SOAP Server in PHP?

I need some advice on which library is the best choice when it comes to creating SOAP servers (and eventually SOAP clients) in PHP. I know there is built-in functions for this, but is that really the ...

Logging all Soap request and responses in PHP

Does anyone know how to log all request and responses with the builtin SoapClient in PHP? I could in fact manually log everything with SoapClient::__getLastRequest() and SoapClient::__getLastResponse()...

热门标签