Error while posting to Webservice using WCF-BasicHttp adapter

Hi,
I am getting the below exception when i am posting a request to a .asmx webservice using the Wcf-BasicHttp adapter.
I am able to call the same service with the SOAP adapter successfully. Could you please let me know any resolutions for the same.
The adapter failed to transmit message going to send port "MySendPort" with URL "http://myservice.com/Web.Services/service1.asmx". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ServiceModel.ProtocolException:
The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes
of the response were: '
<html>
    <head><link rel="alternate" type="text/xml" href="/Web.Services/Service1.asmx?disco" />
    <style type="text/css">
        BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }
        #content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; }
        A:link { color: #336699; font-weight: bold; text-decoration: underline; }
        A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; }
        A:active { color: #336699; font-weight: bold; text-decoration: underline; }
        A:hover { color: cc3300; font-weight: bold; text-decoration: underline; }
        P { color: #000000; margin-top: 0px; margin-bottom: 12px; font-family: Verdana; }
        pre { background-color: #e5e5cc; padding: 5px; font-family: Courier New; font-size: x-small; margin-top: -5px; border: 1px #f0f0e0 solid; }
        td { color: #000000; font-family: Verdana; font-size: .7em; }
        h2 { font-size: 1.5em; font-weight: bold; margin-top: 25px; margin-bottom: 10px; border-to'.
Server stack trace:
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
Regards,
Ujjwal
-Ujjwal

Where does the HTML indicate that the Service is not running??
The error message " The content type text/html; charset=utf-8 of the response message does not match
the content type of the binding (text/xml; charset=utf-8)" points to a bug in the WCF-BasicHttp described here:
http://social.msdn.microsoft.com/Forums/en-US/11796bf5-ba6a-4878-977e-5c854642f67c/the-content-type-textxml-charsetiso88591-of-the-response-message-does-not-match-the-content?forum=biztalkgeneral
Although not 100% the same, the conclusion here was to still use the old Adapter :-(
Morten la Cour

Similar Messages

  • Error while posting initial quantities using stocktaking template of DTW

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode WarehouseCode Counted
    ItemCode WarehouseCode Counted
    CHA0002 1 500
    CHA0076 1 4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    Hi Gordon,
    Thanks a lot for your time. I am able to post the quantities. Now please let me know how to update the item cost/price for these items using DTW ?
    Regards,
    Noor Hussain

  • DTW error while posting initial quantities using stocktaking template

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode     WarehouseCode     Counted
    ItemCode     WarehouseCode     Counted
    CHA0002     1     500
    CHA0076     1     4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    HI,
      The error might be because of the cell format of warehouse code. Check if the warehouse code in the system is "1" or "01". If it is "01" u need to change the format of the cells to text or else just put the symbol (  ' ) before  the warehouse codes. This might solve your problem.
    Thanks and regards.
    Pritesh.

  • Issue with publishing schema as webservice using WCF-BasicHTTP two way channel

    Here is my scenario:
    I am trying to publish a Req-Resp schema which will be consumed by an orchestration and will return a response to me .When I invoke the WCF service end point it triggers the orchestration but the response never comes back to the SOAP UI. My orchestration
    is completing and returning the response.
    But in the SOAP UI I am instead getting : <Message>Root element is missing.
    I am using WCF-BasicHTTP two way port. My app pool id under whcih the BT service is hosted  is part of Administrator group on the server
    My config file is as well updated with   <trust level="Full" originUrl="" /> info.
    What could be the reason for failure.

    Hi,
    Did you try checking your orchestration response xml against the schema definition WCF service is expecting to return.
    Regards Pushpendra K Singh

  • Error whil posting FI Document using 'F-28' 'Entry not Possible'

    Hi ,
            When i  trying post FI Dcoument using 'F-28'. As sudden given Posting key and account number i m getting the error "Entry not possible'. Can someone tell what is the reason for this.
    Regards
    Balamurugan N

    Check table TBSL : posting key TBSL-BSCHL give allowed account type TBSL-KOART
    A-nlagen(Asset),
    D-ebitoren(customer),
    K-reditoren(vendor),
    M-aterial,
    S-achkonten (general ledger))
    So, you cannot use a [posting key|http://help.sap.com/saphelp_46c/helpdata/en/96/8b3ee943ce11d189ee0000e81ddfac/frameset.htm] like 40 or 50 for a customer account or a 01 or 11 for a bank or expense/fee account.
    Regards,
    Raymond

  • UsnernameToken authentication failed using WCF-BasicHttp adapter

    I have read the other topic that is identical to this, but there is no detail as to what was actually changed to allow Kerrey to override the default 256 character limit. So I figured I would start a new thread and see if someone can show me what my binding
    file should include to override this setting.
    thanks,
    Chuck
    Charles

    So, the problem is that somewhere in the BizTalk/WCF bridge layer, a password is cut off at 256.  The WCF-Custom Adapter has the same issue.
    You have two options.
    Biding File:
    Export a binding file.
    Trim all but the one Send Port where you need the long password.
    Fine the Password element in the TransportTypeData blob.  Yes, it's escaped Xml so edit carefully.
    Enter you long password, save.
    Import Binding file, then delete (so you don't have the clear test password anymore).
    SSO:  (This is the 'better' option)
    Create an SSO Affiliate Application
    Set the Service Credentials.  SSO will accept the long password.
    Set Use Single SignON and your Affiliate application in the Client Credentials dialog on the Security Tab.
    Somewhere prior to the Adapter (Orchestration, Send Pipeline) set the BTS.SSOTicket Context Property
    I've never tried the binding file option but SSO works great and is designed for such scenarios (storing passwords).

  • Error while invoking a webservice using Axis deployed in  tomacat from Bpel

    Hi,
    I am trying to invoke a Axis webservice(from Java class to WSDL- bottom up java bean webservice approach) developed in Exclipse IDE, deployed in Tomcat.
    When i am trying to invoke the service, from Bpel from Jdeveloper it is throwing error as such :
    Invoke_1 (faulted)
    [2009/05/22 14:32:18] Faulted while invoking operation "storeLoanData" on provider "LoanDataPersist".less
    -<messages>
    -<input>
    -<Invoke_1_storeLoanData_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="p_request">
    -<p_request xmlns="" xmlns:def="http://dtos.demo.com" xsi:type="def:LoanDataPersistRequest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <customerName>wew
    </customerName>
    <netIncome>12
    </netIncome>
    <loanAmount>12
    </loanAmount>
    <realEstateAddress>wew
    </realEstateAddress>
    <customerID/>
    </p_request>
    </part>
    </Invoke_1_storeLoanData_InputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>exception on JaxRpc invoke: trailing block elements must have an id attribute
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    I may add that, the WSDL generated is using "soap:enc:array ", rpc style.
    Can anyone tell me the reason and suggest .

    Hi Marc,
    Thanks for the guidancer. But sir, i am unable to detect at which place i have to do the required changes.I found p_request as a parameter in the method only in the interface only.
    As bcos ultimately , i am generating the tomcat /axis web service (WSDL) from the java class, which is using 2 Request and response java bean, in which they are doing someing like this:
    private static org.apache.axis.description.TypeDesc typeDesc =
    new org.apache.axis.description.TypeDesc(LoanDataPersistRequest.class, true);
    static {
    typeDesc.setXmlType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("customerName");
    elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
    elemField.setXmlType(new javax.xml.namespace.QName("", "string"));
    elemField.setNillable(true);
    etc etc...................}
    And second thing is when the WSDL is generated, from that the stubs and skeletons is generated to test the service.
    There in the Stub i found out "p_request" in this place:
    private static void _initOperationDesc1(){
    org.apache.axis.description.OperationDesc oper;
    org.apache.axis.description.ParameterDesc param;
    oper = new org.apache.axis.description.OperationDesc();
    oper.setName("storeLoanData");
    param = new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false);
    oper.addParameter(param);
    oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
    oper.setReturnClass(com.demo.dtos.LoanDataPersistResponse.class);
    oper.setReturnQName(new javax.xml.namespace.QName("", "storeLoanDataReturn"));
    oper.setStyle(org.apache.axis.constants.Style.RPC);
    oper.setUse(org.apache.axis.constants.Use.ENCODED);
    _operations[0] = oper;
    And in skeleton :
    static {
    org.apache.axis.description.OperationDesc _oper;
    org.apache.axis.description.FaultDesc _fault;
    org.apache.axis.description.ParameterDesc [] _params;
    _params = new org.apache.axis.description.ParameterDesc [] {
    new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false),
    oper = new org.apache.axis.description.OperationDesc("storeLoanData", params, new javax.xml.namespace.QName("", "storeLoanDataReturn"));
    _oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
    _oper.setElementQName(new javax.xml.namespace.QName("urn:com.demo.service", "storeLoanData"));
    _oper.setSoapAction("");
    myOperationsList.add(oper);
    if (_myOperations.get("storeLoanData") == null) {
    _myOperations.put("storeLoanData", new java.util.ArrayList());
    ((java.util.List)_myOperations.get("storeLoanData")).add(_oper);
    PLease suggest if i make some changes in stub and skeleton how it would reflect the WSDL... or else please suggest where shud i do the required changes.

  • Error while posting a document using  the  BAPI_GOODSMVT_CREATE

    Hi,
    i was trying to post the Goods Receipt document ( Tcode MB1C) using the bapi  BAPI_GOODSMVT_CREATE
    i am passing the item details and Serial number details.
    the error triggered was Maintain Serial Numbers for Total Quantity
    but i am passing the quantity as 1 ( in item data) and passing one serial number.
    is this error because of data problem or am i missing to pass the value to  some dependent parameter..?
    Please help me out.
    Thanks in advance.
    Sriram

    Hi David,
    i was tring to pass the same.
    in item table we have we have four item details ( below)
    RES_ITEM - Item Number of Reservation/Dependent Requirement
    ORDER_ITNO - Order Item Number
    S_ORD_ITEM - Item Number in Sales Order ( length mismatch with serial  item number)
    PO_ITEM  - Item Number of Purchasing Document ( length mismatch with serial  item number)
    out 4 , 2 are ruled out because of length mismatch. and in the reaming two are
    RES_ITEM - Item Number of Reservation/Dependent Requirement
    ORDER_ITNO - Order Item Number
    this is a Goods receipt document, please let me know which field is required to map with item number in the above two.
    Regards,
    Sriram.

  • Error while posting data to sender axis soap adapter

    Hello,
    I am trying to post the data to following url
    http://sapxis:50000/XIAxisAdapter/MessageServlet?senderService=temp&interface=os%5Ftest&interfaceNamespace=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC
    But I am getting following error:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Server.generalException</faultcode>
             <faultstring>failed to invoke the module proessor; nested exception is:
         com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=temp;TS=null;AN=os%5Ftest;ANS=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC;</faultstring>
             <detail>
                <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">sapxis</ns1:hostname>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>
    Please help.
    Thanks in advance,
    Beena.

    Thanks Stefan.
    Yes, sender agreement is there and it is also there in CPA Cache.
    CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I
    ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...
    http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.
    Am I missing something?
    Thanks,
    Beena.

  • Error while posting usint tcode f-02 in fi

    Hi all,
    I am getting an error while posting a document using t code f-02.It is allowing me to go through the 3 steps of posting a document  but while saving it gives me the following error message:
    Error accessing function module:fmfk_fikrs_read parameter:ip_fikrsp_fma_objnr
    Message no:f1030
    DIAGNOSIS:
    The application has accessed a funds management or cash management module with parameters messing or defective.
    PROCEDURE:
    Notify your system administrator.
    Hope some body would help me out.
    Thanks

    Hi,
    Not sure if this works out
    try checking img-Financial Accounting-Financial Accounting Global Settings-Company Code-Enter Global Parameters
    double click on company code and see if any thing is assigned in the feild to FM.
    regards
    genie

  • Posting period 011 2013 is not open while posting the document using F-02 getting the error

    Hi SAP Captains,
    Pls help me here.
    While posting the document using T-code F-02 getting the error "Posting period 011 2013 is not open.
    Please help me how to do, can you provide step by step.
    Rgds..Suresh

    Hi Suresh,
    You can search google and will get number of posts on this. This will lead to duplication of similar posts on forum.
    The message says "FI posting period is closed for 11th period of 2013". In which period you are trying to post the transaction?
    If it is past, open the FI posting periods in OB52.
    BR, Srinivas Salpala

  • "Submission status" error while posting comments using evcom

    Hi friends,
    I am  getting "Submission status" error while posting comments using evcom. This error comes up even when we use "post comments" option in Action Pane.
    The error text goes like this :
    Error Message -
    This cell can not be updated.  Submission status must be modified to allow changes.
         010_000|2009.TOTAL|INTERCO|NOPC
    How can we get rid of this error?

    That's means the status for that specific category, time entity is approved and you can not do any changes including
    comments chnages.
    You have to change first the work status for that entity and after that you will be able to submit your comments.
    Regards
    Sorin radulescu

  • Error while posting a write up for asset belonging to affiliated company

    Hi,
    I am facing an error while posting a write up for an asset which belong to an affiliated company. Error is
    Transaction type 790 not possible (posting to affiliated company)
    Message no. AA390
    I am using Transaction type 711 which is linked to 790 in custo. Kinldy let me know how to resolve this issue.
    Thanks
    Pragya

    Hi
    According to this note for document type used, we should not select the 'inter company posting' or 'enter trading partner indicator'
    but as i m doing writeup for asset belonging to affiliated company, so i need to set this indicator. the document type used is standard AA
    Is there any other way, to resolve the issue
    Thanks
    Pragya

  • Error while posting the parked document in ECC 6.0

    Hello ABAPers,
    After upgrade from R/3 4.6c to ECC 6.0, when we try to post the parked documents ,It calls FM :POSTING_INTERFACE_DOCUMENT".
    Inside it a call transaction is done using FBVB which throws error while posting for more than 4 withholding tax types.
    Error : Field WITH_DIALG-WT_BASE(5) does not exist in the screen SAPLFWTD 0100.
    On running BDC in foreground mode ,Error is happening when the withholding dialog opens and screen seems to be small to input all the tax codes i.e it shows only 4-5 rows and hence only 4 tax types passes to the screen and remaining is left out and error is thrown. This results in document not getting posted.
    But in 4.6 c a bigger screen pops up and no error is thrwon.
    We are not able to check FBVB directly, since it does'nt allow Direct call to this transaction.
    We have checked lots of thread and notes ,But nothing seems to be relevant or helpful in our case.
    Could you please help us in resolving this issue/ let us know if any configuration/ screen variant change is required?
    Thanks!
    Regards,
    M M Jaffer.

    Hello Nabheet ,
    It is a standard code. We are calling the FM  'PRELIMINIARY_POSTING_POST_ALL'  for posting the parked document. The FM calls internally another FM 'POSTING_INTERFACE_DOCUMENT'. This calls the transaction FBVB where we get the above error.
    Thanks.

  • Error while posting parked documents

    HI ALL,
    After upgrade when we try to post the parked documents ,It calls FM :POSTING_INTERFACE_DOCUMENT"
    Inside it a call transaction is done using FBVB which throws error while posting for more than 4 withholding tax types.
    Error : Field WITH_DIALG-WT_BASE(5) does not exist in the screen SAPLFWTD 0100.
    On running BDC in foreground mode ,Error is happening when the withholding dialog opens and screen seems to be small to input all the tax codes.
    But in 4.6 c a bigger screen pops up and no error is thrwon.
    We have checked lots of thread and notes ,But nothing seems to be relevant or helpful in our case.
    Please check it.
    Thanks!

    Hi,
    Please follow as given below:
    1. Use T.Code KO31 and enter order and deactivate the control
    2. Then try to post the parked document
    3. And use T.Code KO30 and enter the order to activate the control
    Some times system will check budget availability which already commited for parked documents.
    Hope it will work.
    Chandu

Maybe you are looking for

  • Concept of an Application

    I am trying to understand the concept of the Application. Assume I deployed a web application MyAppTest (http://www.myapptest.com) to the Application Server. 1)When the first user launches the http://www.myapptest.com from a Browser, to access the Ap

  • Problem with wifi conection in XP

    Hi! Win XP was installed in my Macbook, using Bootcamp. All drivers are instaled after winXP was installated, but I can't connect with wifi conection. When I'll try to conect, windows says "much time for conect, out of acces. try again" buy I can't a

  • MPEG-4 video file playback issue

    I have ripped a couple of DVDs into MPEG 4 to watch on my Macbook. The first time I accessed one I put the headphones on but it was unwatchable - the picture and sound were out of sync. A while later I decide to poke around this issue and found that

  • Errór en la actualización

    Anoche me llego la notificación de la actualización del iOS de mi iPad mini, seguí las instrucciones descargo se apagó y empezó a instalar, desde anoche se quedo instalando, ya pasaron muchas horas y no lo puedo usar, se quedo en la manzana y una bar

  • Why i cannot search any music on my itunes? is it necessary to register and pay an annual fee in order to usa the itunes in your ipad?

    why i cannot search any music on my itunes? is it necessary to register and pay an annual fee in order to usa the itunes in your ipad?