IAF-Stardust: WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL [message #742686] |
Thu, 20 October 2011 18:25 |
Vikram Kodak Messages: 72 Registered: October 2011 |
Member |
|
|
While hitting the IAF-Stardust embedded web service from the a web interface application ( AIX environment ),
we are getting the following error, please see detail trace at bottom
SEVERE: [failed to localize] WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL()
Throwable occurred: com.sun.xml.ws.policy.PolicyException: [failed to localize] WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST(http://xxx.xxx.xxx.xxx:8004/xxx/Stardustservices/soap/WorkflowServiceHttpBasicAuth?wsdl#SslPolicy)
at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:93)
at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
Although the same works well in windows environment.
As per the exception it looks that at web service client side, while reading the WSDL ,
it is throwing error while referring the #SslPolicy which is defined in the WSDL provided by Stardust,
here is a portion of reference from InfinityBpmService.wsdl.
<!-- Workflow Service (HTTP Basic Authentication using SSL) -->
<wsdl:port binding="impl:IWorkflowServiceSoapBinding" name="WorkflowServiceHttpBasicAuthSslEndpoint">
<wsdlsoap:address location="REPLACE_WITH_ACTUAL_URL" />
<wsp:PolicyReference URI="#SslPolicy" />
<wsaw:UsingAddressing wsdl:required="false" />
</wsdl:port>
[Updated on: Fri, 21 October 2011 04:21] Report message to a moderator
|
|
|
Re: IAF-Stardust: WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL [message #742688 is a reply to message #742686] |
Thu, 20 October 2011 18:27 |
Vikram Kodak Messages: 72 Registered: October 2011 |
Member |
|
|
As per testing we have removed the references of #SslPolicy, then started getting the similar error for ="#UsernameTokenPolicy.Then removed the ="#UsernameTokenPolicy including #SslPolicy, then were able to invoke the Stardust web services properly.
As I understand that it is not a good idea to tamper the WSDL provided by Stardust, please do let us know, how to fix this ?,like do we need to do some setting on weblogic server where client application is running?
This is a kind of show stopper, as we are not able to invoke the IAF-Stardust web services from AIX deployment.
Just to add we don't have additional webservices-rt-1.5.jar in lib (the web service client side deployment(AIX)),which was suspected as one of the possible reason while initial analysis.
Another observation about the issue is if we keep the additional webservices-rt-1.5 .jar in deployment path folder of the application in windows environment, we get the same issue in windows environment as well, just removing the webservices-rt-1.5.jar from deployment, makes it work for windows, but not on AIX.
|
|
|
|
Re: IAF-Stardust: WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL [message #1012090 is a reply to message #742688] |
Wed, 20 February 2013 21:33 |
|
I ran into a similar problem on Weblogic 10.3.3 on Windows with a Stardust version < 0.7 (which included the Metro WS implementation). The error message was
WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST
and concerned the same WSDL subpolicy (#SslPolicy).
The problem seems to come from having two versions of the metro runtime on the classpath. Excluding the webservices-rt artifact from the Stardust build solved the problem.
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds