Contents of HTTP POST is ignored for http:binding

Hi,
We are calling a legacy system utilizing WSIF http:binding with the POST method.
The input of the service is defined by a DTD which was transformed to the corresponding XSD. Generally it works, except that the called service returns a HTTP 201 (No Content) most likely due bpel includes the namescope of the passed message part. Furthermore the "Content-type" in the HTTP header is undefined (Content-type: null). The HTTP Log is attached below, the BPEL-Version is 10.1.3.1.
Adding the following lines in the XSD (that solved similar problems with the adapters) have no effect:
nxsd:version="DTD"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
The <input> of the <http:binding> is defined by <mime:mimeXml part="dataPart"/>
How can BPEL-PM suppress the namescope that we get an XML like the following:
<DATA>
<ACTION NAME="Amount" VALUE="100"/>
</DATA>
Cheers,
Lars
HTTP-LOG
========
POST /myservice HTTP/1.1
Host: dev1.internal
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
wsdlLocation: Sample.wsdl
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: null
Content-length: 494
<DATA xmlns="http://bpel/ns">
<ACTION NAME="Amount" VALUE="100"/>
</DATA>
HTTP/1.1 204 No Content
Date: Mon, 12 Feb 2007 15:09:25 GMT
Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
Content-Language: de
Cache-Control: private
Content-Length: 0
Content-Type: text/html;charset=UTF-8

Hi,
We are calling a legacy system utilizing WSIF http:binding with the POST method.
The input of the service is defined by a DTD which was transformed to the corresponding XSD. Generally it works, except that the called service returns a HTTP 201 (No Content) most likely due bpel includes the namescope of the passed message part. Furthermore the "Content-type" in the HTTP header is undefined (Content-type: null). The HTTP Log is attached below, the BPEL-Version is 10.1.3.1.
Adding the following lines in the XSD (that solved similar problems with the adapters) have no effect:
nxsd:version="DTD"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
The <input> of the <http:binding> is defined by <mime:mimeXml part="dataPart"/>
How can BPEL-PM suppress the namescope that we get an XML like the following:
<DATA>
<ACTION NAME="Amount" VALUE="100"/>
</DATA>
Cheers,
Lars
HTTP-LOG
========
POST /myservice HTTP/1.1
Host: dev1.internal
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
wsdlLocation: Sample.wsdl
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: null
Content-length: 494
<DATA xmlns="http://bpel/ns">
<ACTION NAME="Amount" VALUE="100"/>
</DATA>
HTTP/1.1 204 No Content
Date: Mon, 12 Feb 2007 15:09:25 GMT
Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
Content-Language: de
Cache-Control: private
Content-Length: 0
Content-Type: text/html;charset=UTF-8

Similar Messages

  • Tomcat always generates charset in Content-Type http header !!!

    Dear All! I need urgent help with a problem I met with and any suggestion are very appreciated!
    The problem is:
    We are using Tomcat as a web server (and JSP engine), and we would like to use a user control written in C# 2.0 on one of our pages. I've developed such component and tested it using JBuilderX (in fact it resides inside a JSP page). Everything is working fine while debugging using JBuilder, but when I tried to deploy the solution - I got a problem, my dll was not downloaded properly. Let me illustrate this with a test example. I wrote a test html page:
    <html > <head> <title>Test</title> </head> <body> <object id="MyControl" height="300" width="550" classid="http://localhost:8080/MyDLL.dll#WindowsControlLibrary1.UserControl1"> </object> </body> </html>
    When I tried to open it I did not get my control loaded. I check the headers of the server http response and found that Tomcat added the following string as
    Content-Type: application/x-msdownload;charset=ISO-8859-1
    I'm positive that in this case Content-Type should look like
    Content-Type: application/x-msdownload
    (or application/octet-stream if I would choose to define mime type for dll in server's web.xml as
    <mime-mapping> <extension>dll</extension> <mime-type>application/octet-stream</mime-type> </mime-mapping>
    - it does not matter as I understand )
    so Content-Type should not contain any charset for DLL part of response. NO charset=ISO-8859-1 !!
    But Tomcat adds it. :-( And I don't know how to prevent him doing that.
    On the other hand when I tried to open this page using Tomcat started from within JBuilder (port number in this case is different) - then everything was going good and control was downloaded to "Temporary Internet Files" and shown on the page.
    Content-Type field in this case was:
    Content-Type: application/x-msdownload
    without any charset.
    So, my question is: How to suppress Tomcat wish to add the "charset=ISO-8859-1" string to the Content-Type http response header?
    What should I do to load my test html page succesfully?
    Thanks in advance for you time and patience!
    Sincerely yours, Igor

    Back to the top

  • How can we put file  in Content Server (HTTP)

    Hi
    I have PDF file or Text file which i had to place a in Content Server( HTTP ).
    please tell me is there any program to place fiel.
    Thanks
    Sontosh

    You cannot do this through the database. The database server knows nothing about your client PC and cares even less. What you want to do can be done via a straight OS command like FTP. If you want to automate this you'll have to do it through the client.
    There are many ways to do it, it depends on your client environment. For insatnce, I'm currently on a project that uses Java to turn client PC files into bitstreams and then inserts them as CLOBs into a database table. Doing something similar in Forms should be a piece of cake with the D2KWUTIL library. Alternatively you could use HOST to initiate a FTP session.
    Rgds, APC

  • 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

  • HTTP Binding using POST Method

    Hi all,
    I need to pass XML to a BPEL using HTTP POST. I have got a sample running for passing information to BPEL through GET method of HTTP. But do not have any idea about how to pass XML using HTTP POST. Please put forward your suggestions.
    Thanks.
    John

    Thanks Marc.
    Let me rephrase the scenario.
    I have an external application which is capable of sending information only in XML through HTTP requests. It does not send SOAP messages. I guess in this case, we would need to use the HTTP binding using POST method. Much like the sample at http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html which uses the GET method.
    In this sample reynolds is using the GET method. I have been trying to get the POST method to work.
    Regards
    John

  • 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

  • OSB - Content length http header missing from business service out message

    Hi all,
    I am having some diffuclty with a business service in OSB. I created the business service from the wsdl and created a regular proxy service that just routes to the business service. When i run the test console i get the below fault.
    <faultcode>soapenv:Server</faultcode>
    <faultstring>BEA-380000: Length Required</faultstring>
    <detail>
    After some debugging i find that the content length http header is missing from the outbound message the business process creates and sends to the acutal web service which sends back the http 411 fault.
    Does anyone know how to configure the message flow of my proxy service to ensure that the outbound message sent from the business service contains that content length http header or any suggestions on how to fix this issue will be appreciated.
    Thanks

    Disable the "Use Chunked Streaming Mode" property in HTTP Transport Configuration of your business service. By default it remains enabled.
    Regards,
    Anuj

  • Call HTTP POST Service from SOA HTTP Binding (one - way)

    Hi All
    Why doesn't HTTP Binding support one-way Reference (It only allows request-response in outbound mode)? I need to call a one way HTTP post service from BPEL.
    How can i achieve this with HTTP-Binding. This one way HTTP POST service is on OSB. Please help!
    Thanks!

    Look at 10g samples under tutorials/702.bindings.

  • WSDL-Compiler for HTTP-Binding

    I am searching for a wsdl-compiler, which is able to compile wsdl documents using http-binding but not soap-binding.
    Thanks a lot for your helping.

    Doesn't it generate classes for HTTP binding? I never tried to compile WSDL with HTTP binding. What happens when you do that?

  • Duplicate post - please ignore - sorry! :-(

    Duplicate post - please ignore - sorry! :-(

    I hate sites like this. There's no way to get from one
    sublevel to another
    without going to the top level.
    I suggest you not use fly-out-type menus, but instead, have
    subordinate
    sectional navigation on each page within a given section. You
    can easily do
    this with a single template using Library items in an
    editable region for
    the sectional navigation, or better, using server-side
    includes.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Andrew_G" <[email protected]> wrote in
    message
    news:e3bcqe$1fc$[email protected]..
    > Hi
    >
    > I have eight categories to display in my site
    navigation.
    > Each category has at least one (some have two) levels of
    subcategories.
    > For example for one of the categories :-
    > Health > Level One.
    > Mens Health > Level Two cascading from this.
    > Prostate Trouble > Level three cascading from Mens
    Health.
    >
    > I only want users to see the level ones (Health in the
    example above) on
    > initial browsing of the site and then by clicking on
    these the associated
    > sub-categories (of that category only) will be
    displayed.
    > How can I organise my navigation using templates or
    libraries to allow
    > this?
    > With only one template it's all or nothing as far as I
    can workout and I
    > suppose what I want is the equivalent of 8 libraries (?)
    to correspond
    > with my
    > 8 navigation headings.
    > I hope this makes more sense to you Dreamweaver experts
    than it does to me
    > reading it back
    > Many thanks
    >
    >

  • Post Installation steps for Messages archiving from Adapter engine

    Hi,
    Can any let me know the post installation steps for Archiving messages from AE.
    We are archiving the messages from Integration Engine (BC_XMB).
    This note refers to the Post installation steps... But i could not find them anywhere.
    Note 790226 - Messages in AdapterEngine/PCK database do not get archived
    Thanks,
    Tanuj
    Message was edited by:
            Tanuj Kumar Bolisetty

    Hi Tanuj,
    have a look at note 872388
    "2) For messages in the Adapter Framework: note 816022, question 8
    (deletion) and
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/b2fc3f48ecc742e10000000a
    1550b0/content.htm (archiving)"
    Additionally consult the troubleshooting guide,page 110
    Set the adapter service properties (note 791379)
    Hope it helps
    Jaime

  • Post installation steps for PI 7.0

    Hi,
    Can anybody send me the Post installation steps for PI 7.0?
    Thanks in advance..
    ~Kumar

    Hello,
    <br><br><br>
    We did PI Installation recently and version is 7.1
    <br><br><br>
    Steps are as under...
    <br><br><br>
    <br>1.     Basic PI installation</br>
    <br><br>2.     System checks after basic installation
    <br>a.     SM50
    <br>b.     SM21
    <br>c.     ST22
    <br>d.     SM12
    <br>e.     SM13
    <br>f.     SM37
    <br><br>3.     Unlock the 001 client for cross-client changes temporarily and set system timezone (STZAC)
    <br><br>4.     Change 001 client settings back to no changes allowed.
    <br><br>5.     Create BASIS team member accounts in ABAP Stack and assign SAP_ALL.
    <br><br>6.     Set directory permission for \usr\sap\trans directory on Transport Domain Controller system.
    <br><br>7.     Import profiles (RZ10)
    <br><br>8.     Add the 4 following entries in to the instance profile and restart instance(RZ10)
    <br>a.     DIR_TRANS =
    hostname.domain.ext\sapmnt\trans
    <br>b.     icm/host_name_full = hostname.domain.ext
    <br>c.     login/system_client = 100
    <br>d.     icm/server_port_0 = PROT=HTTP,PORT=5<sysno>00,TIMEOUT=1800,PROCTTIMEOUT=1800 {SAP Note 1107808}
    <br><br>9.     Configure TMS in transport domain controller{PI DEV} (STMS)
    <br>a.     Add virtual system
    <br>b.     STMS in newly installed system and configure proper transport domain
    <br>c.     In domain controller approve the new system (STMS -> SAP system -> Approve)
    <br><br>10.     Get maintenance certificate and SAP license from service marketplace and apply in to the new system {ABAP and JAVA} (slicense and NWA)
    <br><br>11.     Kernel Update JSPM
    <br>a.     JSPM update
    <br>b.     Kernel update
    <br>c.     BC-FES-IGS update
    <br><br>12.     Support pack installation ABAP
    <br>a.     SPAM update
    <br>b.     Support packs update
    <br><br>13.     Support pack installation JAVA
    <br>a.     Apply support pack stack
    <br>b.     Apply support pack patches
    <br>i.     After JVM installation Error occurs apply MS windows KB973544 {SAP Note 1367498}
    <br>c.     Restart JSPM and continue patch installation
    <br><br>14.     Client copy from client 001 to X00 using profile SAP_ALL
    <br><br>15.     Create logical system and assign it to new client (SALE)
    <br><br>16.     Change UME target in JAVA to client X00.
    <br>a.     Enter URL as http://hostname.domain.ext:port/nwa
    <br>b.     Management -> Infrastructure -> Destination
    <br>c.     Logon data TAB change client to X00
    <br>d.     Restart JAVA Instance
    <br><br>17.     Create following users
    <br>a.     PIAFUSER, PIRWBUSER, PIISUSER, PIDIRUSER, PIREPUSER and PIAPPLUSER on the target SLD and new system manually and assign role/group SAP_SLD_CONFIGURATOR to them. {SAP Note 1309239}
    <br>b.     PISUPER in new system and assign appropriate roles in ABAP and JAVA
    <br>c.     SLD_DS_<SID> and SLD_CL_<SID> on target SLD {Use source system master password}
    <br>d.     JCoRFC_<SID> in new system
    <br>e.     Sapadm user in new system
    <br><br>18.     Assign roles and groups to BASIS team on JAVA Stack
    <br><br>19.     Create PUBLIC logon group (SMLG)
    <br><br>20.     Configure SLD collector job as sapadm (RZ70)
    <br><br>21.     Run Configuration Wizard
    <br>a.     Enter URL as http://hostname.domain.ext:port/nwa
    <br>b.     Configuration management -> Scenarios -> Configuration Wizard
    <br>c.     Select Initial Configuration and click Start.
    <br><br>22.     Create the JCoRFC connection.
    <br>a.     Enter URL as http://hostname.domain.ext:port
    <br>b.     Web Dynpro -> Content administrator -> Maintain JCo destination
    <br>c.     Fill in information for the following 4 entries using client X00 and JCoRFC_<SID> as the user {Make sure you note the distinction between Metadata and Model destinations when you are creating the destination}
    <br>i.     WD_ALV_METADATA_DEST
    <br>ii.     WD_ALV_MODELDATA_DEST
    <br>iii.     WD_MODELDATA_DEST
    <br>iv.     WD_RFC_METADATA_DEST
    (Use dictionary Meta Data for the Metadata connections, use Application Data for the Model Data connections.)
    (Use the master password for EXQ)
    <br><br>23.     Repeat for the remaining 3 JCo RFC destinations. 
    <br><br>24.     Run PI Full Qualified Host Name Wizard {SAP Note: 1320707}{Make sure you check the host names for integration server and SLD}
    <br><br>25.     Create RFC destination in to ERP target system (SM59)
    <br>a.     Give Name PI_INTEGRATIONSERVER
    <br>b.     Connection type H
    <br>c.     In Technical settings TAB provide
    <br>i.     Target host = hostname.domain.ext
    <br>ii.     Path Prefix = /sap/xi/engine/?type=entry
    <br>iii.     User information is blank
    <br><br>26.     Setting SXMB_ADM ERP target system
    <br>a.     Open Integration engine configuration
    <br>b.     Goto -> Change Global Configuration Data
    <br>c.     Role of Business system = Application System {This is optional}
    <br>d.     Provide RFC destination name in Corresponding Integ. Server = dest://PI_INTEGRATIONSERVER
    <br><br>27.     Schedule Standard Jobs as SAPADM in client X00.
    <br><br>28.     SICF service to activate
    <br>a.     /default_host/sap/public/bc/pictograms
    <br>b.     /default_host/sap/public/bc/webicons
    <br>c.     /default_host/sap/public/bc/its/designs
    <br>d.     /default_host/sap/public/bc/workflow
    <br>e.     /default_host/sap/bc/ccms
    <br>f.     /default_host/sap/bc/webdynpro/sap/CTS_BROWSER
    <br>g.     /default_host/sap/bc/webflow
    <br>h.     /default_host/sap/bc/workflow
    <br>i.     /default_host/sap/bc/workflow_xml
    <br>j.     /default_host/sap/bc/xmb
    <br>k.     /default_host/sap/bc/ping
    <br>l.     /default_host/sap/xi/wsdl_sr
    <br>m.     /default_host/sap/xi/wsdl_url
    <br>n.     /sap/bc/webdynpro/sap/appl_soap_management
    <br><br>29.     Adjusting JNLP Heap size
    <br>a.     Open the Exchange profile through the link  u201Cadministrationu201D from the  web page of the Process Integration tools.
    <br>b.     Under the folder u201CIntegration Builderu201D click on the variable u201Ccom.sap.aii.ib.clientjnlp.j2se.maxheapsizeu201D
    <br>c.     Value = 1024
    <br>d.     Save the change and restart the J2EE instance of PI so that the new value can take effect.
    <br><br>30.     Create RFC destination for Advanced Adaptor Engine in sender ERP system(SM59)
    <br>a.     RFC Destination = AAE_<SID>
    <br>b.     Connection type = G
    <br>c.     Target Host = Host Name of AAE Server {PI Server}
    <br>d.     Service No. u2013 HTTP port number of AAE Server
    <br>e.     Path Prefix = /XISOAPAdepter/MessageServlet?ximessage=true
    <br>f.     Under Logon & Security use PIAPPLUSER with PI target systemsu2019 master password.
    <br><br>31.     Create RFC destination <SID>_ALE in ERP Source system with user ERQALEUSER {Make sure you have this user created in new installed system}
    <br><br>32.     Install External Driver Configuration in Process Integration 7.1 Using JSPM {SAP NOTE: 1138877}
    <br><br><br>
    Please let me know if I am missing anything there...
    <br><br><br>
    Cheers,
    <br>
    Yogesh

  • 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

  • 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.

  • HTTP Binding & SOAP Binding

    I have a client where I need to post xml message to an aspx site. The XML need to be in a SOAP envelope. When using http binding to do a http post the message is not in a soap envelope. Is there a simple way of using http binding that will post the message in a soap envelope? I used obtunnel to capture the message of a http binding vs a soap binding.
    HTTP Binding:
    POST /httpreceive.aspx/httpreceive.aspx HTTP/1.1
    Host: devsoa.test.com:1234
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml
    Content-length: 336
    <?xml version="1.0" encoding="UTF-8"?>
    <AddressBookEntry xmlns="http://xmlns.oracle.com/TestService">
    <AddressBookNumber>43</AddressBookNumber>
    <Name>test user</Name>
    <AddressLine1/>
    <AddressLine2/>
    <City/>
    <State/>
    <PostalCode/>
    <Phone/>
    <Fax/>
    <Email/>
    <ElectDest/>
    </AddressBookEntry>
    SOAP Binding:
    POST /httpreceive.aspx HTTP/1.1
    Host: devsoa.test.com:1234
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: "process"
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml; charset=UTF-8
    Content-length: 734
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Header>
    <MsgSoapHeader xmlns="http://xmlns.oracle.com/TestService">
         <Authentication>
              <UserName>testUser</UserName>
              <Password>testPwd</Password>
         </Authentication>
         <Properties>
              <Company>TEST</Company>
         </Properties>
    </MsgSoapHeader>
    </env:Header>
    <env:Body>
         <AddressBookEntry xmlns="http://xmlns.oracle.com/TestService">
              <AddressBookNumber>12345</AddressBookNumber>
              <Name>test user</Name>
              <AddressLine1/>
              <AddressLine2/>
              <City/>
              <State/>
              <PostalCode/>
              <Phone/>
              <Fax/>
              <Email/>
              <ElectDest/>
         </AddressBookEntry>
    </env:Body>
    </env:Envelope>
    Edited by: sns724 on Mar 16, 2009 1:32 PM
    Edited by: sns724 on Mar 16, 2009 4:07 PM
    Edited by: sns724 on Mar 16, 2009 4:07 PM

    No, this is just a .net asp site (httpreceive.aspx) that take http post. I have to use http binding to do an http post since there is no web service. Therefore there is no wsdl to import for the partner link. However, they expect the xml to be in a soap envelope with a custom soap header for authentication. I'm able to get the soap envelope using soap binding but not http binding. What I need is to be able to do a http post with the message in a soap envelope. Any help will be greatly appreciated.

Maybe you are looking for

  • How to create a variant used in SM30,View variant in Parameter transaction?

    Dear Team, I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious. The quest

  • Sorting Albums in alphabetic order on iPad

    I set up a set of Albums in iPhotos on my iMac. Later I added a new album and it went to the bottom of the list of albums on the left side of screen. I physically dragged that last album up among the other albums to put it in alpha order. All well an

  • BPM payload value reading problem

    Hi all, In a bpm scenario, I have a switch that checks an element's attribute and another that checks an element's value.  In the former case, the TRUE branch gets executed when the condition is satisfied.  However, in the latter the condition is NEV

  • Hey ,,,

    since I updated the new iOS 6.1software , and the iPad cannot open any (ppt) formed file, and an error message "an error occured while reading the document" is shown  ,,, NeeD your help & Thanks Alot :D

  • "Synchronize WF LOCAL tables" has completed with error.

    Hi Guys, My FNDWFLSC program is failing with the below error: ORA-12801: error signaled in parallel query server P000 ORA-30022: Cannot create segments in undo tablespace When I check the tablespace its named as "APPS_UNDOTS1" and there are 4 undo...