Support Article
Foundation Server Feature Pack3 issues
SA-15729
Summary
Developer is following the steps from Foundation Server Feature Pack.pdf ---> Chapter 4: Server Bridge ---> Invoking PRPC Service SOAP in CFS using JAX-WS. There are two issues:
Issue #1 --- ClassNotFoundException:
weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
weblogic.wsee.jaxws.spi.WLSProvider createServiceDelegate
WARNING: Could not read WSDL Definition from URL wsdlDocumentLocation: 2 counts of InaccessibleWSDLException.
Issue #2 --- Request contains < instead of <. The server expects < and cannot parse < in the request.
---[HTTP request - http://localhost:7003/prweb/PRSOAPServlet/SOAP/FSandboxWork/NewWork]---
Accept: text/xml, multipart/related
Content-Type: text/xml; charset=utf-8
Password: rules
SOAPAction: "urn:PegaRULES:SOAP:FSandboxWork:NewWork#CreateNewWork"
User-Agent: JAX-WS RI 2.2.6hudson-86 svn-revision#12773
Username: [email protected]
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns0:CreateNewWork xmlns:ns0="urn:PegaRULES:SOAP:FSandboxWork:NewWork"><CreateNewWorkRequest/></ns0:CreateNewWork></S:Body></S:Envelope>--------------------
---[HTTP response - http://localhost:7003/prweb/PRSOAPServlet/SOAP/FSandboxWork/NewWork - 500]---
null: HTTP/1.1 500 Internal Server Error
Cache-Control: max-age=0
Content-Length: 471
Content-Type: text/xml;charset=UTF-8
Set-Cookie: JSESSIONID=2h3HV2nKHPwtYlqyWQ321wbDGVYQypRV5tQWWPLSKq15rkp02nkN!1333940320; path=/; HttpOnly
X-Powered-By: Servlet/3.0 JSP/2.2
<?xml version="1.0"?>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>SOAP service [FSandboxWork][NewWork][CreateNewWork] failed:Inbound data mapping failed</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
--------------------
Resolution
Here’s the explanation for the reported behavior: For Issue-1 i.e. ClassNotFoundException for the Warning message, there exists an oracle patch(Bug 17246737).
Content:
========
This patch contains Smart Update patch E19I for WebLogic Server 12.1.1.0
Description:
============
CLASSNOTFOUNDEXCEPTION IS THROWN BY REGISTERING ADDRESSINGEXTENSIONREGISTRY
Patch Installation Instructions:
================================
- copy content of this zip file with the exception of README file to your SmartUpdate cache directory (MW_HOME/utils/bsu/cache_dir by default)
- apply patch using Smart Update utility
For Issue-2 i.e. Request contains < instead of <. The server expects < and cannot parse < in the request issue, below steps were used and observed that case object gets created in Case Manager of PRPC. This confirms that SOAP service gets created successfully.
- Generated WSDL for PRPC SOAP Service, using the option of no authentication and with and without multiple fields.
- Test the wsdl using PRPC Simulator and with SOAP UI.
- Generated the client stub for the WSDL.
- Test the PRPC SOAP Service call from simple Java class and from Foundation Server service
1) For client stub:
From: @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
To: @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
2) While testing the SOAP Service from PRPC simulator, 'Supply SOAP request envelope' must be selected.
An issue in the custom application code. On comparing custom request with PRPC Simulator’s, it was observed that in PRPC Simulator’s request has <CreateNewWorkRequest/>.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.