Consuming AWS services in SOA Suite/OSB

I was trying to use Amazon Simple Queue services in SOA Suite... I got the WSDL from the following link,
http://queue.amazonaws.com/doc/2009-02-01/QueueService.wsdl
The WSDL policy element in the header consists of ,
<wsp:Policy wsu:Id="CertificateOverTransportPolicy">
<wsp:ExactlyOne>
<wsp:All>
<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:TransportToken>
<wsp:Policy>
<sp:HttpsToken RequireClientCertificate="false"/>
</wsp:Policy>
</sp:TransportToken>
<sp:AlgorithmSuite>
<wsp:Policy>
<sp:Basic256/>
</wsp:Policy>
</sp:AlgorithmSuite>
<sp:Layout>
<wsp:Policy>
<sp:Lax/>
</wsp:Policy>
</sp:Layout>
<sp:IncludeTimestamp/>
</wsp:Policy>
</sp:TransportBinding>
<sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
<wsp:Policy>
<sp:RequireThumbprintReference/>
<sp:WssX509V3Token10/>
</wsp:Policy>
</sp:X509Token>
</wsp:Policy>
</sp:EndorsingSupportingTokens>
<sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:MustSupportRefKeyIdentifier/>
<sp:MustSupportRefIssuerSerial/>
</wsp:Policy>
</sp:Wss10>
<wsap:UsingAddressing/>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
May i know how can i consume this service with transport level security. I got the certificate and private key from Amazon.

The error message says "java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl" which means that you don't have this class in the classpath. If you're using JDev 11g you can search for this class to find out which library has it:
1. Double click your project. It can be any project
2. Select "Libraries and Classpath"
3. Click on the "Add Library..." button
4. Enter the class you're looking for in the search field. JDev will show which Libraries have this class.
You can find the related jar file that has this class on {JDEV_HOME}\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar .
AFAIK, there's no direct Web Service access to Human Task Flow. You need to go through the client API which is responsible for abstracting which protocol is used (co-located, remote ejb, or soap).

Similar Messages

  • Message Ordering or Singlton Service in SOA Suite 11g

    In SOA Suite 10g, JMS Adapter could behaviors as Singleton instance by setting the properties "XclusterGroupId".
    In addition, set Routing Service to be Synchronous execution, therefore only one instance consuming the Target message queue sequentially.
    Does this properties still take effect in SOA Suite 11g, as I didn't find this properties being mentioned through Adapter Technology documentations?
    Otherwise are there any other solutions for the Message Ordering?
    Thank you in advance.
    -Simon
    Edited by: user8408910 on Jul 13, 2009 1:31 AM

    Is it the same answer for JMS topic listeners? i.e. each new message on the topic should be processed once and only once by a Composite deployed to a cluster with >1 server instances.
    Thanks for info,
    Todd

  • Dynamic Adapter (endpoint) with SOA suite/OSB

    We have a requirement to set the adapter type for referenced services during the runtime, that is to say that we cannot decide whether to use FILE adapter, FTP adapter or JMS adapter or Web Service during design time.
    I know we can use dynamic partner link to set the properties of adapter (for example, dynamic set the output folder for FILE adpater), but can we even set the adapter type during the runtime? For example, use FILE adpater if order amount < 1000, otherwise use FTP adapter.
    I'm fresh with SOA suite and OSB. Can anybody help me out?
    BTW: without OSB service virtulization, is it possible to change the adapter for composition service after deployment. For example, in design time, I used Web Service for composition service (one-way), but after deployment, i'd like to change it to FILE adapter.
    Much appreciate in advance.
    Kevin

    Hi Kevin,
    For example, use FILE adpater if order amount < 1000, otherwise use FTP adapter.For this use case, you may easily use Dynamic Routing action in OSB. Please refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1100135
    Re: OSB proxy service lookup
    Regards,
    Anuj

  • Error in calling External web service from soa suite 11.1.1.3

    Hi
    I am getting following error while calling external web service......
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.integration.platform> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <SOA-20136> <WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException>
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <BEA-000000> < Payload after BaseActionHander.requestMessage :{parameters=oracle.xml.parser.v2.XMLElement@bd2382}>
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866063> <BEA-000000> < Properties after BaseActionHander.requestMessage :{ReferenceInstance=[email protected]63ea5,
    ####<Jan 20, 2011 6:54:29 PM IST> <Error> <oracle.webservices.service> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529869375> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.fabric.common.FabricInvocationException.>
    I am able to hit external ws from soap ui and getting response but while calling from soa suite getting this error.
    Any clues?
    Thanks
    Vibhor

    WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException
    Looks like the error is in the data sent to or expected from the service in your composite. Check that audit logs and composite flow to make sure your soap message when using soapui matches what you are working with in soa suite.

  • Problem - Create RESTFull Service Using SOA Suite

    Hello folks, I am facing an issue while trying to create a simple REST WS with JDev and SOA Suite 11g. I have tried with JDev 11115, what I get from that is when I call the service endpoint I get a null pointer exception, just as described here:
    http://biemond.blogspot.com/2010/05/http-binding-in-soa-suite-11g-ps2.html
    I then tried to use JDev 11120 but the SOA Suite extension does not work with this version.
    Any ideas on how to resolve the issue? Is there any bug fixes for JDev 11115?
    Thank you in advance,
    Andre

    I am having the same issue. Any help is appreciated.

  • Validation of SOA Suite / OSB / SAP Adapter install

    We will be doing a clustered install of SOA Suite 11g, OSB and the SAP Adapter at a customer next week.
    I was wondering if anyone has any validation scripts/tests that I might use to test basic functionality and connectivity after the install.
    When we deployed into DEV (a single node) environment, we wrote a simple HelloWorld test. I thought I'd check here to see if anyone has something they use to validate their installs.
    We will be installing SOA Suite 11gPS2, OSB 11g and the SAP Adapter (PS1) into SOA Suite. The OS is RedHat Linux 5.5.
    If there is a better place for me to ask this question, please direct me there.
    Thanks,
    Mike

    Hi,
    When I checked the diagnostic logs I can see the following type of messages:
    [2012-02-08T13:33:35.702+00:00] [osb_server2] [TRACE] [] [] [tid: [STUCK].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS Kernel>] [ecid: 0000JLS^rAUEoI05nzk3yZ1FC_AW000002,0] [SRC_CLASS: org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor] [APP: JCA Transport Provider] [dcid: 49e003eb77940676:13e96fa:1355c9322e6:-7fd8-0000000000000002] [SRC_METHOD: basicExecuteCall] SELECT Batch_Date, Update_Flag FROM dbo.amr_temp_update
    Is there any problem because of which the thread is getting stuck. Is there any parameter for the DB adapter which can be changed to fix this problem.
    Thanks,
    Sanjay

  • Eclipse Service To SOA Suite

    Hi Guys,
    We have a requirement where we need to create a very simple webservice (xml+ java usage only) using WSDL and need to deploy the same @ SOA Suite.
    Is this possible? Client doesnt want to use Jdev as they support all their Java project using Eclipse and they dont want to invesnt on the Jdev resources separately.
    We just need to develop secured wrapper around the existing WSDL and deploy it to SOA.
    Cheers,
    KK

    You won't necessarily get the same level as a SOA Composite. You would get the security and monitoring that Weblogic provides for JAX-WS services not that SOA Suite provides for SOA Composites, but it will allow you to deploy to the same SOA Suite cluster, so no additional weblogic servers are needed.
    I believe you can leverage OWSM policies for security on JAX-WS services in Weblogic but I can't say that for sure.
    As far as monitoring goes you wouldn't see composite instances/audit in EM like you do for SOA composites since this is just a pure JAX-WS web service.
    Thanks,
    Adam DesJardin

  • The link between SOA suite & OSB

    hi,
    My project consists on establishing an ESB bus between two heterogenious applications (Felix and Cloe for example !) using oracle fusion technology.
    I started to read the SOA documentation several days ago but I didn't understand the relationship between What we developp using BPEL,BMP ...and the oracle service bus (OSB).
    can you help me please!
    regards,
    Driss

    Please refer -
    http://forums.oracle.com/forums/thread.jspa?messageID=4365923
    http://www.oracle.com/us/technologies/soa/maximizing-benefits-oracle-soa-150680.pdf
    Regards,
    Anuj

  • Error with invoking service in Soa Suite 11g with a java client

    Hi,
    I got a null point exception and I don't know why. I can retrieve the instances of the composites.
    Hashtable jndiProps = new Hashtable();
    jndiProps.put(Context.PROVIDER_URL, "t3://localhost:8001/soa-infra");
    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    jndiProps.put(Context.SECURITY_PRINCIPAL, "weblogic");
    jndiProps.put(Context.SECURITY_CREDENTIALS, "weblogic1");
    jndiProps.put("dedicated.connection", "true");
    Locator locator = null;
    try {
    // connect to the soa server
    locator = LocatorFactory.createLocator(jndiProps);
    // find composite
    Composite composite = locator.lookupComposite("default/Helloworld!1.0");
    // find exposed service of the composite
    Service service = composite.getService("bpelprocess1_client_ep");
    // make the input request and add this to a operation of the service
    NormalizedMessage input = new NormalizedMessageImpl();
    String uuid = "uuid:" + UUID.randomUUID();
    input.addProperty(NormalizedMessage.PROPERTY_CONVERSATION_ID,uuid);
    String xml = "<BPELProcess1RequestMessage xmlns=\"http://xmlns.oracle.com/HelloWorld/Helloworld/BPELProcess1\">"+
    "<input>hello</input>"+
    "</BPELProcess1RequestMessage>";
    // payload is the partname of the process operation
    input.getPayload().put("payload",xml);
    // process is the operation of the employee service
    NormalizedMessage res = null;
    try {
    res = service.request("process", input);
    } catch(Exception e) {
    e.printStackTrace();
    this is the error
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: java.lang.NullPointerException
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1031_WLStub.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.EJBLocatorImpl.executeServiceMethod(EJBLocatorImpl.java:875)
         at oracle.soa.management.internal.facade.ServiceImpl.request(ServiceImpl.java:116)
         at nl.whitehorses.bpel.unit.StartUnitProcess.<init>(StartUnitProcess.java:59)
         at nl.whitehorses.bpel.unit.StartUnitProcess.main(StartUnitProcess.java:117)
    Caused by: java.lang.RuntimeException: java.lang.NullPointerException
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBeanImpl.java:855)
         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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy251.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.java:1914)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
         at oracle.integration.platform.blocks.sdox.JavaEntryBindingComponent.invoke(JavaEntryBindingComponent.java:127)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBeanImpl.java:853)
         ... 31 more
    oracle.fabric.common.FabricInvocationException: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: java.lang.NullPointerException
         at oracle.soa.management.internal.facade.ServiceImpl.request(ServiceImpl.java:129)
         at nl.whitehorses.bpel.unit.StartUnitProcess.<init>(StartUnitProcess.java:59)
         at nl.whitehorses.bpel.unit.StartUnitProcess.main(StartUnitProcess.java:117)
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: java.lang.NullPointerException
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1031_WLStub.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.EJBLocatorImpl.executeServiceMethod(EJBLocatorImpl.java:875)
         at oracle.soa.management.internal.facade.ServiceImpl.request(ServiceImpl.java:116)
         ... 2 more
    Caused by: java.lang.RuntimeException: java.lang.NullPointerException
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBeanImpl.java:855)
         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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy251.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.java:1914)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
         at oracle.integration.platform.blocks.sdox.JavaEntryBindingComponent.invoke(JavaEntryBindingComponent.java:127)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBeanImpl.java:853)
         ... 31 more
    here is the wsdl information
    <wsdl:types>

    <schema>
    <import namespace="http://xmlns.oracle.com/HelloWorld/Helloworld/BPELProcess1" schemaLocation="http://localhost:8001/soa-infra/services/default/Helloworld/bpelprocess1_client_ep?XSD=xsd/BPELProcess1.xsd"/>
    </schema>
    </wsdl:types>

    <wsdl:message name="BPELProcess1RequestMessage">
    <wsdl:part name="payload" element="client:process"/>
    </wsdl:message>

    <wsdl:message name="BPELProcess1ResponseMessage">
    <wsdl:part name="payload" element="client:processResponse"/>
    </wsdl:message>

    <wsdl:portType name="BPELProcess1">

    <wsdl:operation name="process">
    <wsdl:input message="client:BPELProcess1RequestMessage"/>
    <wsdl:output message="client:BPELProcess1ResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="BPELProcess1Binding" type="client:BPELProcess1">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

    <wsdl:operation name="process">
    <soap:operation style="document" soapAction="process"/>

    <wsdl:input>
    <soap:body use="literal" namespace="http://xmlns.oracle.com/HelloWorld/Helloworld/BPELProcess1"/>
    </wsdl:input>

    <wsdl:output>
    <soap:body use="literal" namespace="http://xmlns.oracle.com/HelloWorld/Helloworld/BPELProcess1"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    and the xsd
    schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/HelloWorld/Helloworld/BPELProcess1">

    <element name="process">

    <complexType>

    <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>

    <element name="processResponse">

    <complexType>

    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    thanks Edwin

    Can you make sure your helloworld is using adf bindings as mentioned in thread Re: Urgent :: 11g Invoking Composite from Java/From Webservice Proxy

  • Need help in creating SOA SUITE RESTFul Service.

    Hi All,
    I have a requirement to provide a restful service url to other party to post plain xml message.
    So i have configured HTTBinding as below
    Type : Service
    Operation Type : One Way
    OperationName : Send
    Verb : Post
    Payload type : xml
    its one way transaction, we dont need to send response back to other party.
    After my configuration, when i use the URL to post some xml message from REST client
    i get a error "<error>oracle.fabric.common.FabricException: Unable to find operation: unknown</error>" same error even in composite with no instace created
    and when i add a header property SOAPAction : Send then message goes through adapter and i see instances in composite.
    But unfortunatly the team whos posting messages to fusion were not able to add any property
    Is there any we can solve this with out Header Property added at client side.
    Or Do we have any other way to create a RESTFull service in soa suite(i guess OSB allows this.)
    Help appreciated
    im using soa suite 11g
    thanks in advance guys
    Regards
    Sujan.

    Amir
    You need to set the compatibility of the setup.exe file that was downloaded
    - right click setup.exe
    - click on properties
    - go to the compatibility tab, check the box that says 'run this program in compatibility mode for',
    - select 'Windows XP service pack 2' from the drop down list.
    - Click ok and try again
    It then runs it as if it was XP (v 5.2 )
    However there are a bunch of other tasks to do install on vista
    check
    'Start SOA Suite' fails after laptop restart.
    for details of other config..
    It would be interesting to see if you are successful as I currently cannot install it on my vista machine..
    Good luck
    Will

  • Question regarding Composite granularity in SOA Suite

    I have a question about service granularity in a SOA Suite composite. In your experience, what is the best way to implement an Enterprise Business Service in SOA Suite?
    Say I have a service interface/wsdl that looks something like:
    Customer
    + getCustomer
    + createCustomer
    + updateCustomer
    + .....
    Would the operations on the service be best implemented as BPEL processes each living in their own composite, or as multiple processes in one composite with a mediator(based on the ebs wsdl) in front of them? I'm also using OSB, so I could do the routing there to each of the separate composites if I break up the operations into a composite for each. But that seems like the amount of composites would become unmaintainably high.
    If I use the mediator to expose the ebs wsdl, then I would just use OSB for virtualization, throttling, etc.
    Not too sure which way to go with this design, but any experienced input is appreciated. I did notice that AIA implements each operation as a separate composite.
    Thanks.

    As per the AIA architecture we should use Mediator in EBS layer, because of below reasons.
    1. OSB is not part of SOA until 11g,
    2. You have to re write the code for exposing EBS in OSB Layer, thats a huge work.
    Both Mediator and OSB does the same thing, ofcouse there are some differences
    As per your design if you use OSB for virtualization, that is fine, but you will be having one more layer of virtualization before it hits the actual composites, which will definately hit the performance, extra care we need take for OSB layer.
    In my current project, we tried both the approach that you wanted to try.
    Approach 1 : Exposing EBS in OSB Layer.
    Tried rewriting the EBS wsdl because the port information will not be available by default, without that we will not be able to create proxy services in OSB.
    Then for how many wsdl files you will rewrite the code, then you need to update the MDS as well with those.
    Did a small POC and then decided to go with as is. Probably we will have OSB layer in AIA 12 g
    Approach 2 : We are using OSB wrapper for thirdparty web services and adapter services not the provider abcs services. I feel this is overhead.
    Thanks,
    Vijay

  • Inside Architecture of SOA suite

    Hi everybody,
    Does anybody know where can I get the documentation about the inside architecture of SOA suite/OSB?
    I'd like to know how SOA suite processes the message after it receive the msg.
    For example, here is the processing flow I image - firstly persistent the msg into database and a message routing engine would route the message to destinations according to the routing plan... And I also suppose that they are some common components, like logging, bam event agent and so on.
    I searched the internet, but I did not found any document about this inside architecture.
    If you happen have, could you please share them?
    Much appreciate in advance!!!
    Regards,
    Kevin

    Hi Kevin,
    Below links may be useful for you -
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10223/index.htm
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10223/01_components.htm
    http://www.oracle.com/technologies/soa/soa-suite.html
    Regards,
    Anuj

  • OSB to SOA suite package not forming correctly

    Setup is as follows:
    AIX 5.3 on the box, 10 gigs ram, installation of the latest releases of OSB and SOA suite on top of weblogic. I've built out a couple of simple database queries in BPEL based off wsdls, dropped them on to the SOA suite server, used EM to open a test console and plugged in some search data. Search returns successfully.
    I then open up OSB's console, create a business service to the endpoint on the soa server, and a proxy based off the same wsdl used in the BPEL construction which I then route to the business service. Both service and proxy are made with basic http for the protocol (not sure how to use the sb protocol, and not sure if that will fix the problem). Load the test console on the proxy service, which displays an xml form similar to what is used in the SOA suite. Fill out the same information, but the invoke returns BEA-380000. Following the invocation trace in OSB everything looks good in terms of package content.
    Wondering if it might simply be a problem with how the OSB interprets XML from a wsdl, I piped the XML from the SOA suite into the OSB's xml field, but to no luck, same error. After some more testing and frustration,I put the SOA suite XML straight in to the form field in the OSB test console, and it worked. However, the package itself seems oddly formed, consisting of:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
    Which I've been told is basically double wrapping the package, which shouldn't work, and more importantly wont be generated when someone uses say SOAPUI to access our service on the OSB.
    Now, on the SOA suite side of things. In EM console, I navigate to my BPEL process and can see the faults caused by the OSB. The same faults are also generated when binding to the OSB's endpoint with SOAPUI, but not when going directly to the SOA suite's endpoint. The error is the following:
    oracle.j2ee.ws.saaj.soap.SOAPVersionMismatchException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
    And the payload sent shows as empty.
    So to my best uneducated guess, it looks like the OSB wraps the payload in an envelope, and then unwraps it before handing it to the SOA suite, which expects the payload to be wrapped. Sadly, I'm still pretty new to the wsdl/webservice/oracle world, so I'm not even sure if that's an accurate representation. Any insight on what might be happening or how to get OSB to talk with SOA suite correctly would be greatly appreciated. Included below are the XML payloads I've used (minus a bit for confidentiality reasons). Apologies if the formatting doesn't work so nice for it.
    OSB Generated (fails):
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    Body:
    <ns2:SyncEmployeeIDRequest xmlns:ns="removed" xmlns:ns1="removed" xmlns:ns2="removed">
    <!--You have a CHOICE of the next 2 items at this level-->
    <ns:PersonIdentificationAssertion>
    <!--Optional:-->
    <ns1:PersonBirthDate>
    <ns1:Date>2008-09-28</ns1:Date>
    </ns1:PersonBirthDate>
    <!--Optional:-->
    <ns1:PersonGivenName>string</ns1:PersonGivenName>
    <ns1:PersonSurName>string</ns1:PersonSurName>
    </ns:PersonIdentificationAssertion>
    <ns1:DepartmentIDText>string</ns1:DepartmentIDText>
    </ns2:SyncEmployeeIDRequest>
    SOA Generated(works if plugged into OSB form field)
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header></soap:Header>
         <soap:Body xmlns:ns1="removed">
              <ns1:SyncEmployeeIDRequest xmlns:ns2="removed">
                   <ns2:PersonIdentificationAssertion xmlns:ns3="removed">
                        <ns3:PersonBirthDate>
                             <ns3:Date>2008-09-28</ns3:Date>
    </ns3:PersonBirthDate>
                        <ns3:PersonGivenName>string</ns3:PersonGivenName>
                        <ns3:PersonSurName>string</ns3:PersonSurName>
    </ns2:PersonIdentificationAssertion>
    </ns1:SyncEmployeeIDRequest>
    </soap:Body>
    </soap:Envelope>
    Working Request Document in OSB:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
         <soap:Body      xmlns:ns1="removed">
         <ns1:SyncEmployeeIDRequest      xmlns:ns2="removed">
         <ns2:PersonIdentificationAssertion      xmlns:ns3="removed">
         <ns3:PersonBirthDate>
         <ns3:Date>2008-09-28</ns3:Date>
         </ns3:PersonBirthDate>
         <ns3:PersonGivenName/>
         <ns3:PersonSurName>ALastName</ns3:PersonSurName>
         </ns2:PersonIdentificationAssertion>
         </ns1:SyncEmployeeIDRequest>
         </soap:Body>
         </soap:Envelope>
         </soapenv:Body>
         </soapenv:Envelope>
    If I can provide anymore information that will help shed light on this issue please let me know.
    Thank you for your time.
    ~Nick

    Problem solved. When I originally created my business service inside of OSB, I created it based off an endpoint provided by the SOA server. Instead, I went and did a mass import from a url, pointed it at the SOA server wsdl, and then built the web service off of that wsdl resource in the OSB. Now it works like a charm.

  • SOA suit 11g uses both ESB and OSB(ALSB)

    Hi, I am newbie to SOA suit 11g. Can somebody please explain the use of ESB and OSB(ALSB) both in SOA 11g.In SOA 11g ESB is being used only for mediation.Even OSB(ALSB) has same capability.Then why both needs to be used?Can't we use one of these?
    ~Pradeep

    hello Pradeep,
    there is quite some literature on this hot topic - actually it's one of the most frequently asked question from people who are using OSB and Soa Suite.
    if you google "OSB vs Mediator" you will find some useful links:
    http://www.scribd.com/doc/23622536/Oracle-SOA-Suite-11g-Mediator-vs-Oracle-Service-Bus-OSB
    SOA SUITE 11g - Mediator & OSB
    http://oracle-fusion-blogs.com/oracle-fusion-osb-mediator/
    and so on....

  • Configure OSB 11g to use the same domain as SOA Suite 11g

    Hi,
    A quick question on OSB Installation and extend the weblogic domain created for soa for OSB also. Please guide me what i am following is the correct path.
    I followed the soa 11g and osb 11g installation doc from Eric Elzinga blog also checked oracle doc. Am quite confused about the directory structure to cofigure SOA Suite 11g and OSB 11g.
    After SOA suite install , I Configure Oracle SOA Suite by following the below path
    Run: middleware/wlserver_10.3/common/bin/config.exe (followed the blog ON OSB 11g Installation from Eric Elzinga).
    I have seen another path to configure soa suite from oracle doc
    SOA_ORACLE_HOME\common\bin\config.cmd
    eg: E:\oraclehome\11g\middleware\Oracle_SOA1\common\bin\config.cmd
    both directory str are correct?
    After OSB installation , to configure OSB , I choose to reuse the SOA Suite domain to extend it with the Oracle Service Bus components. so in that case , is it the right directory structure I am following is
    <Middleware_Home>\oracle_common\common\bin\config.bat.
    eg: E:\oraclehome\11g\middleware\oracle_common\common\bin\config.bat
    Thanks in advance
    jk

    Eventually you configure the weblogic domain always (either it is for SOA or OSB or BPM or all), so you should use middleware/wlserver_10.3/common/bin/config.exe
    Regards,
    Anuj

Maybe you are looking for