Http Binding question

Hello guys.
I'm new in SOA Suite :) I have question about HTTP binding adapter. I downloaded MS wfetch application to test my REST composite application. I try invoke my composite :
Host: 192.168.10.2:8001\r\n
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Content-Type: application/x-www-form-urlencoded\r\n
\r\n
entry_id=test&entry_type=eee&file_name=aaa&mime_type=fff&meta_data=rrrr
At response I got :
HTTP/1.1 500 Internal Server Error\r\n
When I try to invoke my REST composite using xml it's work fine !! At Oracle MAN :
For HTTP POST request methods, you can select a payload type of either URL-encoded (ampersand-separated name-value pairs) or XML.
Please help me.
Edited by: user5427713 on Feb 22, 2011 11:49 PM
Edited by: user5427713 on Feb 22, 2011 11:50 PM

Thank you. I created composite where interface is JCA HTTP Bindung Adapter. At Adapter configuration I set
Verb : POST
Payload Type : url-encoded
Endpoint : /soa-infra/services/CDP/CDPProxyREST/ProxyInterface
At Wfetch :
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Content-Type: application/x-www-form-urlencoded\r\n
\r\n
entry_id=test&entry_type=eee&file_name=aaa&mime_type=fff&meta_data=rrrr&uploadedFile=ddddd
I got response error :
HTTP/1.1 500 Internal Server Error\r\n
X-Powered-By: Servlet/2.5 JSP/2.1\r\n
X-ORACLE-DMS-ECID: 0000ItIYiI55yWK5qVp2iY1DN_6b00147b\r\n
When I create request :
Content-type: text/xml\r\n
SOAPAction: "Request-Response"\r\n
\r\n
<soapenv: ... >
<root:root><root:entry_id>ssadsd<root:entry_id><root:.......</root:root>
I got normal response with data without error.

Similar Messages

  • How to set Custom HTTP headers in HTTP binding?

    How to set custom HTTP headers before sending the Rest based request in HTTP binding?

    sharon38_74 wrote:
    they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
    My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself.

  • Https call using a http binding in soa

    Hi,
    I am trying to do an https call using soa suite 11g.I am using http binding for the same:
    Below is the url I am trying to call
    https://test.b2b2.rbs.gxs.com/invoke/URLTest/simpleReceive
    Below is the header which needs to be passed to the call
    <Headers>
    <Content-Type>application/HTTPstream</Content-Type>
    <actionrequest>upload</actionrequest>
    <userid>ADT00368</userid>
    <password>ADT00368</password>
    <receiverid>RBOSNL2A</receiverid>
    <datatype>XML</datatype> (optional)
    </Headers>
    I have 2 questions here
    1.I have installed the certificate from the secured site in the weblogic server.Still I am getting error "unable to access the below url"
    https://test.b2b2.rbs.gxs.com/invoke/URLTest/simpleReceive.
    2. second question is how to send the above mentioned header information in the https call?
    Regards,
    Naresh

    But while testing how will I pass the header?
    <Headers>
    <Content-Type>application/HTTPstream</Content-Type>
    <actionrequest>upload</actionrequest>
    <userid> ADT00368</userid>
    <password> ADT00368</password>
    <receiverid>ABNAMHTIN</receiverid>
    <datatype>XML</datatype>
    </Headers>

  • Dynamic partner link for http binding

    Hi all,
    I'm writing BPEL code to call a web service with dynamic partner link.
    I'm succesful in soap binding but fail in http binding, it does not run with new given address.
    Could you please help me to solve this problem? Is the trouble coming from http binding?
    This is the successful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://152.78.239.173/FusionWPS/Fusionservice.asmx</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="WPS_Provider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="WPS_Provider" portType="nsxml0:FusionServiceSoap" operation="getCapabilities" inputVariable="getCapRequest" outputVariable="getCapResponse"/>
    - Binding and service:
    <wsdl:binding name="FusionServiceSoap" type="tns:FusionServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getCapabilities">
    <soap:operation soapAction="http://www.opengis.net/wps/getCapabilities" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="FusionService">
    <wsdl:port name="FusionServiceSoap" binding="tns:FusionServiceSoap">
    <soap:address location="http://1acb152.78.239.173/FusionWPS/Fusionservice1.asmx" />
    </wsdl:port>
    </wsdl:service>
    This is the unsuccessful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://153.96.8.132:80/52N-SOSv2-01-00/sos</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="SOSProvider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="SOSProvider" portType="nsxml0:SOS" operation="GetObservation" inputVariable="getObservationREQ" outputVariable="getObservationRES"/>
    - Binding and service:
    <binding name="SOSBinding" type="tns:SOS">
    <operation name="GetObservation">
    <http:operation location=""/>
    <input>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="SOS">
    <port name="SOS" binding="tns:SOSBinding">
    <http:address location="http://153.96.8.132:80/52N-SOSv2-01-00/sos1"/>
    </port>
    </service>
    Thanks for your help.
    An Le

    Dear all,
    Thanks for your pay attention on my question.
    I'm sorry, I have just taken my vacation, so I couldn't check your reply.
    c|3k: If the server is not available, it must be throw an error message. But in my case, it took the old address to run and give me a unexpected result.
    sashwat: I copied service name before, but it didn't work.
    But let me try again.
    Thank you all very much.
    An Le

  • How to use the http binding example?

    Hi all,
    i want to test the http binding example, but i didn't find any documentation to this example. Therefore i need some answers to my questions
    1. How do i deploy the QuoteService to the engine (do i have to compile it in the JDBPEL Designer?)
    2. When i have deployed the HttpBindingExample, how do i use it (which input data to use in the Process Manager?)
    Thanks for replying
    Alli

    Hi Ali,
    The QuoteService is a simple JSP, so you should deploy it as a web application to your local OC4J server which hosts the BPEL server. The context root should be QuoteService as described in the wsdl: <http:operation location="/QuoteService/quotes.jsp" />, or more simply just put under the default application location with a folder named QuoteService.
    The following code in the BPEL process assigns a value to the input variable of the invoke which invokes the service:
    <assign name="assignQuoteRequest">
         <copy>
              <from expression="'ORCL'">
              </from>
              <to variable="quoteRequest" part="symbol"/>
         </copy>
    </assign>
    Hope this helps,
    ~ronen

  • How can i set dynamic properties in HTTP Binding adapter  at run time

    Hi,
    I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
    Is it possible to set Version , Retry Count, timeout, authentication type at run time.
    below is code for setting endpointURI, UserName and Password dynamically.
    <invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
    partnerLink="SACS_Http_Adapter"
    portType="ns1:Request_Response_ptt" operation="Request-Response"
    inputVariable="HttpInvoke_Request-Response_InputVariable"
    outputVariable="HttpInvoke_Request-Response_OutputVariable">
    <bpelx:toProperties>
    <bpelx:toProperty name="endpointURI" variable="inputVariable"
    part="payload" query="@endpoint"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.username"
    variable="inputVariable" part="payload"
    query="@username"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.password"
    variable="inputVariable" part="payload"
    query="@password"/>
    </bpelx:toProperties>
    </invoke>
    Thanks,
    Siva
    Edited by: 929920 on Apr 25, 2012 7:45 AM

    Hi Bastain,
    Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
    This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback. 
    Here is an example of what I mean. 
    Adam
    Attachments:
    set SN within Main Sequence.seq ‏80 KB

  • Problem while using HTTP Binding in BPEL

    Hello
    I have a scenario where I am suppose to access a JSON based RESTful API from BPEL. I have created a HTTP binding adapter for the given endpoint.
    When I test the process I am getting the following error
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</summary>
    </part>
    <part name="detail">
    <detail>Unable to access the following endpoint(s): REPLACE_WITH_ACTUAL_URL</detail>
    </part>
    And while I was compiling it in JDeveloper I am getting the following error
    Warning(24,52): Failed to Find Binding "Get":"{http://xmlns.oracle.com/pcbpel/adapter/http/ProcessProject/GetContact/Get}Request_Response_pt" in WSDL Manager
    Can anyone please help me with this?
    Thanks

    Thank you for the reply
    I am able to contact the same endpoint from SoapUI and also the browser. As far as I know there is no proxy that is required but I will still go ahead and ask the provider.
    And do you have any clue why I am getting the error in Jdev when I compile the project?
    And another thing that I would like to mention is that the WSDL that the HTTP Binding adapter created is incomplete as in it does not have the <wsdl:service> tag, is that something that I should be looking out for?
    This is what my WSDL (generated by HTTP Binding Adapter) looks like
    <?xml version="1.0" encoding="UTF-16"?>
    <wsdl:definitions
    name="Get"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/http/ProcessProject/GetContact/Get"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/http/ProcessProject/GetContact/Get"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:msg_in_out="http://TargetNamespace.com/http"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <plt:partnerLinkType name="Request_Response_plt">
    <plt:role name="Request-Response_role">
    <plt:portType name="tns:Request_Response_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://TargetNamespace.com/http" schemaLocation="xsd/Get.xsd"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="root_msg_in">
    <wsdl:part name="root" element="msg_in_out:root"/>
    </wsdl:message>
    <wsdl:message name="root_msg_out">
    <wsdl:part name="root" element="msg_in_out:root"/>
    </wsdl:message>
    <wsdl:portType name="Request_Response_ptt">
    <wsdl:operation name="Request-Response">
    <wsdl:input message="tns:root_msg_in"/>
    <wsdl:output message="tns:root_msg_out"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    Thanks
    Edited by: user1165407 on Aug 1, 2012 3:54 PM

  • FIM 2010 R2 Web Service Connector SAP HCM HTTP binding

    Hi all,
    I'm currently configuring the FIM web service connector to connect to a SAP HCM system.
    I followed the documentation (http://www.microsoft.com/en-us/download/details.aspx?id=29943) to create the necessary web service on the SAP system. With the only difference that
    I'm not able to select "None" (HTTP) under the Web Service Communication Security Settings as described in the documentation.
    I had to select SSL and now get the following error message in the Web Service Configuration Tool.
    Synchronization Service Manager
    Following Endpoints are configured with unsupported binding:
    - 'customBinding' binding for 'Z_IDM_CONNECTOR_SOAP12' endpoint
    Please configure endpoint(s) with http binding only and refresh service(s).
    Web service connector cannot be configured through Synchronization Service Manager if endpoint binding is not basic http.
    Any help how to fix this is highly appreciated. I already can see the available BAPIs in the Web Service Configuration Tool. (In other words "Discovery" is working.)
    I'll get the same error if I try to load the configration file into the Web Service Connector in the Sync Engine.
    Thanks
    Chris

    Ok. I got that fixed by changeing the Transport Security to "None" in the Security Profile of the Service Definition.
    I'm now facing a different error that you might be able to help.
    I'm not able to add additional BAPIs to the SU_USER Function Group as described in the documentation because the "Plus" Button is missing in my screen. How can I add these BAPIs in order to use the Web Service Configuration Tool with the provided SAP ECC
    6 configuration template?
     Thanks
    Chris

  • HTTP Binding limitation in SOA Suite 11.1.1.5

    Hi,
    We are using BPEL to integrate our systems with 3rd party systems, where we are the consumer of the service given by external vendor. The external vendor exposes XML based service (REST services) and have given a url to perform certain functionality. We are using POST method to call the service.
    In our case, the external vendor is expecting XML without the namespaces and it's a limitation at their end. So they can't modify or rebuilt their existing system to support XML namespaces. But the HTTP binding wizard is not allowing to select the input and output if no namespace is used.
    So how to overcome this problem or is it a limitation of HTTP binding that it mandates the use of namespaces. Did it in another way by converting the xml payload to string but this will not scale for larger payloads. So looking for a resolution on this.
    Thanks & Regards
    Siva

    My requirements are slightly different. I have users in a SUN LDAP directory. I need to give access to these users to the worklistapp. I have other requirements too. Like me weblogic admins also need to authenticate to the same LDAP. My build and deploy teams should also use the same process to deploy composite apps to the server.
    I am able to add a provider in myrealm. Make sure that the users that I need are readby the provider. I tested this with one user and that user is able to login to the worklist app, after I did all the steps mentioned in the thread.
    Not sure if this meets your requirements too
    Atul

  • Difference between Direct binding ,  Web service Adapter and HTTP Binding

    Can any one help what is the differnce between
    *1) Direct binding*
    *2) Webservice Adapter*
    *3) HTTP Binding*
    I am trying to use the above service adapters as references in BPEL.
    I had invoked a web service hosted in OSB from BPEL via web service adapter and was successful
    On going through few docs came through the other two service adapters but was not able to figure out what exactly is the differnce .
    I learnt +"*Direct binding*"+ can be used to call OSB+ . How does it vary from Webservice Adapter+

    hi Eric ,
    Thanks for clarification ..
    OSB does not generate WSDL and web service adapter in BPEL mandates WSDL .
    I had to create WSDL separately and then feed into Web service adapter in BPEL to call OSB Proxy service. Though successful , felt its not an better approach.
    Please advice is there any way thatWSDL is generated in OSB itself . .if i try to create webservice on Proxy service the wsdl resulted from it has only binding and porty type .
    Is it the same case for ++Direct binding++ .I assume it should not be the case

  • Error with HTTP binding - 11g

    Hi all ,
    I am getting below error while calling existing RESTful webservice from BPEL SOA composite, using HTTP Binding:
    *“null schema location for ns=null [Cause=null schema location for ns=null] at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)”*
    WSDL file for HTTP service is
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="CASPaymentService"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/CSGetPaymentProvABCS/CASPaymentService"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/CSGetPaymentProvABCS/CASPaymentService"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <plt:partnerLinkType name="Request_Response_plt">
    <plt:role name="Request-Response_role">
    <plt:portType name="tns:Request_Response_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    *<schema xmlns="http://www.w3.org/2001/XMLSchema">*
    *<include schemaLocation="xsd/InputOutputFault.xsd"/>*
    *</schema>*
    </wsdl:types>
    *<wsdl:message name="envelope_msg_in">*
    *<wsdl:part name="input" element="envelope"/>*
    *</wsdl:message>*
    *<wsdl:message name="envelope_msg_out">*
    *<wsdl:part name="envelope" element="envelope"/>*
    *</wsdl:message>*
    <wsdl:portType name="Request_Response_ptt">
    <wsdl:operation name="Request-Response">
    <wsdl:input message="tns:envelope_msg_in"/>
    <wsdl:output message="tns:envelope_msg_out"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    Input schema  ( InputOutputFault.xsd) is like below: Please note it has no namespace
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="envelope">
    </xsd:element>
    </xsd:schema>
    binding in composite.xml is :
    <reference name="GetPaymentCAS" ui:wsdlLocation="GetPaymentCAS.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/GetPaymentCASServiceCall/GetPaymentCAS#wsdl.interface(Request_Response_ptt)"/>
    <binding.ws port="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/GetPaymentCASServiceCall/GetPaymentCAS#wsdl.endpoint(GetPaymentCAS/Request_Response_pt)"
    location="GetPaymentCAS.wsdl" supports="http">
    <property name="http.verb" type="xs:string" many="false">POST</property>
    <property name="endpointURI" type="xs:string" many="false">http://testaia:9111/CAS/servlets/PaymentServicesServlet</property>
    <property name="http.payload" type="xs:string" many="false">xml</property>
    </binding.ws>
    </reference>
    It seems like HTTP binding in 11g works with XSD with some namespace only. And if we provide the schema details in either <wsdl:types> or via “including schema in wsdl” as shown above, at runtime it still try to look for schema file.
    Any workaround/solution for same is highly appreciated.
    Thanks & Regards
    Pintoo

    hi,
    I depolyd my ProvideABCS into EM here i ubable to invoke the serveses i get below error
    webservices invoikesfail:
    The selected operation ProcessEcoproduct could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException
    addtionalinfo:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:808) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:362) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:802) ... 79 more Caused by: oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1040) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:826) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:358) ... 82 more
    please help on it

  • Post XML HTTP Binding

    I have understood that , I need to use HTTP Binding to sent XML documents to External system using POST.
    But where can I give the URL specifications during creation of HTTP Binding ?
    It doesn't ask me for URL during HTTP Wizard .
    Please let me know
    Sur

    Hello Both,
    Thank you.
    I ran following command from SQL Plus window after connecting to DB..
    SQL> @[%NLS_LANG%]
    SP2-0310: unable to open file "[AMERICAN_AMERICA.WE8MSWIN1252]"And also I have checked actual data using DUMP function, it looks like data stored is wrong.
    I have updated one field in SAP such that it only contains German character ä. When I query corresponding data from Oracle I got following output..
    SELECT xmlresponse.Notes,
      dump(xmlresponse.Notes,1010) dump_text
    FROM webservice_log,
      Xmltable(Xmlnamespaces
                                  ('http://www.w3.org/2003/05/soap-envelope' AS "env",
                                   'http://sap.com/xi/CRM/Global2' AS "nm",
                                   'urn:sap.com:proxy:DCT:/1SAI/TAS57DF0B317943DEAE3C49:702' AS "prx"
                                   '/env:Envelope/env:Body/nm:CustomerCRMByIDResponse/BusinessPartner'
                                   PASSING xml_response
                                   columns
                                   NOTES VARCHAR2(4000) PATH 'TextCollection/Text/TextContent/Text'
                             ) XMLRESPONSE;
    /* Output */
    NOTES -- DUMP_TEXT
    ä     Typ=1 Len=4 CharacterSet=AL32UTF8: 195,131,194,164But decimal notation for German character ä is different!
    SELECT DUMP('ä',1010) dump_text from dual;
    /*Output*/
    DUMP_TEXT
    Typ=96 Len=2 CharacterSet=AL32UTF8: 195,164Regards,
    Hari

  • Problem in Http Binding bpel process

    hi,
    Select NVL(to_char(ow_org_id),'Not Available') organizationId, count(rep_num)
    From xxx_table
    Where to_date(create_date) > to_date(?)
    Group by own_org_id, rep_num
    i have created bpel process and trying to get output based on the creation date. the process is based on Httpbinding where parameters are given from WSDL url as
    http://hostname:port/httpbinding/default/processname?&repDate=<date>
    i am creating the service with DB adapter(custom sql) output is empty xml
    i can get the output if i run the query in sqldeveloper can anyone help me in this regard
    created the httpbindings based on this link
    http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html

    hi,
    yes i am not using single quotes
    Select NVL(to_char(ow_org_id),'Not Available') organizationId, count(rep_num)
    From xxx_table
    Where to_date(create_date) > to_date(? ,'mm/dd/yyyy')
    Group by own_org_id, rep_num.
    if i run the above query in SQLdevloper works fine and can get the output but if i call from Http binding url like the below i am getting null xml data
    http://hostname:port/httpbinding/default/processname?&repDate=<date>
    i am creating the service with DB adapter(custom sql) output is empty xml
    i can get the output if i run the query in sqldeveloper can anyone help me in this regard
    created the httpbindings based on this link
    http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html

  • About ESB HTTP binding

    What is meant by ESB HTTP binding? How can we download XML through ESB?

    What is meant by ESB HTTP binding? How can we download XML through ESB?

  • ESB: WSIF HTTP Binding support

    Hi,
    Is there a way to perform HTTP POST/GET a non-SOAP XML message from ESB? I know BPEL supports this via WSIF HTTP binding. Looking for a way to do the same in ESB.
    Thanks in advance.
    Regards,
    Rajesh
    Message was edited by:
    Rajesh

    I tested the WSIF HTTP provider from ESB using following binding and port definitions. My test case involves simple ESB RS forwarding the request to SOAP service configured using WSIF HTTP binding.
    <message name="orderRequest_request">
    <part name="orderRequest" element="inp1:orderRequest"/>
    </message>
    <portType name="execute_ppt">
    <operation name="execute">
    <input message="tns:orderRequest_request"/>
    <output message="tns:orderRequest_request"/>
    </operation>
    </portType>
    <binding name="OrderRequestHTTPPost_binding" type="tns:execute_ppt">
    <http:binding verb="POST"/>
    <operation name="execute">
    <http:operation location="/execute"/>
    <input>
    <mime:mimeXml part="orderRequest"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="orderRequest"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="OrderRequestHTTPPostService">
    <port binding="tns:OrderRequestHTTPPost_binding" name="OrderRequestHTTPPost_port">
    <http:address location="http://<host>:<port>/testPost/httppostservlet"/>
    </port>
    </service>
    When I run this I am getting the following exception. I tested the same WSDL in BPEL successfully.
    I tried to enable the TRC for WSIF logging by setting debug level to 'all' in both domain.log and system log settings. But not much success so far.
    <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: "org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
         java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(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.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
         ... 43 more
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(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.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
         java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
         ... 39 more
    Caused by: java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
         ... 43 more
    </faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    Has anybody tried HTTP bindng iin ESB?
    Regards,
    Rajesh
    Message was edited by:
    Rajesh

Maybe you are looking for