Invoking operation on SPML Service

Hi
I was trying to invoke one of the operations on the SPML service thru he SOAP UI interface. This is what I did :
Created the project
a) Imported the SPML Service
b) Created the test suite
After the above steps, I tried invoking an operation like "SPMLAddRequest" ..I got this error message :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>ns0:InvalidSecurity</faultcode>
<faultstring>InvalidSecurity : error in processing the WS-Security security header</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
ANy ideas to set the security header ..or any other suggestions using other IDE.
Thanks

This works for 11.1.1.3.0
- You must add the security header, and use the credentials of a user who has the right privileges. We are using a user that has the "SYSTEM ADMIN" role.
- For the 'deleteRequest' alone, my experience has been that you have to specify a value for the 'executionMode' and the value for "psoID' must be of the form 'identity:NNN'.
- I have been able to test all other requests using no value for 'executionMode' and not pre-fixing the psoID with 'identity:'
You must also first apply the updates suggested via knowledge base article '1262801.1' which will walk you through changing the security policy that is in effect for the SPML services.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:names:spml:ws:header" xmlns:urn1="urn:oasis:names:tc:SPML:2:0" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<soapenv:Header>
<ns1:Security>
<ns1:UsernameToken>
<ns1:Username>${SPML_ADMIN_ID}</ns1:Username>
<ns1:Password>${SPML_ADMIN_PASSWORD}</ns1:Password>
</ns1:UsernameToken>
</ns1:Security>
</soapenv:Header>
<soapenv:Body>
<urn1:deleteRequest requestID="deleteRequest-${REQ_ID}" executionMode="asynchronous" locale="?" policyURI="?" recursive="false">
<!--You may enter ANY elements at this point-->
<!--Zero or more repetitions:-->
<urn1:capabilityData mustUnderstand="?" capabilityURI="?">
<!--You may enter ANY elements at this point-->
</urn1:capabilityData>
<urn1:psoID ID="identity:${PSO_ID}" targetID="?">
<!--You may enter ANY elements at this point-->
<!--Optional:-->
<urn1:containerID/>
</urn1:psoID>
</urn1:deleteRequest>
</soapenv:Body>
</soapenv:Envelope>
Thanks
Aspi Engineer
Putnam Investments

Similar Messages

  • Faulted while invoking operation "sendEmailNotification"

    Hi!
    I've got a BPEL process and in the end of the process I send completion message by email.
    This is working most of the times, but sometimes I've got a fault like this:
    InvokeNotificationService (faulted)
    [2010/10/07 13:38:02] Faulted while invoking operation "sendEmailNotification" on provider "NotificationService".less
    -<messages>
    -<input>
    -<varNotificationReq>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="EmailPayload">
    -<EmailPayload xmlns="" xmlns:def="http://xmlns.oracle.com/ias/pcbpel/NotificationService" xsi:type="def:EmailPayloadType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <FromAccountName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Default
    </FromAccountName>
    <To xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">[email protected]
    </To>
    <ReplyToAddress xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <Subject xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">BPEL Message
    </Subject>
    -<Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MimeType>text/html; charset=UTF-8
    </MimeType>
    <ContentBody>
    Dear Customer,
    <P>
    Following order has been created in JD Edwards EnterpriseOne
    <br>
    Order Number: <b>18169</b>
    <br>
    Document Type: <b>SO</b>
    <br>
    </P>
    <P>
    Total Output Variable:
    <br>
    T787 OSE100W 101007702464520T7871064711T787 526 W 1EA87808878088960.00008960.001.0001041271EA010520T7871064711T787 526 W 2EA87808878088960.00008960.002.0001041271EA010520T7871064711T787 526 W 3EA87808878088960.00008960.003.0001041271EA010520T7871064711T787 526 W 4EA87808878088960.00008960.004.0001041271EA010520T7871064711T787 526 W 5EA87808878088960.00008960.005.0001041271EA010520T7871064711T787 526 W 6EA87808878088960.00008960.006.0001041271EA010520T7871064711T787 526 W 7EA87808878088960.00008960.007.0001041271EA010520T7871064711T787 526 W 8EA87808878088960.00008960.008.0001041271EA010EUR 2010-10-07T00:00:00.000+02:00 A 10B011816900010SO71680DE-30853 TOYOTA MAT. HAND. DEUTSCHLAND GMBH 104127 DE LANGENHAGEN Postfach 10 12 48
    </P>
    Best Regards,
    <br>
    Order Department
    </ContentBody>
    <ContentEncoding/>
    </Content>
    <EmailHeaders xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <Cc xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <Bcc xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    </EmailPayload>
    </part>
    </varNotificationReq>
    </input>
    -<fault>
    -<NotificationServiceFault xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    -<part name="faultInfo">
    <faultInfo>
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-31002
    Error while sending notification.
    Error while sending notification.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
         at oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:346)
         at oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:116)
         at oracle.bpel.services.notification.ejb.impl.NotificationBean.sendEmailNotification(NotificationBean.java:329)
         at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at NotificationServiceBean_LocalProxy_68d4144.sendEmailNotification(Unknown Source)
         at oracle.tip.pc.services.notification.NotificationService.sendEmailNotification(NotificationService.java:365)
         at oracle.tip.pc.services.notification.NotificationService.sendEmailNotification(NotificationService.java:343)
         at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.collaxa.cube.ws.wsif.providers.java.WSIFOperation_Java.executeRequestResponseOperation(WSIFOperation_Java.java:1019)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:478)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:437)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:826)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:402)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1087)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:133)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:162)
         at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:547)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:464)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:133)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         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:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         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:595)
    Caused by: ORABPEL-31005
    Error while inerting notification in repository.
    Error while inerting notification in repository.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
         at oracle.bpel.services.notification.repos.driver.oracle.OracleNotificationReposService.insertNotification(OracleNotificationReposService.java:140)
         at oracle.bpel.services.notification.NotificationUtil.insertNotification(NotificationUtil.java:98)
         at oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:316)
         ... 106 more
    Caused by: java.sql.SQLException: javax.resource.ResourceException: RollbackException: Transaktionen har markerats för återställning: Timed out
         at oracle.oc4j.sql.spi.ManagedConnectionImpl.setupTransaction(ManagedConnectionImpl.java:841)
         at oracle.oc4j.sql.spi.ConnectionHandle.oc4j_intercept(ConnectionHandle.java:305)
         at oracle_jdbc_driver_T4CConnection_Proxy.prepareStatement()
         at oracle.bpel.services.notification.repos.driver.oracle.OracleNotificationReposService.insertNotification(OracleNotificationReposService.java:112)
         ... 108 more
    Caused by: javax.resource.ResourceException: RollbackException: Transaktionen har markerats för återställning: Timed out
         at com.evermind.server.connector.ConnectionContext.setupForJTATransaction(ConnectionContext.java:342)
         at com.evermind.server.connector.ConnectionContext.setupForTransaction(ConnectionContext.java:279)
         at com.evermind.server.connector.ConnectionContext.setupForTransaction(ConnectionContext.java:269)
         at com.evermind.server.connector.ApplicationConnectionManager.lazyEnlist(ApplicationConnectionManager.java:2004)
         at oracle.j2ee.connector.OracleConnectionManager.lazyEnlist(OracleConnectionManager.java:285)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.enlist(ManagedConnectionFactoryImpl.java:532)
         at oracle.oc4j.sql.spi.ManagedConnectionImpl.setupTransaction(ManagedConnectionImpl.java:839)
         ... 111 more
    Exception: ORABPEL-31002
    Error while sending notification.
    Error while sending notification.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    Handled As: oracle.tip.pc.services.notification.NotificationServiceException
    </faultInfo>
    </part>
    </NotificationServiceFault>
    </fault>
    </messages>
    Have anybody experinced the same problem and can tell me what's wrong?
    Thanks in advance,
    Nick

    would this post be of help ?
    Email Error When using Wait activity

  • Faulted while invoking operation

    Hi
    I have problem like below. I think it is invalid schema but it looks good.
    Faulted while invoking operation "UpdateInstalledProduct" on provider "InstalledProductService".
    - <messages>
    - <input>
    - <updateInstalledProductRequestMsg>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameter">
    - <UpdateInstalledProductRequest xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductRequest.V1">
    - <UpdateInstalledProductArgs>
    - <RF_IPRD_WS_WRK class="R" xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductArgs.V1">
    <Setid/>
    <InstalledProductID/>
    <AssetType/>
    <AssetSubtype/>
    <ContactID/>
    <ContactRoleTypeID/>
    <ProductID/>
    <InventoryItemID/>
    <SerialID/>
    <AssetTag/>
    <OrderDate/>
    <ShipDate/>
    <InstalledDate/>
    <SiteID/>
    <PersonID/>
    <DepartmentID/>
    <Location/>
    <ProductOwnership/>
    <DistributorID/>
    <DistributorContact/>
    <PoID/>
    <CaptureID/>
    <ExternalID/>
    <LineNumber/>
    <ConfigurationCode/>
    <Environment/>
    <Platform/>
    <Network/>
    <OperatingSystem/>
    <UserInterface/>
    <OperatingSystemVersion/>
    <ManufacturingID/>
    <Model/>
    <ParentInstalledProductID/>
    <AuthorizationCode/>
    <RegisteredDate/>
    <Comments/>
    <AccountID/>
    <ParentAccountID/>
    <SponsoredAccountID/>
    <RBTExternalID/>
    <RBTLineNumber/>
    <ServiceEndDate/>
    <Schedule/>
    <AgreementCode/>
    <Service/>
    <ResumeDate/>
    <PhoneNumber/>
    <PhoneTemp/>
    <PacCode/>
    <PacDate/>
    <PortinDate/>
    <DisconnectDate/>
    <SuspendDate/>
    <RecurPrice/>
    <CurrencyCode/>
    <Market/>
    - <RF_IPRDS_WS_WRK class="R">
    <InstalledProductStatus>
    PDI
    </InstalledProductStatus>
    <InstalledProductReason/>
    <Quantity>
    1
    </Quantity>
    </RF_IPRDS_WS_WRK>
    - <RF_IPRDW_WS_WRK class="R">
    <WarrantyName>
    ffffffffffffff
    </WarrantyName>
    <StartDate/>
    <EndDate/>
    <ActiveFlag/>
    </RF_IPRDW_WS_WRK>
    - <RF_IPRDA_WS_WRK class="R">
    <Market/>
    <AttributeID/>
    <AttributeItemID/>
    <AttributeValue/>
    <AttributeDate/>
    <AttributeNumber>
    2
    </AttributeNumber>
    </RF_IPRDA_WS_WRK>
    </RF_IPRD_WS_WRK>
    </UpdateInstalledProductArgs>
    </UpdateInstalledProductRequest>
    </part>
    </updateInstalledProductRequestMsg>
    </input>
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    If anybody knows how to fix it I will be thankfull.
    Thanks

    I have same issue

  • _Choosing operation in Business Service on run  time

    Hi,
    I have a WSDL having multiple operations. The same wsdl is usd to create business and proxy service.
    In proxy service I am using operational branching.So for each operation , I need to call business service with respective operation.
    Is there any way to choose the operation in business service on run time using single route node.Is it possible through Dynamic Routing?
    I have used dyanmic routing to choose different business service at run time.
    Please let me know if some other information is required.
    Thanks in advance,
    Seemant

    The following code can be used inside the expresion for Dynamic routing to achieve the same-
    <ctx:route>
    <ctx:service>{$path}</ctx:service>
    <ctx:service>{$operation}</ctx:service>
    </ctx:route>
    The vairable operation keeps the name of the operation invoked.

  • Problem in building schema when try to invoke the another BPEL service

    Hi all,
    Whenever try to Invoke a another BPEL service using the Invoke activiy and Partnerlink, we need to create a variable structure similar to the providing service.
    For this I used create Auto Varible option available in the invoke activity. But after creating the variable, I tried to expand the variable for the copy operation, the error iam getting is Problem in building schema.
    This error never happened to me before. I have no clue.
    Jdev version:10.1.3.3.0
    Soa version:10.1.3.3.0
    Please help me on this.
    Thanks.

    Hi Lokesh,
    Iam not able to understand what you are trying to say. But my Input variable and Invoke Input variable are compatible, no problem on this. I got some clue from your reply.
    Finally I got it worked by doing it in another way.
    In my Invoking BPEL Process(ie. BPEL Process is trying to invoke the another BPEL Process using Partnerlink) wsdl I imported the partnerlink BPEL schema and it get solved my problem.
    eg) <import namespace="http://xmlns.oracle.com/BpelProcessname" schemaLocation="ParnerLinkBPELSchema.xsd"/>
    This can be usefull for others and I never did this to import the schema manually before, but it works without any errors.
    Now only it causing this problem, whether it is any Jdeveloper issue.
    And i tryed this using Jdev version 10.1.3.4.0, but still the same exception.
    This workaround will usefull for others.
    Thanks for your reply.
    bye.....

  • Invoke External HTTPS Web Service from OSB 11G

    Hi,
    We have a requirement to invoke a HTTPS web service hosted by third-party and we have to send HTTP basic authentication detials also.
    Third party given us the HTTP basic authentication details and only certificate nothing else.
    After some research service account can be used for basic authentication and service key provider for https requirement.
    But before service key provider creation there are steps to import the certificate into weblogic server and do some config steps (PKI cred mapping and all )I have gone through the forums but i am new to OSB and SSL i could not understand.
    Can some one help with detailed steps.
    Thanks in Advance
    Srikanth

    You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
    http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
    http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
    Hope this helps.
    -Wasil

  • Invoke operation not found

    Hi all,
    I have a problem invoking a small process inside a bigger process. I get the following error:
    2007-12-10 14:38:00,206 ERROR [com.adobe.workflow.AWS] stalling action-instance: 4545 with message: ALC-DSC-121-000: com.adobe.idp.dsc.registry.InputParameterNotFoundException: Operation: invoke not found on service: Send mails to receiver
    at com.adobe.idp.dsc.registry.infomodel.impl.OperationImpl.getInputParameter(OperationImpl.j ava:175)
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:480)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2881)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2380)
    at sun.reflect.GeneratedMethodAccessor898.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    I can understand the error, but I don't know what I can do to fix the problem. The process is activated and I have set invoke permissions to the process creator. However I still get this error.
    Hope you can help.
    Sincerely
    Kim Christensen

    Does you "smaller" process contain Input variables. Are you providing the value for the inputs parameters when you call the "smaller" process from the "bigger" process.
    How are you invoking the "smaller" process from the "bigger" process. Are you just dragging the "smaller" process's service on the "bigger" process? Are you using the web service interface?
    Jasmin

  • SOA Humantask :Faulted while invoking operation "initiateTask" on provider "TaskService"

    Hi,
    iam new to Oracle SOA humanask,
    Iam migrating SOA 10.1.1.3 to SOA 11.1.1.7.
    After migration of BPEL Humantask process,iam getting "Faulted while invoking operation "initiateTask" on provider "TaskService" in audit trail as below.
    Can you please suggest me.
    initiateTask_GenericHumanTask (faulted)
    Jan 29, 2014 3:39:30 PM Started invocation of operation "initiateTask" on partner "TaskService".
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Faulted while invoking operation "initiateTask" on provider "TaskService".
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
    <messages>
    <input>
    <initiateTaskInput>
    <part  name="payload">
    <initiateTask>
    <task>
    <title>a</title> 
    <payload>
    <BPELGenericHumanTaskProcessRequest>
    <ns1:SERVICE_ID>a</ns1:SERVICE_ID> 
    <ns1:SERVICE_TYPE>a</ns1:SERVICE_TYPE>
    <ns1:APPLICATION_ID>a</ns1:APPLICATION_ID>
    <ns1:TASK_TITLE>a</ns1:TASK_TITLE>
    <ns1:FLEXATTR1>a</ns1:FLEXATTR1>
    <ns1:FLEXATTR2>a</ns1:FLEXATTR2>
    <ns1:FLEXATTR3>a</ns1:FLEXATTR3>
    <ns1:FLEXATTR4>a</ns1:FLEXATTR4>
    <ns1:FLEXATTR5>a</ns1:FLEXATTR5>
    <ns1:FLEXATTR6>a</ns1:FLEXATTR6>
    <ns1:FLEXATTR7>a</ns1:FLEXATTR7>
    <ns1:FLEXATTR8>a</ns1:FLEXATTR8>
    <ns1:FLEXATTR9>a</ns1:FLEXATTR9>
    <ns1:FLEXATTR10>a</ns1:FLEXATTR10>
    </BPELGenericHumanTaskProcessRequest>
    </payload>
    <taskDefinitionURI>http://devapp1.dsoa.loc:8001/soa-infra/services/default/BPELGenericHumanTask!1.0*soa_d6763166-24c8-4c7b-9635-a48bb75fa718/GenericHumanTask/GenericHumanTask.task</taskDefinitionURI>
    <ownerUser>bpeladmin</ownerUser>
    <priority>NaN</priority>
    <processInfo>
    <domainId/> 
    <instanceId>130093</instanceId>
    <processId>BPELGenericHumanTask</processId>
    <processName>BPELGenericHumanTask</processName>
    <processType>BPEL</processType>
    <processVersion>1.0</processVersion>
    </processInfo>
    <systemMessageAttributes>
    <textAttribute1>a</textAttribute1> 
    </systemMessageAttributes>
    <identificationKey>a</identificationKey>
    </task>
    </initiateTask>
    </part>
    </initiateTaskInput>
    </input>
    <fault>
    <bpelFault>
    <faultType>1</faultType> 
    <operationErroredFault>
    <part  name="payload">
    <operationErroredFault>
    <faultInfo>java.lang.NullPointerException</faultInfo> 
    </operationErroredFault>
    But finally it gives result as below:
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewerAssign_OnTaskInitiate
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Error in evaluate <from> expression at line "288". The result is empty for the XPath expression : "/task:task/task:systemAttributes/task:taskId".
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
    <task/> 
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Error in evaluate <from> expression at line "296". The result is empty for the XPath expression : "/task:task/task:systemAttributes/task:taskNumber".
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
    <task/> 
    Jan 29, 2014 3:39:30 PM Completed assign
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewerInvoke_OnTaskInitiate
    Jan 29, 2014 3:39:30 PM Started invocation of operation "OnInitiateSQLCallback" on partner "OnInitiateSQLCallback".
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Invoked 2-way operation "OnInitiateSQLCallback" on partner "OnInitiateSQLCallback".
    http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
    <messages>
    <Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable>
    <part  name="InputParameters">
    <InputParameters>
    <db:P_SERVICE_ID>a</db:P_SERVICE_ID> 
    <db:P_SERVICE_TYPE>a</db:P_SERVICE_TYPE>
    <db:P_APPLICATION_ID>a</db:P_APPLICATION_ID>
    <db:P_BPEL_TASK_NUMBER  xsi:nil="true"/>
    <db:P_BPEL_TASK_ID  xsi:nil="true"/>
    <db:P_FLEXATTR1>a</db:P_FLEXATTR1>
    <db:P_FLEXATTR2>a</db:P_FLEXATTR2>
    <db:P_FLEXATTR3>a</db:P_FLEXATTR3>
    <db:P_FLEXATTR4>a</db:P_FLEXATTR4>
    <db:P_FLEXATTR5>a</db:P_FLEXATTR5>
    <db:P_FLEXATTR6>a</db:P_FLEXATTR6>
    <db:P_FLEXATTR7>a</db:P_FLEXATTR7>
    <db:P_FLEXATTR8>a</db:P_FLEXATTR8>
    <db:P_FLEXATTR9>a</db:P_FLEXATTR9>
    <db:P_FLEXATTR10>a</db:P_FLEXATTR10>
    </InputParameters>
    </part>
    </Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable>
    <Invoke_OnTaskInitiate_OnInitiateSQLCallback_OutputVariable>
    <part  name="OutputParameters

    I have same issue

  • Faulted while invoking operation "execute" on provider "OrderFulfillment".

    faulted while invoking operation "execute" on provider "OrderFulfillment".
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    These are the exceptions i have received while running the sample soademo application in the postfulfillementreq scope.
    help me out with this exception.Unable to proceed further

    Hi
    I have a problem. my process is closed but I have error and appears message like below.
    Faulted while invoking operation "UpdateInstalledProduct" on provider "InstalledProductService"
    <messages><input><UpdateInstalledProductRequestMsg><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameter"><UpdateInstalledProductRequest xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductRequest.V1">
    <UpdateInstalledProductArgs>
    <RF_IPRD_WS_WRK class="R" xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductArgs.V1">
    <Setid>COM01</Setid>
    <InstalledProductID>INS0252365</InstalledProductID>
    <AssetType/>
    <AssetSubtype/>
    <ContactID/>
    <ContactRoleTypeID/>
    <ProductID/>
    <InventoryItemID/>
    <SerialID/>
    <AssetTag/>
    <OrderDate/>
    <ShipDate/>
    <InstalledDate/>
    <SiteID/>
    <PersonID/>
    <DepartmentID/>
    <Location/>
    <ProductOwnership/>
    <DistributorID/>
    <DistributorContact/>
    <PoID/>
    <CaptureID/>
    <ExternalID/>
    <LineNumber/>
    <ConfigurationCode/>
    <Environment/>
    <Platform/>
    <Network/>
    <OperatingSystem/>
    <UserInterface/>
    <OperatingSystemVersion/>
    <ManufacturingID/>
    <Model/>
    <ParentInstalledProductID/>
    <AuthorizationCode/>
    <RegisteredDate/>
    <Comments/>
    <AccountID/>
    <ParentAccountID/>
    <SponsoredAccountID/>
    <RBTExternalID/>
    <RBTLineNumber/>
    <ServiceEndDate/>
    <Schedule/>
    <AgreementCode/>
    <Service/>
    <ResumeDate/>
    <PhoneNumber/>
    <PhoneTemp/>
    <PacCode/>
    <PacDate/>
    <PortinDate/>
    <DisconnectDate>2008-06-05</DisconnectDate>
    <SuspendDate/>
    <RecurPrice/>
    <CurrencyCode/>
    <Market/>
    <RF_IPRDS_WS_WRK class="R">
    <InstalledProductStatus>PDI</InstalledProductStatus>
    <InstalledProductReason/>
    <Quantity>1</Quantity>
    </RF_IPRDS_WS_WRK>
    <RF_IPRDW_WS_WRK/>
    <RF_IPRDA_WS_WRK/>
    </RF_IPRD_WS_WRK>
    </UpdateInstalledProductArgs>
    </UpdateInstalledProductRequest>
    </part></UpdateInstalledProductRequestMsg></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html</summary>
    </part></remoteFault></fault></messages>
    If someone have any suggestions please write.
    Thanks in advance

  • Serialization error while invoking a Java web service

    Hi,
    I've a requirement where I need to create a Java web service, which returns a collection (a set of records).
    The way I've created a web service is by having a Java Class, which internally calls a Pl/sql package returning Ref cursors and a bean Class, which wraps the method of the Java Class, to return the collection. I could create the web service successfully and could invoke the end point. The end point looks like this: http://localhost:8988/MyJavaWebService-New_JWS-context-root/MyWebService_finalSoapHttpPort
    The method exposed for the web service in my Java class is of type ArrayList, to fetch the collection element.
    After giving the input at the end point, while I say invoke, for the web service, 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://mypkg/types/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Internal Server Error (serialization error: no serializer is registered for (class mypkg.EmpBean, null))</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I've tried making my exposed method of type Vector as well and re-generated the web service. But still I face the same issue at invocation.
    Can anybody help me out and hint me on how I should proceed? I'm not sure if my approach is correct and so please correct me if I'm wrong.
    Thanks in Advance,
    Gayathri

    Hi,
    do you use 10.1.2 or 10.1.3?
    Take a look at:
    Re: How to create a web service with ArrayList or Collection

  • Error message when trying to sign in with iTunes: ConnectionManager::invoke::failed to find service connection url.

    I recently signed out of itunes on my imac and when i tried to sign back in i get the error message: ConnectionManager::invoke::failed to find service connection url. If i try again i get another box asking if i've forgotten my password. But my password is definitely right as i just used to it make an account on this support page. Any simple ways of fixing this?

    Just to test the simple things first, did you try to sign in using another credential?
    If only yours fails, then is a RIM issue, otherwise is indeed your Playbook failure.
    --- Catalonia, next state in Europe ----
    Use the "solved" or "Like" icons if my answer helped you.
    BES10 administrator for several customers.
    "SMPTE Calculator" timecode APP developer for BB10

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Invoking a SAP web service from Dreamweaver MX

    I am trying to invoke a SAP web service from ColdFusion and it looks like ColdFusion does not even recognize the rfc generated wsdl file as a wsld file.  I have tried other wsdl url's outside my company and they work...so I know that web services at least work in ColdFusion.  Can anyone advise on this topic?
    Thanks!

    Paula,
    I suppose you're using CFINVOKE (http://www.activsoftware.com/code_samples/code.cfm/CodeID/44/ColdFusion/Invoking_SOAP_Web_Services_with_ColdFusion_MX_CFINVOKE_Tag) or are you using a third party tool like CFX_SOAP (http://www.activsoftware.com/products/productdetail.cfm/id/1015)?
    Are you working with WebAS 6.4 or 6.2?
    It works with web services created with WebAS 6.4, but you should generate proxy classes. Check Thomas' weblog (second part of it)->https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1012. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    The WSDL generated by this method is more standard than the one generated when you just Remote enable an FM and look at the webservice browser.
    Th core of CF MX is Java and that engine is rather strict in standards.
    Eddy

  • Invoking an external web service through a JCD with Basic Authentication

    Group,
    I am trying to invoke an external web service (written in ASP.Net) from a jcd (5.1.2). The web service is guarded by Basic Authentication. I have entered the crudentials into the External Web service environment component and deployed the project. I receive the following error from the .invoke() method:
    request requires HTTP authentication: Unauthorized
    I have tried the same request through SoapUI using the same crudentials and get back the response correctly. Has anyone tried invoking an external web service with basic authentication through a jcd in 5.1.2 before?
    One other item of note. I have another jcd calling a different external web service deployed on the same domain. I hope that this isn't interfering with the execution of this service as it doesn't require any crudentials to execute.

    Hey Chris.
    I am just starting to write a jcd that calls an external web service but cannot find any sample code nor instructions on how to do it in the supplied documentation. Could you send me a code sample from your one?
    Cheers
    Matt

  • Unable to invoke a protected web service from PL/Sql

    Hi All
    I am trying to invoke a protected web service from Plsql. But getting the below error.
    error message is ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00104: Warning: element "html" is not declared in the DTD
    Error at line 2
    If i try to invoke the service after disabling the protection then i am able to call it and getting response. Pls let me know how to deal with this authentication issue.
    Below is the invoking code i am using.
    BEGIN
    generate_envelope(p_request, l_envelope);
    show_envelope(l_envelope);
    l_http_request := UTL_HTTP.begin_request(p_url, 'POST','HTTP/1.0');
    UTL_HTTP.set_header(l_http_request, 'Authorization', 'Basic Y29tcGxpYW5jZS5nZW46Y29tcGxpYW5jZQ11');
    UTL_HTTP.set_header(l_http_request, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header(l_http_request, 'Content-Length', LENGTH(l_envelope));
    UTL_HTTP.set_header(l_http_request, 'SOAPAction', p_action);
    UTL_HTTP.write_text(l_http_request, l_envelope);
    l_http_response := UTL_HTTP.get_response(l_http_request);
    UTL_HTTP.read_text(l_http_response, l_envelope);
    UTL_HTTP.end_response(l_http_response);
    l_response.doc := XMLTYPE.createxml(l_envelope); -- Error Line
    l_response.envelope_tag := p_request.envelope_tag;
    l_response.doc := l_response.doc.extract('/'||l_response.envelope_tag||':Envelope/'||l_response.envelope_tag||':Body/child::node()',
    'xmlns:'||l_response.envelope_tag||'="http://schemas.xmlsoap.org/soap/envelope/"');
    show_envelope(l_response.doc.getstringval());
    check_fault(l_response);
    RETURN l_response;
    END;
    I tried invoking the service by passing username and password in LDE tool and captured the Request SOAP Message. I saw username/password encrypted to "Y29tcGxpYW5jZS5nZW46Y29tcGxpYW5jZQ11". Hence tried with that.
    I have also tried the below line for authentication but it is not working.
    utl_http.set_authentication(l_http_request, 'myusername', 'mypassword','Basic',false);
    Pls assist me in resolving this.
    Thanks,
    PKV

    One more update i tried printing l_http_response.status_code and got 302.
    Thanks,
    PKV

Maybe you are looking for

  • My email will not appear. It is frozen what do I do? Thank you linda

    I enter my email name and password and press enter. It then freezes. Verizon has done a complete check .nothing Is wrong. It has to be a problem with my mozzilla firefox. This has never happened before.

  • Since upgrading to Yosemite mu USB 3 to Ethernet adapter not working

    I just recently (earlier today) upgraded to Yosemite 10.10 from Mavericks and now my USB 3.0 to ethernet adapter is not working.  I see a bunch of people complaining about this online but I can't follow the solutions.  They seem to be playing with pl

  • Z1 Camera Button not Working!

    Hello everyone, My z1's camera button launches the camera app only approximately half the time. So when it doesnt launch the normal, usual way when i press on it, I would press doubly hard to try to activate the camera and still sometimes it doent wo

  • How to configure gauge and slider with VC

    Hi All I have a iview in the VC Model and in the iview I have a query which generates Inventory Qty. I put a form in this iview and put a gauge on ithe form. I connected the query inv qty to the form but I cannot set the gauge to display the inv qty.

  • HP Facebook Photo and Album Printing

    I have just finished reinstalling my operating system (Windows XP) and am now reinstalling my programs.  I have just reinstalled Hp printing software.    There is a new feature available I would like to use from HP updates.  It allows a person to pri