ESB Soap Service invoking mutiple operations of a WSDL

Hi,
we have a requirement where in we have to call mutiple opeartions of a WSDL.
We tried developing this using ESB, where in we used many soap services invoking different operations of thw WSDL and a routing service which will decide on which SOAP service (Opeartion of WSDL) to invoke.
But we just want to check if there any way that we can call many operations of the same WSDL using the same soap service.
Any pointers on this.
Thanks in advance.
santu

Your usecase should be no problem. The error java.util.NoSuchElementException seems to indicate you are refering a non existing element somewhere. Are you sure the service gets invoked with the correct message content? From the enterprise manager website you can increase the logging of esb. Go to your esb oc4j container, administration, Logger Configuration. Search for soap loggers and increase the log level. You should now see the entire xml soap messages in the log.xml file.
Kind Regards,
Andre Jochems

Similar Messages

  • ESB SOAP Service invoke

    Hi,
    I would like to know how to invoke a ESB SOAP service from an external web service, which in turn need to interact with the Routing Service ?
    Thanks,
    OracleExpert

    I'm getting the feeling that you're mixing some things up and that you're comparing things that can't be compared.
    In ESB you create integration patterns with adapters, routing services and so on. When you deploy your integration pattern you'll end up with several webservices. E.g. a ESB integration pattern IS a webservice and all the components within a integration pattern are webservices as well.
    If you want to start / call this ESB pattern you can do it in several ways. Its a webservice so calling it is standarized. You can call the webservice from BPEL, from another ESB project, from a Java app, from PL/SQL and even from cobol!
    whether you get a reply from your integration pattern is the matter of how you implement your integration pattern ( synchronous vs asynchronous etc ).
    If you want to test this e.g. want examples please take a look at the examples provided by Oracle on OTN. These samples can then be called / tested externaly by e.g. using a free program called SOAPUI.
    HTH.
    Martin

  • ESB SOAP Service Error - Mutiple levels of SOAP invocation.

    Hi,
    Does anyone have a solution to this problem,
    We are on SOA 10.1.3.1.
    I am trying to design hierarchial invocation of services, where one ESB service calling another ESB service and so on...
    Example There are 3 ESB Projects A, B and C. Project A calls B; B calls C.
    A -> B -> C
    In project B, I added SOAP service to directly reference/invoke service C which is already deployed. On execution, service B is successfully able to call service C. No issues.
    I did similar execise, In project A, I added SOAP service to directly invoke service B (which is internally calling service C). Deployment is successfully. On execution from service A, I am getting following error.
    Does anyone have a solution to this problem ?
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "java.util.NoSuchElementException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
    at java.util.HashMap$ValueIterator.next(HashMap.java:817)
    at oracle.tip.esb.server.common.wsif.WSIFInvokerResponse.getFirstFaultElement(Unknown Source)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.handleFault(Unknown Source)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
    at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
    at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
    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:177)
    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:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    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)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
    at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
    at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
    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:177)
    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:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    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: java.util.NoSuchElementException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
    at java.util.HashMap$ValueIterator.next(HashMap.java:817)
    at oracle.tip.esb.server.common.wsif.WSIFInvokerResponse.getFirstFaultElement(Unknown Source)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.handleFault(Unknown Source)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
    ... 20 more
    </faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>

    Your usecase should be no problem. The error java.util.NoSuchElementException seems to indicate you are refering a non existing element somewhere. Are you sure the service gets invoked with the correct message content? From the enterprise manager website you can increase the logging of esb. Go to your esb oc4j container, administration, Logger Configuration. Search for soap loggers and increase the log level. You should now see the entire xml soap messages in the log.xml file.
    Kind Regards,
    Andre Jochems

  • Invoke remote SOAP Servlet using ESB SOAP Service component

    Hello
    I am new to ESB and JDeveloper as well, have been working with Eclipse since now. I have the following problem I can not solve at this time.
    I have a SOAP Servlet running on Apache Tomcat 5, which I can call from simple JAVA code using the URL http://localhost:8080/omar/registry/soap
    The servlet is defined/described within Tomcat using the web.xml file like:
    <servlet>
    <servlet-name>
    ebxmlrr-soap-receiver-servlet
    </servlet-name>
    <servlet-class>
    org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    I have already made a web service, which I have deployed on Oracle Application Server (using the SOA suite). In the web service I have wrapped a simple JAVA class which uses the SOAPConnection class to connect to http://localhost:8080/omar/registry/soap and sends a simple SOAP message successfully.
    My question is, can I use the http://localhost:8080/omar/registry/soap URL directly from an ESB SOAP Service to send messages to the SOAP Servlet (not to use the web service in Oracle Application Server, but to connect directly to the SOAP Servlet on Tomcat) ?
    Regards
    Zolt

    I have found a WSDL file provided to test the SOAP service I have mentioned before.
    The content of the WSDL looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="http://omarebxmlrrwsdlnew/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="StandaloneTestService" targetNamespace="http://omarebxmlrrwsdlnew/">
         <types/>
         <message name="StandaloneTest_sendMessage">
              <part name="Message" type="xsd:string"/>
         </message>
         <message name="StandaloneTest_sendResponse">
              <part name="Response" type="xsd:string"/>
         </message>
         <portType name="StandaloneTestPortType">
              <operation name="sendMessage" parameterOrder="Message">
                   <input message="tns:StandaloneTest_sendMessage"/>
                   <output message="tns:StandaloneTest_sendResponse"/>
              </operation>
         </portType>
         <binding name="StandaloneTestBinding" type="tns:StandaloneTestPortType">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="sendMessage">
                   <soap:operation/>
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://omarebxmlrrwsdlnew/"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://omarebxmlrrwsdlnew/"/>
                   </output>
              </operation>
         </binding>
         <service name="StandaloneTestService">
              <port name="StandaloneTestPort" binding="tns:StandaloneTestBinding">
                   <soap:address location="http://localhost:8080/omar/registry/soap"/>
              </port>
         </service>
    </definitions>
    Where the address specifies the address of the SOAP service
    When I try to use this WSDL inside an ESB SOAP Service I get the following error:
    The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type.
    The message StandaloneTest_sendMessage in operation sendMessage of porttype StandaloneTestPortType is invalid.
    Please select another porttype or fix the wsdl.
    How can I get pass by this error, what is wrong with the WSDL file ?

  • Unable to change ESB Soap Service endpoint

    Hi people , i have a problem,
    after creating a soap service , register de esb service on DefaultSystem, i want to call externally using
    "http://host:port/esb/wsil/DefaultSystem/<name of soap service>?wsdl
    everithing works ok , but when i try to change from Jdeveloper the enpoint URL , ESB seems to keep using the old URL in :
    http://host:port/event/DefaultSystem/<name of soap service>?WSDL ..
    If i check on esb control i can se the new "WSDL URL" on the Definition tab of this soap service. But internally in the WSDL generated by the ESB endpoint it keeps using the OLD URL
    causing obviously a:
    "SOAPException: Message send failed: Connection refused"
    if i make that resource unavailable after the change
    The question is .. why i cant change the endpoint url ????
    theres is any WSDL cache or something like in Oracle BPEL PM ??
    i need to restart (i dont try yet )
    please ill wait for any suggestions
    PS: im using ESB 10.1.3.3.0 Build:PCBPEL_10.1.3.3.0_GENERIC_070615.0525

    Hi
    I have similar problems and nobody seems to know the solution. Changing the virtual host and port in ESB console does not resolve the problem thoroughly. It's changing the end point entry but living the namespace URL of the WSDL with old value, for instance my address was: http://localhost.localdomain:8889/ .....servicename?WSDL.
    This prevents it from proper invoking by external clients, you can reach the end point and use the test page but you can't read its wsdl file without adjusting its address by hand.
    I found one solution, it's reinstalling the OAS from scratch and pass the proper name of the server when prompted but what the kind of solution is that? This is obviously deployment problem, the original wsdl file prepared in JDeveloper is used to generate the final wsdl file exposed to external clients but which is the configuration file responsible for that and why the esb console don't change the namespace url too while changing end point?
    This is the bug indeed because it's impossible to resolve from console level.

  • ESB SOAP service endpoint properties cacheConnections

    Hi all,
    Has any body used cacheConnections, end point property.? how does it effect ESB SOAP service response.

    Hi all,
    Has any body used cacheConnections, end point property.? how does it effect ESB SOAP service response.

  • ESB -- SOAP Service Security

    I have a SOAP Web Service secured with a Basic Authentication.
    I've wrapped this SOAP service with an ESB service.
    Should I be able to pass the Basic Authentication credentials through the ESB service to the underlying SOAP service? I see "support for SOAP Headers" is the docs as a preview feature.

    Take a look at the following thread regarding SOAP headers:
    Re: Custom SOAPAction for Oracle ESB?
    Or did you manage to get through this use case because I'm trying to create a generic 'authenticationService' which receives a username/password and needs to check against an ldap environment if this user exists

  • SOAP Service Endpoint properties configuration

    hi
    i have an ESB SOAP service, invoking a web service which is working fine.but i need to do the same process using Location variable in endpoint properties and also can anyone explain me how to configure Location(URL Format and delimiters), Retrycount and RetryInterval of endpoint prop. can i use the endpoint to redirect my request from one URL location to another baserd on retryinterval.
    thanks in advance
    Thirumal

    hi
    iam getting the following error when i set a service url for Location variable in SOAP Service endpoint property.
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Caught exception while handling request: unrecognized operation: {http://serviceone1/types/}getDecodedStringElement; nested exception is: javax.xml.rpc.soap.SOAPFaultException: Caught exception while handling request: unrecognized operation: {http://serviceone1/types/}getDecodedStringElement at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:2978) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1463) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1185) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273) at oracle.tip.esb.s

  • Help with ESB as external SOAP service proxy

    We are trying to leverage ESB in the first steps of implementing an SOA solution for our organization.
    We have an external SOAP service that we would like to register with Oracle ESB. In turn, are internal programs
    would then call the service through the ESB using a SOAP interface. This allows us to hide the external
    SOAP service definition from our internal programs, allowing us to modify the external SOAP service or add extra routing
    where necessary without affecting the calling client.
    CLIENT -> (SOAP) ESB -> (SOAP) EXTERNAL SERVICE
    Is this the correct use of ESB?
    We are having a couple of issues when trying to use the WSDL ESB creates within our client code. One being Oracle APEX.
    We can create forms against the external soap service WSDL, but when we try to hit the WSDL ESB creates, it gives back
    "The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service."
    Any ideas?

    I was able to get the virtual service running through EM by changing the <hostname>
    http://<hostname>:8888/event/CustomerData/IdentitySOAPService
    Would the url on the test page be the wsdl url we would hand out to the clients? I am curious as to what the context /event/ is?
    Also, if I were doing straight service virtualization, would it be correct to just create a SOAP service hitting the external service? Or is it better to have a routing service exposed to the client?
    Client -> ESB [ (Routing Service) -> (Soap Service) ] -> External Service
    or
    Client -> ESB [ (Soap Service) ] -> External Service

  • Add username token to SOAP Service in ESB

    I know how to add the username token to a partnerlink in a bpel process but how can I configure the same soap headers in a SOAP Service in ESB?
    Another question about the configuration of a bpel process when invoking a secure web service: I need to add 3 parameters to the partnerlink to be able to send the username/password credentials to the service but this isn't very flexible.
    How can you configure to use file authentication or ldap authentication when invoking the secure web service?

    Hi.
    I found some info related to passing username token in ESB.
    You go to ESB home page:
    http://www.oracle.com/technology/products/integration/esb/index.html
    and download esb samples:
    http://www.oracle.com/technology/products/integration/esb/files/esbsamples.zip
    There you'll find a SOAP Headers project (under OTN Samples) which has an example of how to pass WS-Security usename credentials.
    Here is a sample, in a XSLT:
    <xsl:variable name="setUsername"
    select="ehdr:setOutboundHeader('/wsse1:Security/wsse1:UsernameToken/wsse1:Username','oc4jadmin','wsse1=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;')"/>
    <xsl:variable name="setPassword"
    select="ehdr:setOutboundHeader('/wsse1:Security/wsse1:UsernameToken/wsse1:Password','welcome1','wsse1=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;')"/>
    <xsl:template match="/">
    <ns1:ReceiveCustElement>
    <ns1:customer>
    <xsl:value-of select="/inp1:InputElement/InputString"/>
    </ns1:customer>
    </ns1:ReceiveCustElement>
    </xsl:template>
    </xsl:stylesheet>
    Denis

  • Soap Service RetryInterval in ESB

    Hi,
    Can you tell me whether the endpoint properties RetryInterval and RetryCount work on Soap Services also. I have a Siebel Web Service (synchronous) registered with the ESB.
    I want to be able to retry 5 times at an interval of 5 seconds in case Siebel is down.
    What are the steps that I need to take? The process needs to be automated.
    Kindly advice. Also, kindly explain what exactly is retried by specifying this interval? Does this retry occur in case of all exceptions?

    I tried applying the patch, but it gives the following error:
    OPatch detects your platform as 207 while this patch 6133448 supports platforms:
    0 (Generic Platform)
    This patch is not suitable for this operating system.
    Please contact support for the correct patch.
    ERROR: OPatch failed during pre-reqs check.
    OPatch returns with error code = 150
    I downloaded for the OS I am on, but always the generic patch downloads; i guess this generic one should work for all platforms. Opatch version is 1.0.0.0.56.

  • Reg ESB SOAP Invocation service

    Hi all,
    I am trying to invoke a wsdl in my ESB project, using the SOAP invocation service.
    My deployed web service uses authentication. I need to give username/password in order to access the end point url of the service.
    When I give the wsdl of the deployed service (in WSDL file box), and click on Port Type, I get an error dialog stating something like this: "Error while reading wsdl file. Exception: The document contains HTML tags."
    How can I configure the authentication parameters in SOAP invocation service?
    Any inputs are appreciated.
    Thanks,
    Pram

    It can be play out in couple of ways.
    First of all you can build access control by OWSM of the OAS to secure deployed services. The same task can be accomplished inside OAS control, every service has Administration tab containing security configuration.
    Another approach is to build in the security inside the service source, for instance if you use db adapters you can provide security checks inside the invoked database function.
    Finally you can build by hand the wrapper service for your services to provide necessary security checks.
    There is a lot of stuff in Internet about that, this one treat about using OWSM
    http://iadvise.blogspot.com/2007/09/securing-esb-service-using-owsm.html

  • Calling a business service based on operation-soap action in Proxy service

    Hi,
    I have a requirement in which I have to call a business service based on operation-soap action defined in Proxy service wsdl.
    Like in below mentioned wsdl GetPartCostDelta and GetCurrencyList operations are there.But which ever operation I select,It just goes to one business service.
    Is there any way,I can route to some another business service based on the soap action
    proxy service WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ewopcd="urn:com:gm:gpd:schema:ewopartcostdelta" xmlns:gen="urn:com:gm:gpd:schema:genericfault" xmlns:tns="urn:com:gm:gpd:services:ewopartcostdeltaservice" targetNamespace="urn:com:gm:gpd:services:ewopartcostdeltaservice">
         <wsdl:types>
              <xs:schema>
                   <xs:import namespace="urn:com:gm:gpd:schema:ewopartcostdelta" schemaLocation="ewocostdelta.xsd"/>
                   <xs:import namespace="urn:com:gm:gpd:schema:genericfault" schemaLocation="servicefault.xsd"/>
              </xs:schema>
         </wsdl:types>
         <wsdl:message name="EWOCurrencyListRequest">
              <wsdl:part name="CurrencyListRequest" element="ewopcd:EWOCostDeltaInput"/>
         </wsdl:message>     
         <wsdl:message name="EWOCurrencyListResponse">
              <wsdl:part name="CurrencyListResponse" element="ewopcd:EWOCurrencyList"/>
         </wsdl:message>     
         <wsdl:message name="EWOPartCostDeltaRequest">
              <wsdl:part name="PartCostDeltaRequest" element="ewopcd:EWOCostDeltaInput"/>
         </wsdl:message>
         <wsdl:message name="EWOPartCostDeltaResponse">
              <wsdl:part name="PartCostDeltaResponse" element="ewopcd:EWOCostDeltaResult"/>
         </wsdl:message>
         <wsdl:message name="EWOPartCostDeltaServiceFault">
              <wsdl:part name="PartCostDeltaServiceFault" element="gen:ServiceFault"/>
         </wsdl:message>
         <wsdl:portType name="EWOPartCostDeltaPortType">
              <wsdl:operation name="GetCurrencyList">
                   <wsdl:input name="EWOCurrencyListRequest" message="tns:EWOCurrencyListRequest"/>
                   <wsdl:output name="EWOCurrencyListResponse" message="tns:EWOCurrencyListResponse"/>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault" message="tns:EWOPartCostDeltaServiceFault"/>
              </wsdl:operation>
              <wsdl:operation name="GetPartCostDelta">
                   <wsdl:input name="EWOPartCostDeltaRequest" message="tns:EWOPartCostDeltaRequest"/>
                   <wsdl:output name="EWOPartCostDeltaResponse" message="tns:EWOPartCostDeltaResponse"/>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault" message="tns:EWOPartCostDeltaServiceFault"/>
              </wsdl:operation>          
         </wsdl:portType>
         <wsdl:binding name="EWOPartCostDeltaBinding" type="tns:EWOPartCostDeltaPortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="GetCurrencyList">
                   <soap:operation soapAction="GetCurrencyList" style="document"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal"/>
                   </wsdl:output>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault">
                        <soap:fault name="EWOCostDeltaServiceFault" use="literal"/>
                   </wsdl:fault>
              </wsdl:operation>
                        <wsdl:operation name="GetPartCostDelta">
                   <soap:operation soapAction="GetPartCostDelta" style="document"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal"/>
                   </wsdl:output>
                   <wsdl:fault name="EWOPartCostDeltaServiceFault">
                        <soap:fault name="EWOCostDeltaServiceFault" use="literal"/>
                   </wsdl:fault>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="EWOPartCostDeltaService">
              <wsdl:port name="EWOPartCostDeltaPort" binding="tns:EWOPartCostDeltaBinding">
                   <soap:address location="https://localhost/EWOPartCostDelta"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>

    Did you try using the Operational branching node of OSB?
    You have copy the operation name from the inbound variable and populate the SOAP Header with that value into the SOAPAction tag.I think this will work.
    Thanks,
    Prabu

  • Invoke OSSO protected SOAP service from composite

    Hi,
    I would like to invoke an OSSO protected SOAP Service from a composite. I haven't been able to figure out how exactly to invoke the service properly, and I end up with
    javax.xml.soap.SOAPException: Bad response: 401 Unauthorized
    or
    oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1
    This is because the OSSO Server is trying to redirect the request to a login page.
    I have attempted to configure the service reference to use the following, but I fear this will only work for basic http authentication
    <property name="oracle.webservices.auth.password">password</property>
    <property name="oracle.webservices.auth.username">username</property>
    and added the following the the reference and configure the credential store csf-key and basic.credentials to have a username / password.
    <wsp:PolicyReference URI="oracle/wss_username_token_client_policy"
    orawsp:category="security" orawsp:status="enabled"/>
    Can anyone provide any insight on this?
    Thanks,
    Ben

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

  • How can I filter information to soap service?

    I have an ESB Application in which I am getting some information from File Adapter.Now I want to send this info to another adapter as well as to invoke a soap service using a single routing service.But I am getting error.If i can try to use filter here for soap service which filter function can be used?

    So If I understand correctly, you want to have an inbound file adapter, its result being sent to a routing service (which is automatically created). This routing service should then invoke a soap service and invoke another adapter. Is that correct? If so, you can create two routing rules for the routing service operation.
    What error do you get? Can you be more specific?
    For what purpose do you want to use the filter in this scenario?
    Regards, Ronald

Maybe you are looking for