Instances when invoking a webservice

I have some methods in a webservice that I want to be executed one by one (nobody can execute that webservice if is being executed by someone else).
I'm trying with syncrhonize
There is some way of publishing the webservices or somewhere in AXIS where you could restrict that all the invokes of the WS will return the same object??
Otherwise the synchronize would be useless...
Thanks!!

Hi Grall,
I'm using Oracle OC4J server 10.1.3 in WinXp OS. My JDK/JRE is 1.5.Previously, I kept a separate jar for my EJBs "epcis-ejb.jar" within my ear file and now I keep the ejb contents too inside the war file. This is as per the requirement of my project. Hence My EAR file will have a WAR file within it and all the webservice and EJB based sources are kept within a plan JAR file (not ejb-jar) with in the lib folder of the WAR file. One more point to add, EPCISService is the name of my webservice and EPCISServicePortTypeImpl is the impl class of the webservice where i define my business methods.
Can you please help me..?
Thanks
Rajasekaran
[email protected]

Similar Messages

  • 'ORABPEL-11812 Failed Function Security validation' when invoking EBS webservice

    Hi,
    I got a problem when test web service on EBS R12.1.3.
    I used SYSADMIN to test ISG installation using operation TESTUSERNAME in FND_USER_PACKAGE, but failed. Below is the log
    Can anyone help me with this please? Thanks.
    New Logger Instantiated...
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Process Message received at : Mon Oct 13 23:27:24 CST 2014
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Too many principals obtained from LoginModule.  Using first one.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Setting Principal Value = SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getUserIdFromName : User_id: 0 fetched for name: SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : User id for the principal = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getSOAPBodyElement : SOAP Body Element Found.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Body tns : http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/testusername/
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : Product = fnd
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : IRep Suffix = plsql/fnd_user_pkg/testusername/
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : InterfaceType PLSQL
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : ITYPE CLASS
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : class FND_USER_PKG
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getClassId : Class Id for irep_name FND_USER_PKG = 2702
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : classId 2702
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : FUNCTION_NAME TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : IRep Function Name PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getFunctionId : Function Id for function name PLSQL:FND_USER_PKG:TESTUSERNAME = 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : FUNCTION_ID 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = Responsibility
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = RespApplication
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SecurityGroup
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = NLSLanguage
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = Org_Id
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = 82
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractHeaders : Found Header. Name = SOAHeader
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractHeaders : Header Type = SOAHeader
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : Username from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityName from Header : SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplName from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupName from Header  : STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguage from Header  : AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : statusCode = S
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : UserId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityId = 20420
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplId = 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguageCode = US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getLanguageFromCode : NLS language for code US = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguage = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : Inserting Following ID values into header table
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : UserId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityId = 20420
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplId = 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguageCode = US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : In Audit Util.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Creating WebAppsContext.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained context.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained Store.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained Profile.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Request Date Mon Oct 13 23:27:24 CST 2014
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Remote Host 10.161.73.55
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : HeaderData created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : buildversion in auditRequest is 1213
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : HeaderBody created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Msg ID 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : MsgId from AuditRequest 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.isServiceDeployed : Service Deployed Flag : Y
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.isServiceDeployed : Service with Class Id2702 Deployed : true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getInterfaceType : Function Name for function id 43542 = PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Checking log level for the current user and service combination
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.getInstanceId : Instance id is : 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Log level for the current operation : 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Username from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : FunctionName   : PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : FunctionId             : 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : overloadSeq            : 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Function is not null.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Creating data context.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Is Function Authorized = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Authorization check passed.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : serviceFactory instance is created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.ServiceFactory.getServiceImplementation : Creating Handler for Interface Type = PLSQL
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : serviceHandler in
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Request passed to oracle.apps.fnd.soa.provider.services.jca.JCAHandler
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : function id to be passed= 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : overload count= 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : Found JCAWSDL Location = /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : JCAWSDLLocation : /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Operation Name = TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Response Required : true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractInputMessage : Found Body Element : InputParameters
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractInputMessage : Converting to element : oracle.j2ee.ws.saaj.soap.soap11.BodyElement11
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Username as : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Responsibility as : SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Responsibility Application Short Name as : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Security Group name as : STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting NLS Language as : US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting ORG_ID as : 82
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting isISG as : yes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting IsLoggingEnabled  as : N
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting logLevel as 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting TransactionId  as :39676
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAClientFactoryCrated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAInterfaceCreated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAOperationCreated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : buildversion in jcahanlder is 1213
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : found runtime classes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : created instance for runtime classes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : runtime Methods found [Ljava.lang.reflect.Method;@f61f70
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : method executeRequestResponseOperation found
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : executing 3 parameter method
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.java.lang.reflect.InvocationTargetException
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. null
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Creating Error Response Message.
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : Error code : FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : NLS Compliant Error Msg = FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Setting fault string = FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      :Please see service monitor logs for full error trace
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Error Response Message Created
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: file:/d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa/PLSQL/2702/TESTUSERNAME.wsdl [ TESTUSERNAME_ptt::TESTUSERNAME(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'TESTUSERNAME' failed due to: Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    ; nested exception is:
      ORABPEL-11812
    Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable.
      at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:642)
      at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:275)
      at oracle.tip.adapter.client.JCABindingOperation.executeRequestResponseOperation(JCABindingOperation.java:182)
      ... 27 more
    Caused by: ORABPEL-11812
    Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable.
      at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:176)
      at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:154)
      at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1037)
      at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:240)
      at oracle.tip.adapter.apps.AppsInteraction.execute(AppsInteraction.java:195)
      at oracle_tip_adapter_apps_AppsInteraction_Proxy.execute()
      at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:486)
      ... 29 more
    Caused by: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
      at oracle.tip.adapter.apps.AppsCciLocalTransaction.beginInternal(AppsCciLocalTransaction.java:200)
      at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:117)
      ... 34 more
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Auditing error: FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : function id to be passed= 43542
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : overload count= 1
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : Found JCAWSDL Location = /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Operation Name = TESTUSERNAME
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Response Required : true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : Response Date Mon Oct 13 23:27:25 CST 2014
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : buildversion in auditResponse is 1213
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : Response Body : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">SOAP-ENV:Server</faultcode><faultstring xmlns="">FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      :Please see service monitor logs for full error trace</faultstring></env:Fault></env:Body></env:Envelope>
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : msgId : 10075
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : operationName : TESTUSERNAME
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : responseDate : Mon Oct 13 23:27:25 CST 2014
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : errorCode : FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : errorTrace: oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)

    Pl do not post duplicates - 'ORABPEL-11812 Failed Function Security validation' when invoking EBS webservice

  • Invalid security error when invoking secure webservice using SAML tokens

    I have deployed a JAX-WS webservice using a stateless session bean to wl 10.3.2 that uses a custom policy. The service deploys fine, but weblogic returns an HTTP error 500 with a SOAP fault. The fault states wsse:InvalidSecurity. The webservice security policy reqires SAML holder of key assertions and attributes. I have tried everything from running weblogic with Metro 1.5 to configuring SAML Identity Asserter Providers, etc with no luck. I even tried using the built in SAML 2.0 assymetric holder of key policy. What am I doing wrong? The XML of interest is attached.
    Thanks;
    -Dave.
    *[Sample message from client]*
    <?xml version="1.0" encoding="UTF-8"?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:exc14n="http://www.w3.org/2001/10/xml-exc-c14n#">
         <S:Header>
              <To xmlns="http://www.w3.org/2005/08/addressing">https://localhost:7002/NHINAdapterDocQuerySecured/AdapterDocQuerySecured</To>
              <Action xmlns="http://www.w3.org/2005/08/addressing">urn:gov:hhs:fha:nhinc:adapterdocquerysecured:RespondingGateway_CrossGatewayQueryRequestMessage</Action>
              <ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
                   <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
              </ReplyTo>
              <MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:fec656f8-a2be-4129-8412-34d9453e7cb2</MessageID>
              <wsse:Security S:mustUnderstand="1">
                   <wsu:Timestamp xmlns:ns17="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:ns16="http://www.w3.org/2003/05/soap-envelope" wsu:Id="_1">
                        <wsu:Created>2010-02-24T21:38:56Z</wsu:Created>
                        <wsu:Expires>2010-02-24T21:43:56Z</wsu:Expires>
                   </wsu:Timestamp>
                   <saml2:Assertion xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:exc14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xs="http://www.w3.org/2001/XMLSchema" ID="96cdfb70-91a3-4baf-9da1-3ff07d249926" IssueInstant="2010-02-24T21:38:56.671Z" Version="2.0">
                        <saml2:Issuer Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAML User,OU=SU,O=SAML User,L=Los Angeles,ST=CA,C=US</saml2:Issuer>
                        <saml2:Subject>
                             <saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">UID=kskagerb*DoD</saml2:NameID>
                             <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:holder-of-key">
                                  <saml2:SubjectConfirmationData>
                                       <ds:KeyInfo>
                                            <ds:KeyValue>
                                                 <ds:RSAKeyValue>
                                                      <ds:Modulus>iwGksKFK2ZYDxftMa093TajW7V9TwHW7NiyT6bJ2p38zBwpehwMJ1ZO9V0hFihcz/BZ2MvQ1WA1l0KhUBSR/bMiu6WmZ0bJPjvXx41ewGw5YzTL2RbT1U2XXBHtPHjbkH5jqK5zk67F/NM26v+hw0fSZiqM1BAFp9F73hMHsNrc=</ds:Modulus>
                                                      <ds:Exponent>AQAB</ds:Exponent>
                                                 </ds:RSAKeyValue>
                                            </ds:KeyValue>
                                       </ds:KeyInfo>
                                  </saml2:SubjectConfirmationData>
                             </saml2:SubjectConfirmation>
                        </saml2:Subject>
                        <saml2:AuthnStatement AuthnInstant="2009-04-16T13:15:39.000Z" SessionIndex="987">
                             <saml2:SubjectLocality Address="158.147.185.168" DNSName="cs.myharris.net"/>
                             <saml2:AuthnContext>
                                  <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509</saml2:AuthnContextClassRef>
                             </saml2:AuthnContext>
                        </saml2:AuthnStatement>
                        <saml2:AttributeStatement>
                             <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:subject-id">
                                  <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">Karl S Skagerberg</saml2:AttributeValue>
                             </saml2:Attribute>
                             <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization">
                                  <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">InternalTest2</saml2:AttributeValue>
                             </saml2:Attribute>
                             <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id">
                                  <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">2.16.840.1.113883.4.349</saml2:AttributeValue>
                             </saml2:Attribute>
                             <saml2:Attribute Name="urn:nhin:names:saml:homeCommunityId">
                                  <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">2.16.840.1.113883.4.349</saml2:AttributeValue>
                             </saml2:Attribute>
                             <saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:subject:role">
                                  <saml2:AttributeValue>
                                       <hl7:Role xmlns:hl7="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" code="307969004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED_CT" displayName="Public Health" xsi:type="hl7:CE"/>
                                  </saml2:AttributeValue>
                             </saml2:Attribute>
                             <saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">
                                  <saml2:AttributeValue>
                                       <hl7:PurposeForUse xmlns:hl7="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" code="TREATMENT" codeSystem="2.16.840.1.113883.3.18.7.1" codeSystemName="nhin-purpose" displayName="Use or disclosure of Psychotherapy Notes" xsi:type="hl7:CE"/>
                                  </saml2:AttributeValue>
                             </saml2:Attribute>
                             <saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:resource:resource-id">
                                  <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">500000000^^^&amp;1.1&amp;ISO</saml2:AttributeValue>
                             </saml2:Attribute>
                        </saml2:AttributeStatement>
                        <saml2:AuthzDecisionStatement Decision="Permit" Resource="https://158.147.185.168:8181/SamlReceiveService/SamlProcessWS">
                             <saml2:Action Namespace="urn:nhin:names:hl7:rbac:4.00:operation">EXECUTE</saml2:Action>
                             <saml2:Evidence>
                                  <saml2:Assertion ID="40df7c0a-ff3e-4b26-baeb-f2910f6d05a9" IssueInstant="2009-04-16T13:10:39.093Z" Version="2.0">
                                       <saml2:Issuer Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAML User,OU=Harris,O=HITS,L=Melbourne,ST=FL,C=US</saml2:Issuer>
                                       <saml2:Conditions NotBefore="2009-04-16T13:10:39.093Z" NotOnOrAfter="2010-12-31T12:00:00.000Z"/>
                                       <saml2:AttributeStatement>
                                            <saml2:Attribute Name="AccessConsentPolicy" NameFormat="http://www.hhs.gov/healthit/nhin">
                                                 <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">Claim-Ref-1234</saml2:AttributeValue>
                                            </saml2:Attribute>
                                            <saml2:Attribute Name="InstanceAccessConsentPolicy" NameFormat="http://www.hhs.gov/healthit/nhin">
                                                 <saml2:AttributeValue xmlns:ns6="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns7="http://www.w3.org/2001/XMLSchema" ns6:type="ns7:string">Claim-Instance-1</saml2:AttributeValue>
                                            </saml2:Attribute>
                                       </saml2:AttributeStatement>
                                  </saml2:Assertion>
                             </saml2:Evidence>
                        </saml2:AuthzDecisionStatement>
                        <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                             <ds:SignedInfo>
                                  <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                                  <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                                  <ds:Reference URI="#96cdfb70-91a3-4baf-9da1-3ff07d249926">
                                       <ds:Transforms>
                                            <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                                            <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                                       </ds:Transforms>
                                       <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                                       <ds:DigestValue>VnukKqb4Bt1KWDKfy8SDfk1Hp2s=</ds:DigestValue>
                                  </ds:Reference>
                             </ds:SignedInfo>
                             <ds:SignatureValue>DUwjh/H3XSfUG250rTlLdihstDXY1+qkY9GaY81Iu7Ag4MgoGvGBrGjZOJ7YnssPdrqUGiURxf6k
    IBH7vaeXk24XvXP3F85WP9nBm+2M4BvGTplgOmAo0yuwze+90FvwILzFNmmX/tvy3QKTDHlh1rEx
    /Jqfm6q/56WW1suAbRY=</ds:SignatureValue>
                             <ds:KeyInfo>
                                  <ds:KeyValue>
                                       <ds:RSAKeyValue>
                                            <ds:Modulus>iwGksKFK2ZYDxftMa093TajW7V9TwHW7NiyT6bJ2p38zBwpehwMJ1ZO9V0hFihcz/BZ2MvQ1WA1l
    0KhUBSR/bMiu6WmZ0bJPjvXx41ewGw5YzTL2RbT1U2XXBHtPHjbkH5jqK5zk67F/NM26v+hw0fSZ
    iqM1BAFp9F73hMHsNrc=</ds:Modulus>
                                            <ds:Exponent>AQAB</ds:Exponent>
                                       </ds:RSAKeyValue>
                                  </ds:KeyValue>
                             </ds:KeyInfo>
                        </ds:Signature>
                   </saml2:Assertion>
                   <ds:Signature xmlns:ns17="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:ns16="http://www.w3.org/2003/05/soap-envelope" Id="_2">
                        <ds:SignedInfo>
                             <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
                                  <exc14n:InclusiveNamespaces PrefixList="wsse S"/>
                             </ds:CanonicalizationMethod>
                             <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                             <ds:Reference URI="#_1">
                                  <ds:Transforms>
                                       <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
                                            <exc14n:InclusiveNamespaces PrefixList="wsu wsse S"/>
                                       </ds:Transform>
                                  </ds:Transforms>
                                  <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                                  <ds:DigestValue>oo99UrPhAcwla4Qbkdd9jAPn0cE=</ds:DigestValue>
                             </ds:Reference>
                        </ds:SignedInfo>
                        <ds:SignatureValue>ds4vqts8uCdJcNGo0uTPzId5UBX+GVrdztQPv823c1Zy9ZZGSfQC/GsBPM/EMbFInDPFsyT4e1QYZMCzmqLYnifWHlDQJb7oMJBokafavAqZda1B55Zzh3TSm6BqKWtB/DX17d6rLx/HPiLNZ9qsBfuGn3aTlUCpNsYA8ObBtp8=</ds:SignatureValue>
                        <ds:KeyInfo>
                             <wsse:SecurityTokenReference wsse11:TokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0">
                                  <wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID">96cdfb70-91a3-4baf-9da1-3ff07d249926</wsse:KeyIdentifier>
                             </wsse:SecurityTokenReference>
                        </ds:KeyInfo>
                   </ds:Signature>
              </wsse:Security>
         </S:Header>
         <S:Body>
              <ns3:AdhocQueryRequest xmlns:ns2="urn:gov:hhs:fha:nhinc:gateway:samltokendata" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" maxResults="-1" startIndex="0" federated="false">
                   <ns3:ResponseOption returnComposedObjects="true" returnType="LeafClass"/>
                   <ns4:AdhocQuery home="urn:oid:2.16.840.1.113883.4.349" id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d">
                        <ns4:Slot name="$XDSDocumentEntryStatus">
                             <ns4:ValueList>
                                  <ns4:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</ns4:Value>
                             </ns4:ValueList>
                        </ns4:Slot>
                        <ns4:Slot name="$XDSDocumentEntryPatientId">
                             <ns4:ValueList>
                                  <ns4:Value>'1012581676V377802^^^&amp;2.16.840.1.113883.4.349&amp;ISO'</ns4:Value>
                             </ns4:ValueList>
                        </ns4:Slot>
                   </ns4:AdhocQuery>
              </ns3:AdhocQueryRequest>
         </S:Body>
    </S:Envelope>
    *[Response from server:]*
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Body>
              <env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <faultcode>wsse:InvalidSecurity</faultcode>
                   <faultstring>weblogic.xml.crypto.api.MarshalException: weblogic.xml.dom.marshal.MarshalException: Failed to unmarshal {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference, no SecurityTokenReference factory found for {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}KeyIdentifier ValueType: http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID</faultstring>
              </env:Fault>
         </env:Body>
    </env:Envelope>
    *[webservice WSDL]*
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Adapter Document Query WSDL
    -->
    <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:gov:hhs:fha:nhinc:adapterdocquerysecured"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
    xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
    xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
    xmlns:wsaws="http://www.w3.org/2005/08/addressing"
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
    xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
    xmlns:sc="http://schemas.sun.com/2006/03/wss/server"
    xmlns:wspp="http://java.sun.com/xml/ns/wsit/policy"
    xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
    xmlns:sxnmp="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/NMProperty"
    name="AdapterDocQuerySecured"
    targetNamespace="urn:gov:hhs:fha:nhinc:adapterdocquerysecured">
    <documentation>Adapter Document Query</documentation>
    <types>
    <xsd:schema>
    <xsd:import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
    schemaLocation="../schemas/ebRS/query.xsd"/>
    <xsd:import namespace="urn:gov:hhs:fha:nhinc:gateway:samltokendata"
    schemaLocation="../schemas/nhinc/gateway/SamlTokenData.xsd"/>
    </xsd:schema>
    </types>
    <message name="RespondingGateway_CrossGatewayQueryRequestMessage">
    <part name="body"
    element="query:AdhocQueryRequest"/>
    </message>
    <message name="RespondingGateway_CrossGatewayQueryResponseMessage">
    <part name="body"
    element="query:AdhocQueryResponse"/>
    </message>
    <portType name="AdapterDocQuerySecuredPortType">
    <operation name="RespondingGateway_CrossGatewayQuery">
    <input name="RespondingGateway_CrossGatewayQueryRequest"
    message="tns:RespondingGateway_CrossGatewayQueryRequestMessage"
    wsaw:Action="urn:gov:hhs:fha:nhinc:adapterdocquerysecured:RespondingGateway_CrossGatewayQueryRequestMessage"/>
    <output name="RespondingGateway_CrossGatewayQueryResponse"
    message="tns:RespondingGateway_CrossGatewayQueryResponseMessage"
    wsaw:Action="urn:gov:hhs:fha:nhinc:adapterdocquerysecured:RespondingGateway_CrossGatewayQueryResponseMessage"/>
    </operation>
    </portType>
    <binding name="AdapterDocQuerySecuredBindingSoap11" type="tns:AdapterDocQuerySecuredPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsp:PolicyReference URI="#RespondingGateway_Query_Binding_SoapPolicy"/>
    <operation name="RespondingGateway_CrossGatewayQuery">
    <soap:operation soapAction="urn:RespondingGateway_CrossGatewayQuery"/>
    <input name="RespondingGateway_CrossGatewayQueryRequest">
    <soap:body use="literal"/>
    <wsp:PolicyReference URI="#RespondingGateway_Query_Binding_Soap_Input_Policy"/>
    </input>
    <output name="RespondingGateway_CrossGatewayQueryResponse">
    <soap:body use="literal"/>
    <wsp:PolicyReference URI="#RespondingGateway_Query_Binding_Soap_Output_Policy"/>
    </output>
    </operation>
    </binding>
    <service name="AdapterDocQuerySecured">
    <port name="AdapterDocQuerySecuredPortSoap11"
    binding="tns:AdapterDocQuerySecuredBindingSoap11">
    <soap:address
    location="https://localhost:7002/NHINAdapterDocQuerySecured" />
    </port>
    </service>
    <!-- Define action property on each receiving message -->
    <vprop:property name="action" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:action"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>action</vprop:query>
    </vprop:propertyAlias>
    <!-- Define resource property on each receiving message -->
    <vprop:property name="resource" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:resource"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>resource</vprop:query>
    </vprop:propertyAlias>
    <!-- Define purposeForUseRoleCode property on each receiving message -->
    <vprop:property name="purposeForUseRoleCode" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:purposeForUseRoleCode"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>purposeForUseRoleCode</vprop:query>
    </vprop:propertyAlias>
    <!-- Define purposeForUseCodeSystem property on each receiving message -->
    <vprop:property name="purposeForUseCodeSystem" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:purposeForUseCodeSystem"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>purposeForUseCodeSystem</vprop:query>
    </vprop:propertyAlias>
    <!-- Define purposeForUseCodeSystemName property on each receiving message -->
    <vprop:property name="purposeForUseCodeSystemName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:purposeForUseCodeSystemName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>purposeForUseCodeSystemName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define purposeForUseDisplayName property on each receiving message -->
    <vprop:property name="purposeForUseDisplayName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:purposeForUseDisplayName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>purposeForUseDisplayName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userFirstName property on each receiving message -->
    <vprop:property name="userFirstName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userFirstName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userFirstName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userMiddleName property on each receiving message -->
    <vprop:property name="userMiddleName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userMiddleName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userMiddleName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userLastName property on each receiving message -->
    <vprop:property name="userLastName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userLastName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userLastName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userName property on each receiving message -->
    <vprop:property name="userName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userOrganization property on each receiving message -->
    <vprop:property name="userOrganization" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userOrganization"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userOrganization</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userRoleCode property on each receiving message -->
    <vprop:property name="userRoleCode" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userRoleCode"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userRoleCode</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userRoleCodeSystem property on each receiving message -->
    <vprop:property name="userRoleCodeSystem" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userRoleCodeSystem"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userRoleCodeSystem</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userRoleCodeSystemName property on each receiving message -->
    <vprop:property name="userRoleCodeSystemName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userRoleCodeSystemName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userRoleCodeSystemName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define userRoleCodeDisplayName property on each receiving message -->
    <vprop:property name="userRoleCodeDisplayName" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:userRoleCodeDisplayName"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>userRoleCodeDisplayName</vprop:query>
    </vprop:propertyAlias>
    <!-- Define expirationDate property on each receiving message -->
    <vprop:property name="expirationDate" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:expirationDate"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>expirationDate</vprop:query>
    </vprop:propertyAlias>
    <!-- Define signDate property on each receiving message -->
    <vprop:property name="signDate" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:signDate"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>signDate</vprop:query>
    </vprop:propertyAlias>
    <!-- Define contentReference property on each receiving message -->
    <vprop:property name="contentReference" type="xsd:string"/>
    <vprop:propertyAlias propertyName="tns:contentReference"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>contentReference</vprop:query>
    </vprop:propertyAlias>
    <!-- Define content property on each receiving message -->
    <vprop:property name="content" type="xsd:base64Binary"/>
    <vprop:propertyAlias propertyName="tns:content"
    messageType="tns:RespondingGateway_CrossGatewayQueryRequestMessage" part="body"
    sxnmp:nmProperty="org.glassfish.openesb.outbound.custom.properties">
    <vprop:query>content</vprop:query>
    </vprop:propertyAlias>
    <wsp:Policy wsu:Id="RespondingGateway_Query_Binding_SoapPolicy">
    <wsp:ExactlyOne>
    <wsp:All>
    <wsaws:UsingAddressing xmlns:wsaws="http://www.w3.org/2006/05/addressing/wsdl"/>
    <sc:KeyStore wspp:visibility="private"
    aliasSelector="gov.hhs.fha.nhinc.callback.KeyStoreServerAliasSelector"
    callbackHandler="gov.hhs.fha.nhinc.callback.KeyStoreCallbackHandler"/>
    <sc:TrustStore wspp:visibility="private"
    callbackHandler="gov.hhs.fha.nhinc.callback.TrustStoreCallbackHandler"/>
    <sp:TransportBinding>
    <wsp:Policy>
    <sp:TransportToken>
    <wsp:Policy>
    <sp:HttpsToken>
    <wsp:Policy>
    <sp:RequireClientCertificate/>
    </wsp:Policy>
    </sp:HttpsToken>
    </wsp:Policy>
    </sp:TransportToken>
    <sp:Layout>
    <wsp:Policy>
    <sp:Strict/>
    </wsp:Policy>
    </sp:Layout>
    <sp:IncludeTimestamp/>
    <sp:AlgorithmSuite>
    <wsp:Policy>
    <sp:Basic128/>
    </wsp:Policy>
    </sp:AlgorithmSuite>
    </wsp:Policy>
    </sp:TransportBinding>
    <sp:EndorsingSupportingTokens>
    <wsp:Policy>
    <sp:SamlToken
    sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:WssSamlV20Token11/>
    </wsp:Policy>
    </sp:SamlToken>
    </wsp:Policy>
    </sp:EndorsingSupportingTokens>
    <sp:Wss11>
    <wsp:Policy>
    <sp:MustSupportRefKeyIdentifier/>
    <sp:MustSupportRefIssuerSerial/>
    <sp:RequireSignatureConfirmation/>
    </wsp:Policy>
    </sp:Wss11>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <wsp:Policy wsu:Id="RespondingGateway_Query_Binding_Soap_Input_Policy">
    <wsp:ExactlyOne>
    <wsp:All>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <wsp:Policy wsu:Id="RespondingGateway_Query_Binding_Soap_Output_Policy">
    <wsp:ExactlyOne>
    <wsp:All>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <plnk:partnerLinkType name="AdapterDocQuerySecured">
    <!-- A partner link type is automatically generated when a new port type is added.
    Partner link types are used by BPEL processes. In a BPEL process, a partner
    link represents the interaction between the BPEL process and a partner service.
    Each partner link is associated with a partner link type. A partner link type
    characterizes the conversational relationship between two services. The
    partner link type can have one or two roles.-->
    <plnk:role name="AdapterDocQuerySecuredPortTypeRole"
    portType="tns:AdapterDocQuerySecuredPortType"/>
    </plnk:partnerLinkType>
    </definitions>
    Edited by: dvazquez1027 on Feb 25, 2010 5:10 PM
    Edited by: dvazquez1027 on Feb 25, 2010 5:22 PM

    Hi
    yes, I had the same issue and I found a solution.
    You need to request a patch for BUG 9212862 (already corrected in WLS 10.3.3) and do the follwing:
    javax.xml.ws.BindingProvider provider = (javax.xml.ws.BindingProvider)port;
    java.util.Map context = provider.getRequestContext();
    context.put(weblogic.wsee.jaxrpc.WLStub.POLICY_COMPATIBILITY_PREFERENCE, weblogic.wsee.jaxrpc.WLStub.POLICY_COMPATIBILITY_MSFT);      
    This will cause the SecurityMessageArchitect class of WLS to not send the SecurityTokenReference in the Soap security header.
    Please note that is evidently a non-comformity to the specs of microsoft:
    Please give a look at
    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf (8.3 Signing Tokens)
    and also at:
    http://www.oasis-open.org/committees/download.php/16768/wss-v1.1-spec-os-SAMLTokenProfile.pdf
    (3.4 Identifying and Referencing Security Tokens)
    A SAML key identifier reference MUST be used for all (local and remote) references to SAML 1.1
    assertions. [...]
    All conformant implementations MUST be able to process SAML assertion references occurring in a
    <wsse:Security> header or in a header element other than a signature to acquire the corresponding
    assertion. A conformant implementation MUST be able to process any such reference independent of the
    confirmation method of the referenced assertion.
    It follows that the .NET 3.5 is a non conformat implementation: I would gladly know which is the position of Microsoft on that.
    ciao
    carlo

  • Problem when invoke the  Webservice WSDL

    Hi ,
    Use case :
    I have two applications (Webservices) A and B.They have their own WSDL urls.
    From A ---> request format at A ---->Transform that into B request format----->forward that(request) to B request --- > get B response -----> tranfrom that into A response format ----> A response
    First part of usecase:
    I need to send the request from A to B.But both A and B has different request and response schemas(they will have similar kind of fileds but their naming convention will be different.That is why transformation is required in jdeveloper)
    I have developed a composite which has one BPEL process as component.
    I am placing the A webservice as "exposed Service" swimlane and B webservice in 'external reference'.BPEL process is in component swimlane.
    I deployed that Composite which has above BPEL Process(Takes input from one wsdl url and transforms that request format to (another) webservice request format as explained above) which tries to invoke(send request to) the another webservice Wsdl.
    When I test that composite (That WSDL url),I am getting service invokation exception.
    Please see the below exception:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231) at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75) at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64) at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134) at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90) at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273) at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:94) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794) ... 85 more Caused by: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.processHttpResponseCode(HttpSOAPConnection.java:633) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:501) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PrivilegedPost.run(HttpSOAPConnection.java:1261) at java.security.AccessController.doPrivileged(Native Method) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:229) ... 92 more
    I am getting "Webservice invokation failed" message and above exception.
    I am using some proxy server to access internet in my company. It is telling(If u see above exception u will be able to see) the below info in some part of exception.
    javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at
    Is there any problem with authentication to that wsdl url?
    I think u can understand my problem by looking at above clearly explained content.
    Hope u guys will help me out in this issue?
    Thanks in advance.
    Hope I will receive response as soon as possible as it is very critical at this point.
    Thanks

    Hi,
    Some part is requiring authentication, either the proxy or the web service provider. First thing is to determine which of them.
    Are you able to call B via SOAP-UI? Are you passing authentication in SOAP-UI? If not the problem is in you proxy server.
    Check 401 error here:
    http://www.checkupdown.com/status/E401.html
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this answer is helpful, please consider giving points.

  • VerifyError when invoking a webservice in OC4J

    Hi All,
    I receive the following error when I try to invoke a method in my webservice. It used to work previously but this error happens when I changed the ant script and try to create a new ear file.
    java.lang.VerifyError: (class: oracle/epcis/services/queryservice/runtime/EPCISServiceBinding_Tie, method: invoke_getSubscriptionIDs signature: (Loracle/j2ee/ws/server/StreamingHandlerState;)V) Incompatible argument to function     at java.lang.Class.getDeclaredConstructors0(Native Method)     at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)     at java.lang.Class.getConstructor0(Class.java:2671)
    Can anyone please help..?
    Thanks
    Rajasekaran

    Hi Grall,
    I'm using Oracle OC4J server 10.1.3 in WinXp OS. My JDK/JRE is 1.5.Previously, I kept a separate jar for my EJBs "epcis-ejb.jar" within my ear file and now I keep the ejb contents too inside the war file. This is as per the requirement of my project. Hence My EAR file will have a WAR file within it and all the webservice and EJB based sources are kept within a plan JAR file (not ejb-jar) with in the lib folder of the WAR file. One more point to add, EPCISService is the name of my webservice and EPCISServicePortTypeImpl is the impl class of the webservice where i define my business methods.
    Can you please help me..?
    Thanks
    Rajasekaran
    [email protected]

  • VerifyError when invoking a webservice

    Hi All,
    I receive the following error when I try to invoke a method in my webservice. It used to work previously but this error happens when I changed the ant script and try to create a new ear file.
    java.lang.VerifyError: (class: oracle/epcis/services/queryservice/runtime/EPCISServiceBinding_Tie, method: invoke_getSubscriptionIDs signature: (Loracle/j2ee/ws/server/StreamingHandlerState;)V) Incompatible argument to function at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671)
    Can anyone please help..?
    Thanks
    Rajasekaran

    Hi Grall,
    I'm using Oracle OC4J server 10.1.3 in WinXp OS. My JDK/JRE is 1.5.Previously, I kept a separate jar for my EJBs "epcis-ejb.jar" within my ear file and now I keep the ejb contents too inside the war file. This is as per the requirement of my project. Hence My EAR file will have a WAR file within it and all the webservice and EJB based sources are kept within a plan JAR file (not ejb-jar) with in the lib folder of the WAR file. One more point to add, EPCISService is the name of my webservice and EPCISServicePortTypeImpl is the impl class of the webservice where i define my business methods.
    Can you please help me..?
    Thanks
    Rajasekaran
    [email protected]

  • Handle a redirect when invoking a webservice

    Hello everyone,
    recently we launched SAP in our business and to manage the communication between SAP and some other applications we use web services.
    SAP now offers me some services and normally I just get the WSDL description of the service, fill the necessary input with a transform and invoke the service. Works fine.
    In one WSDL for example you can find the following location in the address-tag of the service: http://SAP0003:8010/sap/bc/srt/rfc/sap/book_ws/100/yca_book/yca_binding.
    I send the request to that URL and get a response.
    But now there's this problem: The server SAP0003 is just one of three SAP (SAP0001 & SAP0002) servers in our company and if these server breaks down, all request will abort, because they are unable to connect to the server - obviously.
    Therefor one of our SAP consultants set up a redirect. I now have to connect to the main server (SAP0001) on another port (8110) and would get redirected to a running server. If I now access the address http://SAP0001:8110/sap/bc/srt/rfc/sap/book_ws/100/yca_book/yca_binding in my browser I indeed get redirected, for example to URL stated above (http://SAP0003:8010/sap/bc/srt/rfc/sap/book_ws/100/yca_book/yca_binding). They use the port 8110 a message server port in SAP.
    But now what I can't do is just alter the URL in the WSDL from SAP0003:8010 to SAP0001:8110, because then the server also claims that it can't connect to the end point.
    So is there a way in BPEL to call the message server port, receive the URL and call that server?
    The consultant also mentioned a web dispatcher to handle the load balancing but this isn't installed yet and we currently trying to figure out a way without it.
    I really hope you guys unterstand my problem and I want to apologize for every grammar mistakes I made.
    We're using SOA Suite 11(0.0.5 I guess?) and BPEL 2.0.
    Regards,
    Carsten
    Edited by: 932813 on 08.05.2012 07:46

    Hi everyone,
    I have a problem, I am connectin to a lotus notes
    database to download a file (using URLConnection)
    ...gbp.nsf/agWebLAL?OpenAgent&UNID=A9D19EDE65447DF5C12
    56F2000465E87
    The thing is lotus notes doesn't give the filename,
    it redirects me to something first, then downloads
    the filename..
    Does anyone know of a way on how I can get the final
    url (the place where I am being redirected), filename
    and mimetype
    Thanks!This connects to a file in the database, and I was wondering if there is a way to get the final URL, the filename and the mimetype before downloading it? It downloads fine, I just want to be able to get the details before my users download it..

  • Operation Interrupted Exception when invoking webservice

    When invoking a webservice, ts observed that the connection is getting closed from client before complete response is read(after few chunks). Response from webservice is sent using Transfer-Encoding: chunked mode. But this dont happen always.. It happens intermittently and application receives a "*IOInterrruptedException: Operation Interrupted*" exception..
    Please help

    Kishore,
    See the links referenced in these threads.
    Web Services and R12
    Re: Web Services and R12
    Integrated SOA Gateway
    Re: Integrated SOA Gateway
    Regards,
    Hussein

  • Soap layer error when trying to invoke a webservice.

    Hi,
    I am new to Weblogic.
    I have an issue while invoking the webservice of a webmethods application.
    I am invoking that webservice using rpc call (call.invoke() method of javax.xml.rpc api).
    Please find error description occured in the Server logs of weblogic server.
    Exception while invoking the service call Message is :failed to invoke operation '__incidentReqInput' due to an error in the soap layer(SAAJ);
    nested exception is: Message[Found SOAPElement
    [<m:payload  xmlns:m="http://www.abc.com/gs/solutions/message"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:nil="true">
    </m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
    e name of the element should be one of these[__bea_noname_result]]StackTrace[
    javax.xml.soap.SOAPException: Found SOAPElement [<m:payload xmlns:m="http://www.abc.com/gs/solutions/message"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:nil="true">
    </m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
    e name of the element should be one of these[__bea_noname_result]
    at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:478)
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:325)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
    at com.gs.customerbonding.hub.httpHandler.WSResponseSenderImpl.sendResponse(WSResponseSenderImpl.jcs:370)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:371)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:381)
    at $Proxy106.sendResponse(Unknown Source)
    Any help is highly appreciated.
    Regards
    Nag

    I am not using any wsdl file. I'm trying to invoke a webservice that is at client's end (using RPC call). Mine is a generic server program. When i'm calling other clients using the same method, im not facing any issues. Only for 1 particular end-point i'm getting the above exception. Any suggestions?

  • ADF-BC not shown as fact type when decision service invoked as webservice

    Hello,
    I'm new to OBR.
    I have included 2 adf-bc fact types in my project (EmployeeView & Department View)
    Once the rule is created i get the error stating.
    RUL-05162 : The rule set "Ruleset1" requires fact type "EmployeeView", but this type is not part of the input.
    RUL:05164: The fact type "EmployeeView" is referenced, but is not asserted not input.
    So when i try including as input in the decision service, which is invoked as the webservice, the 'EmployeeView" is not shown in "FactType" drop down. When I uncheck "Will be invoked as webservice" checkbox, the EmployeeView is shown in the "Fact type" drop down in the 'Edit decision function' window.
    How to include the ADF-BC fact type, given the decision service is invoked as webservice and xml schema is given as input.
    Thanks in advance.

    you have to introduce a complexType in the xsd.. like
    <xs:element name="name">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="attributeId" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="description">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="attributeId" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>refer this for more info
    http://www.w3schools.com/schema/

  • Getting a security exception when invoking EJB from a webservice

    Hi,
    I am getting the following exception when Invoke an EJB from a web service.
    The EJB fails when it tries to access a remote object(RMI).
    When I invoke the EJB directly I dont get this exception.
    Both the EJB and the WS are deployed as part of the same application on weblogic 9.2 .
    the WS was created by jwsc ant task.
    This is the exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: com.bea.xml.XmlCalendar (no security m
    anager: RMI class loader disabled)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
    60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
    .java:701)
    at java.lang.Thread.run(Thread.java:534)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
    RemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
    223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
    at com.netcom.server.rmi.RequestHandlerImpl_
    Stub.copy(Unknown Source)
    Message was edited by:
    guyh

    Hi Jitu,
    I changed the wsdl. And so I don�t get the warning anymore. My Webservice also runs well, now. Thanks anyway for the reply.
    There is a nice tech article on the sun network, which solved my problem. The basic idea is to split the wsdl into 2 wsdl documents. one containing all the porttypes messages and so on. And the other wsdl contains the binding and service elements.
    If you are interested check out this link:
    http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/index2.html
    thanks,
    footman

  • Problem when invoking OWSM registered webservices

    Hi all,
    In Oracle Webservice manager(OWSM) i registered a webservice for authentication and authorization. Then i am invoking this webservice from apex application, but when i am running the application it's giving the "authentication failed". But i am giving the valid username and password. But in OWSM it's working fine.
    can u pls help me how we can call the webservices which are registered in OWSM.
    thanks in advance
    mani

    Hi all,
    In Oracle Webservice manager(OWSM) i registered a webservice for authentication and authorization. Then i am invoking this webservice from apex application, but when i am running the application it's giving the "authentication failed". But i am giving the valid username and password. But in OWSM it's working fine.
    can u pls help me how we can call the webservices which are registered in OWSM.
    thanks in advance
    mani

  • Issue in invoking the webservice on EBS 12.1.3

    Hi,
    We are using R12.1.3 version of EBS. We have developed the custome PL SQL logic and deployed it on the Integration repository. Generated the WSDL and Deploy process were successful on IR. Authentication type used was "Username Token". Created the necessary user grants.
    When we try to invoke the webservice from SOAP UI, we are getting below error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Also, we checked in the log files and found below entries.
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.webservices.provider.ProviderException: oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull.</MSG_TEXT>
    <MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
    Can someone help me in this issue? We are successfully able to invoke the same webservices on R12.1 version but getting an error in 12.1.3 version!!!
    Thanks in advance.
    Regards,
    Vasanth

    Hi,
    Try seeing the log messages after doing the following setup in the instance :-
    1. Telnet to environment
    1. In $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
    1. Add following property at the end of the file : SOA_ENABLE_STANDALONE_LOGGING=TRUE
    2. Bounce oafm container using script $ADMIN_SCRIPTS_HOME/adoafmctl.sh
    3. Perform any SOA specific action like generate.
    SOA specific log would be created at : $INST_TOP/soa/SOALog.log
    This file should show you the exact error happening.
    Thanks,
    Sai.M

  • Unexpected element name: expected WHEN INVOKING A WEB SERVICE

    I am pretty new to Web Services and need some helping in resolving the following error. I created following two classes and published one of the method savePerson. When I tried to invoke the webservice through my browser passing the following:
    <ns1:savePersonElement xmlns:ns1="http://mypackage17/Person.wsdl/types">
    <ns1:sex>simpleType value</ns1:sex>
    <ns1:human>
    <ns2:last xmlns:ns2="http://tempuri.org">simpleType value</ns2:last>
    <ns3:first xmlns:ns3="http://tempuri.org">simpleType value</ns3:first>
    </ns1:human>
    </ns1:savePersonElement>
    I get the following error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://mypackage17/Person.wsdl/types">
    <env:Body>
    <env:Fault>
    <faultcode>env:Client</faultcode>
    <faultstring>caught exception while handling request: unexpected element name: expected={http://mypackage17/Person.wsdl/types}name, actual={http://mypackage17/Person.wsdl/types}sex</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    But passing the following works fine as have passed all the parameters data:
    <ns1:savePersonElement xmlns:ns1="http://mypackage17/Person.wsdl/types">
    <ns1:name>simpleType value</ns1:name>
    <ns1:sex>simpleType value</ns1:sex>
    <ns1:human>
    <ns2:last xmlns:ns2="http://tempuri.org">simpleType value</ns2:last>
    <ns3:first xmlns:ns3="http://tempuri.org">simpleType value</ns3:first>
    </ns1:human>
    </ns1:savePersonElement>
    Here is the code I have for the webservice:
    package mypackage17;
    *@oracle.ws.WebService name = "MyWebService2", serviceName = "MyWebService2", description = "", targetNamespace = "http://tempuri.org", schemaTargetNamespace = "http://mypackage17/Person.wsdl/types", endpointInterface = "mypackage17.MyWebService1SEI"
    *@oracle.ws.SOAPBinding style = "DOCUMENT", use = "LITERAL", documentWrapped = "true", bindingName = "MyWebService1SoapHttp", portName = "MyWebService1Port"
    public class Person extends Human
    private String name;
    private String sex;
    public Person(){}
    public void setName(String name)
    this.name = name;
    public void setSex(String sex)
    this.sex = sex;
    public String getName()
    return this.name;
    public String getSex()
    return this.sex;
    *@oracle.ws.DocumentWrapper requestType = "savePerson", requestElement = "savePersonElement", requestPart = "parameters", responseType = "savePersonResponse", responseElement = "savePersonResponseElement", responsePart = "parameters"
    *@oracle.ws.WebMethod operationName = "savePerson", description = "", oneway = "false", documentWrapped = "true", inputMessage = "MyWebService1SEI_savePerson", outputMessage = "MyWebService1SEI_savePersonResponse", responsePart = "result"
    *@oracle.ws.ParamPart position = "0", partName = "name", mode = "IN", soapHeader = "false"
    *@oracle.ws.ParamPart position = "1", partName = "sex", mode = "IN", soapHeader = "false"
    *@oracle.ws.ParamPart position = "2", partName = "human", mode = "IN", soapHeader = "false"
    public void savePerson(String name, String sex, Human[] human)
    System.out.println("Name: " + name);
    System.out.println("Sex: " + sex);
    System.out.println(human.length);
    System.out.println("1 First: " + human[0].getFirst());
    System.out.println("1 Last: " + human[0].getLast());
    System.out.println("2 First: " + human[1].getFirst());
    System.out.println("2 Last: " + human[1].getLast());
    /****** THE OTHER CLASS ********/
    package mypackage17;
    public class Human
    private String first;
    private String last;
    public Human(){}
    public void setFirst(String first)
    this.first = first;
    public void setLast(String last)
    this.last = last;
    public String getFirst()
    return this.first;
    public String getLast()
    return this.last;
    Here is the WSDL generated using JDeveloper 10.1.3:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions
    name="MyWebService2"
    targetNamespace="http://tempuri.org"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://tempuri.org"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:ns1="http://mypackage17/Person.wsdl/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org" elementFormDefault="qualified"
    xmlns:tns="http://tempuri.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://mypackage17/Person.wsdl/types"/>
    <complexType name="Human">
    <sequence>
    <element name="last" type="string" nillable="true"/>
    <element name="first" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mypackage17/Person.wsdl/types"
    elementFormDefault="qualified" xmlns:tns="http://mypackage17/Person.wsdl/types"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tempuri.org">
    <import namespace="http://tempuri.org"/>
    <complexType name="savePerson">
    <sequence>
    <element name="name" type="string" nillable="true"/>
    <element name="sex" type="string" nillable="true"/>
    <element name="human" type="ns1:Human" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="savePersonResponse">
    <sequence/>
    </complexType>
    <element name="savePersonElement" type="tns:savePerson"/>
    <element name="savePersonResponseElement" type="tns:savePersonResponse"/>
    </schema>
    </types>
    <message name="MyWebService1SEI_savePerson">
    <part name="parameters" element="ns1:savePersonElement"/>
    </message>
    <message name="MyWebService1SEI_savePersonResponse">
    <part name="parameters" element="ns1:savePersonResponseElement"/>
    </message>
    <portType name="MyWebService2">
    <operation name="savePerson">
    <input message="tns:MyWebService1SEI_savePerson"/>
    <output message="tns:MyWebService1SEI_savePersonResponse"/>
    </operation>
    </portType>
    <binding name="MyWebService1SoapHttp" type="tns:MyWebService2">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="savePerson">
    <soap:operation soapAction="http://tempuri.org:savePerson"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <service name="MyWebService2">
    <port name="MyWebService1Port" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://192.168.2.101:8988/JavaWebService/MyWebService2"/>
    </port>
    </service>
    </definitions>
    Can someone tell what am I doing wrong. As it looks like I have to pass all the parameters for the method that is published but what if some are missing basically I want to keep all the parameters optional. How can I make the service to return the same what is passed when invoked. Any help is appreciated. I am using JDeveloper 10.1.3.

    To make the service return "whatever is passed", you have to take a step back and realize that there is a little understanding of XML Schema required.
    When using a complexType, which is defined as a sequence, then you are implying an ordered sequence of elements. Default value for the 'minOccurs' attribute is 1. It's also important to understand that there is a difference between minOccurs=0 and nillable="true".
    nillable="true" just means that the name element can carry a null value. If you want the name element to be optional, then you must use the minOccurs=0 and keep the maxOccurs to it's default value of 1. Using an array is just a bad work around. This is for deserialization (XML to JAVA).
    The second part of you problem is on the serialization (or JAVA to XML). When you have a JAVA Bean, there is no way to make the difference between a member's value being null or not set, so it's impossible to decide if you need to send back a nul (xsi:nil="true"), an empty element <ns1:name/> or nothing.
    That said, if you do want to go the XML route, you can use the dataBinding="false" flag in the different WSA command. Instead of converting XML into JAVA, you will have SOAPElement parameters, where you can do all you want (see WS user's guide [1] for details - chapter 16). Note that you have to make sure that the WSDL (your contract) reflect what you are doing on the wire (format of your messages), so that you do not geopardize your interoperability with other toolkit.
    Note that this only applies to literal message formats (use attribute in WSDL), which is your case.
    Hope this helps,
    Eric
    [1] http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14434.pdf

  • Error when invoking pl/sql web service from bpel

    Hi!
    I have a simple 'Hello World' pl/sql web service. When i invoke it in asynchronous BPEL process, a local WSDL file is automatically generated for the parterlink used. The process even gets successfully deployed without any warning or error. But in the BPEL console when I create an instance, its alwaya being faulted and the audit give the following error at invoke:
    "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    <remoteFault>
    <part name="code" >
    <code>Server.userException</code>
    </part>
    <part name="summary" >
    <summary>when invoking endpointAddress 'null', java.net.UnknownHostException: www.proxy.us.oracle.com</summary>
    </part>
    <part name="detail" >
    <detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.UnknownHostException: www.proxy.us.oracle.com faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: www.proxy.us.oracle.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:155) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:117) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:158) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:450) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94) at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.collaxa.thirdparty.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2732) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NewUser-lap </detail>
    </part>
    </remoteFault>
    Can anybody please tell what could be the problem,
    Thanking in advance,
    Deepika.

    www.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file

Maybe you are looking for