Issue with SOAP Header

Hi All,
I am beginner in SOA . Please excuse me if my phrasing is not quite right . Please do let me know if you require additional information to answer this question
Jdev : 11.1.1.3.0
UseCase :
Trying to learn SOA . In this regard, I created a SOA project that BPEL process, call this as Calling process. This BPEL will call another SOA project through partner link.
Step1  : From the calling process I am passing the header information . Assigned this header to a simple string like "Test"
<invoke name="Invoke_1" inputVariable="Invoke_1_execute_InputVariable"
            outputVariable="Invoke_1_execute_OutputVariable"
            partnerLink="Service1" portType="ns2:execute_ptt"
            operation="execute" bpelx:inputHeaderVariable="HeaderVariable"/>
Step 2: Has a Mediator and a BPEL . In the Mediator.mplan , below is what I am trying to do . That is trying to access the header that was passed in from calling process  and getting the error as below
               <assign>
                  <copy target="$out.payload/client:process/client:header"
                        xmlns:inp1="http://xmlns.oracle.com/singleString"
                        xmlns:client="http://xmlns.oracle.com/WebService_jws/HelloWorld/HelloWorldBPELProcess"
                        expression="$in.header.inp1_singleString/inp1:singleString/inp1:input"/>
               </assign>
oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01001:[Error in assign operation]Error occurred while assigning to target "$out.payload/client:process/client:header" using expression "$in.header.inp1_singleString/inp1:singleString/inp1:input".Possible Fix:Check if source message has right values or source expression is valid.
Thanks
Sandeep

Try this :
In the composite.xml of your mediator process, add "passThroughHeader" property. Probably, that might help.
Read this : Creating Oracle Mediator Routing Rules
Hope it helps !

Similar Messages

  • Calling Web Service with SOAP header from BPEL

    Hi,
    I am calling a web service (with header information) from BPEL. In the Invoke activity, i created a header variable to pass the header information.
    But, when i test the BPEL service, invoke activity fails because the header information is not being passed.
    Below is the error message (copied from clipboard).
    +<messages><input><Invoke_1_getsubinfo_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><getsubinfoElement xmlns="http://ws/its/tabs/webservices/SingleRowWS/SingleRowWS.wsdl">+
    +<pSubnoin>+
    +<insubno>12345678</insubno>+
    +</pSubnoin>+
    +</getsubinfoElement>+
    +</part></Invoke_1_getsubinfo_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke:+
    start fault message:+
    Internal Server Error (Caught exception while handling request: javax.xml.rpc.JAXRPCException: Not authenticated user)+
    *:end fault message*</summary>
    +</part></bindingFault></fault></messages>+
    As said, no header information is visible in the Invoke activity.
    Please provide help for the above issue.
    -MJ

    Hello Patrick,
    Thanks for the response. I am using normal assign activity to assign values to the header variable as shown below. HeadMT is the header variable which is passed in the invoke activity.
    +<assign name="Assign_Header">+
    +<copy>+
    +<from expression="'tkl12'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:USER_NAME" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'tkl123'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:PASSWORD" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +<copy>+
    +<from expression="'TKL'"/>+
    +<to query="/ns1:LOGIN_INFO/ns1:CHANNEL_ID" variable="*HeadMT*"+
    part="payload"/>
    +</copy>+
    +</assign>+
    The expected input by the web service is as below with the header information highlighted.
    +<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ws/webservices/RowWS/RowWS.wsdl">+
    +*<soap:Header>*+
    +*<ns1:LOGIN_INFO>*+
    +*<ns1:USERNAME>tkl12</ns1:USERNAME>*+
    +*<ns1:PASSWORD>tkl123</ns1:PASSWORD>*+
    +*<ns1:CHANNEL_ID>TKL</ns1:CHANNEL_ID>*+
    +*</ns1:LOGIN_INFO>*+
    +*</soap:Header>*+
    +<soap:Body>+
    +<ns1:substatusElement>+
    +<ns1:pInparam>+
    +<ns1:insubno>7674988</ns1:insubno>+
    +</ns1:pInparam>+
    +</ns1:substatusElement>+
    +</soap:Body>+
    +</soap:Envelope>+

  • Consume web service in ABAP proxy with SOAP header

    Hi Thomas ,
    I am trying to consume web service in  ABAP . I have followed the procedure from one of your web blog <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap a Developer's Journal Part XIV - Consuming WebServices with ABAP</a> . (640 release).
    I need to pass SOAP header along with SOAP body. As you mentioned I have used if_wsprotocol_ws_header interface to pass header but it is still failing.
    Please see below code and please give some direction to fix the issue.
    1.Create ABAP proxy for WSDL (http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL). It has created structures only for SOAP body.
    2.Create Logical port
    3.Create following program to call proxy
    REPORT  zproxy.
    DATA: ref_stock TYPE REF TO zzco_stock_quotes_soap ,
          ws_header TYPE REF TO if_wsprotocol_ws_header,
          name TYPE string,
          namespace TYPE string.
    TRY.
        CREATE OBJECT ref_stock
      get WS_HEADER protocol
        ws_header ?= ref_stock->get_protocol('IF_WSPROTOCOL_WS_HEADER').
      set somehow header as iXML-DOM tree
        DATA: ixml TYPE REF TO if_ixml,
              xml_document TYPE REF TO if_ixml_document,
              xml_root TYPE REF TO if_ixml_element,
              xml_element TYPE REF TO if_ixml_element,
              xml_node TYPE REF TO if_ixml_node.
        DATA l_xstring        TYPE xstring.
        DATA l_string         TYPE string.
        FIELD-SYMBOLS <fs_xstring> TYPE xstring.
      Additional Header:
        CONCATENATE
    '<soap:Header>'
    '<s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">'
    '<s1:RegisteredUser>'
    '<s1:UserID>[email protected]</s1:UserID>'
    '<s1:Password>aaaaaaaa</s1:Password>'
    '</s1:RegisteredUser></s1:LicenseInfo>'
    '</soap:Header>' INTO l_string.
      convert to xstring
        l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
        IF NOT l_string IS INITIAL.
        create iXML DOM document from XML xstring
          CALL FUNCTION 'SDIXML_XML_TO_DOM'
            EXPORTING
              xml           = l_xstring
            IMPORTING
              document      = xml_document
            EXCEPTIONS
              invalid_input = 1
              OTHERS        = 2.
          IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
            xml_root = xml_document->get_root_element( ).
            xml_element ?= xml_root->get_first_child( ).
          add header element by element to SOAP header
            WHILE NOT xml_element IS INITIAL.
              name = xml_element->get_name( ).
              namespace = 'http://swanandmokashi.com' . "xml_element->get_namespace_uri( ).
              IF NOT xml_element IS INITIAL.
              ENDIF.
              ws_header->set_request_header(
                          name = name
                          namespace = namespace
                          dom = xml_element ).
              xml_element ?= xml_element->get_next( ).
            ENDWHILE.
          ENDIF.
        ENDIF.
      CATCH cx_ai_system_fault .
    ENDTRY.
    *Call soap body using abap proxy class.
    DATA: get_quotes TYPE zzget_quotes_soap_out .
    DATA: get_quotes1 TYPE zzget_quotes_soap_in .
    get_quotes1-quote_ticker = 'GE'.
    TRY.
        CALL METHOD ref_stock->get_stock_quotes
          EXPORTING
            get_quotes1 = get_quotes1
          IMPORTING
            get_quotes  = get_quotes.
      CATCH cx_ai_system_fault .
      CATCH cx_ai_application_fault .
    ENDTRY.
    4.It is throwing cx_ai_system_fault error.
    SOAP details:
    Input:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding" >
    <soap:Header>
    <s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">
    <s1:RegisteredUser>
    <s1:UserID>[email protected]</s1:UserID>
    <s1:Password>aaaaaaaa</s1:Password>
    </s1:RegisteredUser>
    </s1:LicenseInfo>
    </soap:Header>
    <soap:Body>
    <tns:GetQuotes xmlns:tns="http://swanandmokashi.com">
    <tns:QuoteTicker>GE</tns:QuoteTicker>
    </tns:GetQuotes>
    </soap:Body>
    </soap:Envelope>
    Thanks,
    Kavitha.

    Hi ,
    Thank you for the response. Did you passed user email and password ([email protected] /aaaaaaaa) part of licenseinfo->resisteredUser along with Quoteticker GE in analyzer?
    <a href="http://www.strikeiron.com/Analyzer/OnlineAnalyzer.aspx?WSDL=http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL">ANALYZER</a>
    Thanks,
    Kavitha.

  • Generating Web Service with SOAP Header

    Hello,
    I have a WSDL for a web Service using document encoding and with a soap header.
    I generate a jws file using WL Workshop 81.SP4 but I always have this error message :
    ERROR: AjoutContactService.jws:13: The binding for AjoutContact does not declare one part.
    ERROR:      SUGGESTION: A document literal binding must have at most one part. Make sure you have a WSDL that declares just one part for each message with a document literal binding.
    The header is a recent adding on an existing Web Service, and I can't change the wsdl definition. I also need to use data contained by the header in conjunction with data in the body.
    Is it a limitation with workshop or a problem with with my binding file ?
    I give sample of my two wsdl files.
    Given wsdl file
         <wsdl:message name="inputAjoutContact">
              <wsdl:part name="body" element="xsdin:NouveauContact"/>
    <wsdl:part name="header" element="xsdinhead:EnTeteRequete"/>          
         </wsdl:message>
         <wsdl:message name="outputAjoutContact">
              <wsdl:part name="body" element="xsdout:StatutAjoutContact"/>
         </wsdl:message>
         <wsdl:message name="faultAjoutContact">
              <wsdl:part name="body" element="xsdfault:Exception"/>
         </wsdl:message>
         <wsdl:portType name="AjoutContactPortType">
              <wsdl:operation name="AjoutContact">
                   <wsdl:input name="ParametresEntree" message="tns:inputAjoutContact"/>
                   <wsdl:output name="ParametresSortie" message="tns:outputAjoutContact"/>
                   <wsdl:fault name="ParametresException" message="tns:faultAjoutContact"/>
              </wsdl:operation>
         </wsdl:portType>
    binding file
              <wsdl:operation name="AjoutContact">
                   <soap:operation soapAction="urn:#AjoutContact"/>
                   <input>
    <soap:header part="header" use="literal"/>
    <soap:body parts="body" use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
    <fault name="ParametresException">
    <soap:fault use="literal" name="ParametresException" />
    </fault>
         </wsdl:operation>

    Hi,
    This appears to be a known limitation and is addressed by CR227689
    which has a workaround that needs the wsdl to be modified.
    I am not sure if this is possible given that we don't control the wsdl most times.
    Could you please open a BEA support case and refer to CR227689?
    Vimala-
    p.s:
    I found some info on the issue which could help:
    1) Refer to <http://lists.oasis-open.org/archives/regrep/200306/msg00071.html>
    you will see that only one part is allowed in the message part for doc/literal webservices Snippet from the above link
    "Also, keep in mind that WS-I BP permits only one <part> on document/literal messages, so to be WS-I compliant, you would have to include it in the message structure. "
    2) Refer to http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html#refinement35722968 <http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html>
    below R2208)
    "For document-literal bindings, the Profile requires that at most one part, abstractly defined with the element attribute, be serialized into the soap:Body element."
    This implies Soap body contains message which contains a at most one part.

  • ASMX to WCF Migration with SOAP Header

    Hi All,
    I am migrating my current Web Service to WCF. Everything seems to be ok with simple asmx service. But for some of my web methods I have SoapHeaders defined for authentication. In those webmethods I have at some places used custom classes too as parameters or return values.
    Now when I am converting my webservice to WCF, how do I write code so that it takes SOAP headers too. I tried to use Message Contract and Message Headers. But could not get hat right. In one of the posts on google, I saw code like the one below:
    SoapHeader("authHeader", typeof(ServiceHeader), Direction = SoapHeaderDirection.In)]
    but it gives a compile time erro of wrong no of arguments. Am I missing some using directive? Or is there any other way I can include SoapHeaders in my Operation Contracts for authentication?

    I appreciate you response to my query. However it is not fully gratifying my needs. Here is another explanation. I have an exisitng web service something like the the code below
    //My Soap Header Class
    public class ServiceHeader : SoapHeader
    public string userName;
    public string pasword;
    //My ASMX Class
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class Service1 : System.Web.Services.WebService
    public ServiceHeader authHeader;
    [WebMethod]
    [SoapHeader("authHeader", Direction = SoapHeaderDirection.In)]
    public string HelloWorld()
    string result = String.Empty;
    if (authHeader.userName == "uid" && authHeader.pasword == "password")
    result = "Hello User!!!!";
    return (result);
    This code works perfectly fine with asmx web services. Now I converted it to WCF with a condition that it should still work with my exisitng web service users. Here is my code after convertion:
    //My Soap Header Class
    [DataContract]
    public class ServiceHeader : SoapHeader
    [DataMember]
    public string userName;
    [DataMember]
    public string pasword;
    //My WCF Class
    [WebService(Namespace = http://tempuri.org/)]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ServiceContract(Namespace = "http://tempuri.org/")]
    public class Service1 : System.Web.Services.WebService
    public ServiceHeader authHeader;
    [WebMethod]
    [SoapHeader("authHeader", Direction = SoapHeaderDirection.In)]
    [OperationContract]
    public string HelloWorld()
    string result = String.Empty;
    if (authHeader.userName == "uid" && authHeader.pasword == "password")
    result = "Hello User!!!!";
    return (result);
    I have also made necessary changes to web.config. My Client code is:
    protected void btnInvokeAsmx_Click(object sender, EventArgs e)
    Service1 oAsmx = new Service1();
    ServiceHeader authHeader = new ServiceHeader();
    authHeader.userName = "uid";
    authHeader.pasword = "password";
    oAsmx.ServiceHeaderValue = authHeader;
    Response.Write(Asmx.HelloWorld());
    The above code works perfectly fine with asmx service. But when I convert it to WCF, I am not able to pass header values to the service. Can anyone let me know the issue or ways to pass my service header values to new WCF service?

  • Issues with SOAP output from our adapter.

    Hi,
    I have a supplier who is building a SOAP processor. To do this I streamed the output to them and they reviewed it. A number of things were pointed out and I wanted to know if there was a way for me to resolve them. The message is below. I am not a MIME/SOAP guru but they think the output does not follow W3C standards.
    1) The Content-Type in MIME header should be multipart/related; type="text/xml"; since attachments are included.
    2)The entire actual MIME message is 7 bit encoded. We are expecting to see that the SOAP message is 7 bit encoded and each attachment is base64 encoded.
    3) The SOAP message is missing xml header <?xml version="1.0" encoding="UTF-8"?> in the actual MIME message.
    Any thoughts are apprieciated
    Message-ID: <11922341.1155159668324.JavaMail.webmethods@exshaw>
    MIME-Version: 1.0
    Content-Type: text/xml; charset=utf-8
    content-transfer-encoding: 7bit
    --SAP_c4faf651-27ef-11db-a170-0014c258bd93_END: --SAP_c4faf651-27ef-11db-a170-0014c258bd93_END
    Content-ID: <[email protected]>
    Content-Disposition: attachment;filename="[email protected]"
    - Hide quoted text -
    Content-Description: SOAP
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header><sap:ReliableMessaging xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:QualityOfService>ExactlyOnceInOrder</sap:QualityOfService><sap:QueueId>ORD2000000625</sap:QueueId></sap:ReliableMessaging><sap:Diagnostic xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:TraceLevel>Information</sap:TraceLevel><sap:Logging>Off</sap:Logging></sap:Diagnostic><sap:HopList xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:Hop timeStamp='2006-08-09T21:25:59Z' wasRead='false'><sap:Engine type='BS'>EP_QAS_SRM_QSR_100</sap:Engine><sap:Adapter namespace='http://sap.com/xi/XI/System'>XI</sap:Adapter><sap:MessageId>7eb44f25-ecc2-844e-9188-b79f8a9ab640</sap:MessageId><sap:Info>3.0</sap:Info></sap:Hop><sap:Hop timeStamp='2006-08-09T21:25:59Z' wasRead='false'><sap:Engine type='IS'>is.00.bp1houap494</sap:Engine><sap:Adapter namespace='http://sap.com/xi!
    /XI/System'>XI</sap:Adapter><sap:MessageId>6dd9983c-e326-8744-bf40-ace9767a88c0</sap:MessageId><sap:Branch><sap:MessageId>6dd9983c-e326-8744-bf40-ace9767a88c0</sap:MessageId><sap:Service>Digital_Oilfield</sap:Service></sap:Branch><sap:Branch><sap:MessageId>0e3736f7-9f64-6e47-973f-632caf0d8ed6</sap:MessageId><sap:Party agency='' scheme=''>Channelinx_Party</sap:Party><sap:Service>PIPP32_10_Seller</sap:Service></sap:Branch><sap:Info>3.0</sap:Info></sap:Hop><sap:Hop timeStamp='2006-08-09T21:26:00Z' wasRead='false'><sap:Engine type='AE'>af.qxi.bp1houap494</sap:Engine><sap:Adapter namespace='http://sap.com/xi/XI/System'>XIRA</sap:Adapter><sap:MessageId>6dd9983c-e326-8744-bf40-ace9767a88c0</sap:MessageId></sap:Hop></sap:HopList><sap:Main xmlns:sap='http://sap.com/xi/XI/Message/30' versionMajor='3' versionMinor='0' SOAP:mustUnderstand='1'><sap:MessageClass>ApplicationMessage</sap:MessageClass><sap:ProcessingMode>asynchronous</sap:ProcessingMode><sap:MessageId>6dd9983c-e326-8744-bf4!
    0-ace9767a88c0</sap:MessageId><sap:TimeSent>2006-08-09T21:25:59Z</sap:
    TimeSent><sap:Sender><sap:Party agency='http://sap.com/xi/XI' scheme='XIParty'></sap:Party><sap:Service>EP_QAS_SRM_QSR_100</sap:Service></sap:Sender><sap:Receiver><sap:Party agency='http://sap.com/xi/XI' scheme='XIParty'></sap:Party><sap:Service>Digital_Oilfield</sap:Service></sap:Receiver><sap:Interface namespace='http://sap.com/xi/SRM/SupplierEnablement/Global'>PurchaseOrderChangeRequest_In</sap:Interface></sap:Main></SOAP:Header><SOAP:Body><ns0:PurchaseOrderChangeRequest xmlns:ns0='http://sap.com/xi/SAPGlobal/Global'><MessageHeader><ID schemeID='0102'>20000006250000000220060809212559</ID><CreationDateTime>2006-08-09T21:25:59Z</CreationDateTime><SenderParty><InternalID schemeID='PartnerID' schemeAgencyID='EP_QAS_SRM_QSR_100'>055034086</InternalID></SenderParty><RecipientParty><InternalID schemeID='PartnerID' schemeAgencyID='EP_QAS_SRM_QSR_100'>80025171</InternalID></RecipientParty></MessageHeader><PurchaseOrder><ID schemeAgencySchemeAgencyID='ZZZ' schemeAgencyID='EP_QAS_SR!
    M_QSR_100'>2000000625</ID><BuyerPostingDateTime>2006-08-01T12:00:00Z</BuyerPostingDateTime><BuyerLastChangeDateTime>2006-08-01T18:36:40Z</BuyerLastChangeDateTime><Note>KALIS3 01.08.2006 20:13</Note><ItemListCompleteTransmissionIndicator>true</ItemListCompleteTransmissionIndicator><BuyerParty><BuyerID>108</BuyerID></BuyerParty><SellerParty><BuyerID>80025171</BuyerID></SellerParty><ProductRecipientParty><BuyerID>7249</BuyerID><Address><OrganisationFormattedName>MD-HM</OrganisationFormattedName><OrganisationFormattedName>Mad Dog Operations</OrganisationFormattedName><PersonName><FormattedName>Sankar Kaliaperumal</FormattedName><LegalName>Sankar Kaliaperumal</LegalName><GivenName>Sankar</GivenName><PreferredGivenName>Sankar</PreferredGivenName><Family><FamilyName>Kaliaperumal</FamilyName><PrimaryIndicator>true</PrimaryIndicator></Family><Affix><AffixName>Mr</AffixName><AffixCode>FormOfAddress</AffixCode></Affix></PersonName><PhysicalAddress><CountryCode>US</CountryCode><RegionC!
    ode listID='TX'/><StreetPostalCode>77079</StreetPostalCode><CityName>H
    ouston</CityName><StreetName>501 Westlake Park Dr</StreetName></PhysicalAddress><Communication><CorrespondenceLanguageCode>en</CorrespondenceLanguageCode><Email><Address>[email protected]</Address><AddressDefaultIndicator>true</AddressDefaultIndicator><AddressUsageDenialIndicator>false</AddressUsageDenialIndicator></Email></Communication></Address></ProductRecipientParty><BillToParty><BuyerID>108</BuyerID><Address><OrganisationFormattedName>BP Root</OrganisationFormattedName><OrganisationFormattedName>BP Enterprise</OrganisationFormattedName><PhysicalAddress><CountryCode>US</CountryCode><RegionCode listID='TX'/><StreetPostalCode>77079</StreetPostalCode><CityName>Houston</CityName><StreetName>501 Westlake Park Dr</StreetName></PhysicalAddress><Communication><Telephone><Number><SubscriberID>1-281-366-5000</SubscriberID></Number><NumberDefaultIndicator>true</NumberDefaultIndicator><NumberUsageDenialIndicator>false</NumberUsageDenialIndicator></Telephone><Facsimi!
    le><Number><SubscriberID>1-281-366-5000</SubscriberID></Number><NumberDefaultIndicator>true</NumberDefaultIndicator><NumberUsageDenialIndicator>false</NumberUsageDenialIndicator></Facsimile><Email><Address>[email protected]</Address><AddressDefaultIndicator>true</AddressDefaultIndicator><AddressUsageDenialIndicator>false</AddressUsageDenialIndicator></Email></Communication></Address></BillToParty><ShipToLocation><BuyerID>5667</BuyerID><Address><OrganisationFormattedName>BP Root</OrganisationFormattedName><OrganisationFormattedName>BP Enterprise</OrganisationFormattedName><PhysicalAddress><CountryCode>US</CountryCode><RegionCode listID='TX'/><StreetPostalCode>77079</StreetPostalCode><CityName>Houston</CityName><StreetName>501 Westlake Park Dr</StreetName></PhysicalAddress><Communication><Telephone><Number><SubscriberID>1-281-366-5000</SubscriberID></Number><NumberDefaultIndicator>true</NumberDefaultIndicator><NumberUsageDenialIndicator>false</NumberUsageDenialIndicator></Teleph!
    one><Facsimile><Number><SubscriberID>1-281-366-5000</SubscriberID></Nu
    mber><NumberDefaultIndicator>true</NumberDefaultIndicator><NumberUsageDenialIndicator>false</NumberUsageDenialIndicator></Facsimile><Email><Address>[email protected]</Address><AddressDefaultIndicator>true</AddressDefaultIndicator><AddressUsageDenialIndicator>false</AddressUsageDenialIndicator></Email></Communication></Address></ShipToLocation><CashDiscountTerms><MaximumCashDiscount><DaysValue>10</DaysValue><Percent>0.5</Percent></MaximumCashDiscount><NormalCashDiscount><DaysValue>30</DaysValue><Percent>0.0</Percent></NormalCashDiscount></CashDiscountTerms><FollowUpPurchaseOrderConfirmation><RequirementCode>04</RequirementCode></FollowUpPurchaseOrderConfirmation><FollowUpDespatchedDeliveryNotification><RequirementCode>04</RequirementCode></FollowUpDespatchedDeliveryNotification><FollowUpServiceAcknowledgementRequest><RequirementCode>02</RequirementCode></FollowUpServiceAcknowledgementRequest><FollowUpInvoiceRequest><RequirementCode>01</RequirementCode><EvaluatedReceiptSettlement!
    Indicator>false</EvaluatedReceiptSettlementIndicator></FollowUpInvoiceRequest><Item><ID>1</ID><ActionCode>02</ActionCode><UnplannedItemPermissionCode>01</UnplannedItemPermissionCode><Product><TypeCode>1</TypeCode><Note>Chris Test</Note></Product><ProductCategory><BuyerID>83101603</BuyerID></ProductCategory><Price><NetUnitPrice><Amount currencyCode='USD'>10.0</Amount><BaseQuantity unitCode='EA'>1.0</BaseQuantity></NetUnitPrice></Price><Attachment id='1 .QAVendorID&#39;s.txt' filename='QAVendorID&#39;s.txt'>chris test</Attachment><ScheduleLine><ID>1</ID><DeliveryPeriod><StartDateTime>2006-08-01T14:00:0002:00</StartDateTime><EndDateTime>2006-08-01T14:00:0002:00</EndDateTime></DeliveryPeriod><Quantity unitCode='EA'>1.0</Quantity></ScheduleLine></Item></PurchaseOrder></ns0:PurchaseOrderChangeRequest></SOAP:Body></SOAP:Envelope>
    --SAP_c4faf651-27ef-11db-a170-0014c258bd93_END
    content-id: [email protected]
    content-type: text/plain
    80150395- Farmington
    80150396-Houston
    80025171- Tulsa
    80025173- Tulsa
    80236936- Dallas
    SAP_c4faf651-27ef-11db-a170-0014c258bd93_END
    Thanks,
    chris

    Amy,
    Would agree with Stacy. Have someone on BASIS team check SOST transaction on day where you had email go out, and the customer indicated they got no PDF. You could at least validate that the message leaving your SAP system had a PDF attached to it by looking in SOST. You could then definitely say that the issue is on the receiving side.
    If the transmission in SOST is void of PDF, then you would be back to reviewing your output type and the config behind it (including programs).
    Hope this helps. Revert back if not.
    Thanks,
    Jay

  • Consume web service in ABAP with SOAP header

    I'm trying to call a SalesForce Web Service from ABAP.
    After the login I use the WS_HEADER to pass header information.
      TRY.
    Additional Header:
          CONCATENATE
          '<soap:Header>'
          '<s1:SessionHeader>'
          '<s1:sessionId>' login_output-result-session_id '</s1:sessionId>'
          '</s1:SessionHeader>'
          '</soap:Header>' INTO l_string.
    convert to xstring
          l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
          ws_header ?= obj_add->get_protocol('IF_WSPROTOCOL_WS_HEADER').
          IF NOT l_string IS INITIAL.
    create iXML DOM document from XML xstring
            CALL FUNCTION 'SDIXML_XML_TO_DOM'
              EXPORTING
                xml           = l_xstring
              IMPORTING
                document      = xml_document
              EXCEPTIONS
                invalid_input = 1
                OTHERS        = 2.
            IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
              xml_root = xml_document->get_root_element( ).
              xml_element ?= xml_root->get_first_child( ).
    add header element by element to SOAP header
              WHILE NOT xml_element IS INITIAL.
                name = xml_element->get_name( ).
                namespace = xml_element->get_namespace_uri( ).
                namespace = 'urn:partner.soap.sforce.com'."xml_element->get_namespace_uri( ).
                IF NOT xml_element IS INITIAL.
                ENDIF.
    get WS_HEADER protocol
                ws_header->set_request_header(
                name = name
                namespace = namespace
                dom = xml_element ).
                xml_element ?= xml_element->get_next( ).
              ENDWHILE.
            ENDIF.
          ENDIF.
        CATCH cx_ai_system_fault .
      ENDTRY.
    I get the following exception: CX_SXML_PARSE_ERROR
    I guess the error has to do with the wrong description of the additional header.
    In soapUI the header looks like that:
       <soapenv:Header>
          <urn:SessionHeader>
             <urn:sessionId>1234567890</urn:sessionId>
          </urn:SessionHeader>
       </soapenv:Header>
    Is there somebody who knows how I should "translate" this to ABAP?
    Thanks,
    Daniel

    Hi Jelena
    Thanks for your answer.
    I've already created the proxy.
    The question is how or where I get the correct format for the header of this string in ABAP:
    CONCATENATE
    '<soap:Header>'
    '<s1:SessionHeader>'
    '<s1:sessionId>' login_output-result-session_id '</s1:sessionId>'
    '</s1:SessionHeader>'
    '</soap:Header>' INTO l_string.
    This example is wrong. I get the following error: CX_SXML_PARSE_ERROR
    As I mentioned before in soapUI the header looks like that:
    <soapenv:Header>
    <urn:SessionHeader>
    <urn:sessionId>1234567890</urn:sessionId>
    </urn:SessionHeader>
    </soapenv:Header>
    Daniel

  • WS-Security Username Token issue with soap receiver

    Hi All,
    I have Proxy to SOAP scenario. Receiver web service is expecting below message in the soap header for authentication purpose.
    <soapenv:Header>
          <wsse:Security>
    <wsse:UsernameToken>
    <wsse:Username>username</wsse:Username>
    <wsse:Password Type="PasswordText">Password< wsse:Password>
    </wsse:UsernameToken>
          </wsse:Security>
       </soapenv:Header>
    User will trigger the message from ECC using some transaction. I need to pass this triggering person’s username and password to soap header dynamically. There are more than 2000 users in the system.
    How can I retrieve this username and password and bind it to <wsse:Security> node?
    Is it possible to achieve?
    Please note: User’s details will not come in the message payload. I cannot user look up here.
    Regards,
    Muni

    Asked web service team to use one service account for authentication. Used this blog How to Configure AXIS Framework for Authentication Using the "wsse" Security Standard in SAP PI to configure axis framework. Now we are able to send message to web service.
    Regards,
    Muni.

  • Issue with soap response

    Hi,
    Below my SOAP request message..
    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing/" xmlns:xsd="http://www.w3.org/2001/XMLSchema/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/">
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security soap:mustUnderstand="1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>xxxxx</wsse:Username>
    <wsse:Password>xxxxx</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <ns2:Find__CompIntfc__IDS_RQST_PSR_INQ_CI xmlns="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_FIND_FLT.V1" xmlns:ns2="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_FIND_REQ.V1" xmlns:ns3="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_FIND_RSP.V1" xmlns:ns4="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_GET_FLT.V1" xmlns:ns5="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_GET_REQ.V1" xmlns:ns6="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_GET_RSP.V1">
    <ns2:ING_SUSPS_CNTL_NBR>999999999</ns2:ING_SUSPS_CNTL_NBR>
    <ns2:IDS_SITE_ID>HFD</ns2:IDS_SITE_ID>
    </ns2:Find__CompIntfc__IDS_RQST_PSR_INQ_CI>
    </soapenv:Body>
    </soapenv:Envelope>
    I am getting the below response message... The issue is with namespace in the response (ns2success). I do not know why there is a success word in the namespace which is causing invalid XML message.
    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 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>
    <ns2:Find__CompIntfc__IDS_RQST_PSR_INQ_CIResponse xmlns:ns2Success="http://xmlns.ing.com/Enterprise/Tools/schemas/EDS_FIND_RSP.V1"/>
    </soapenv:Body>
    </soapenv:Envelope>

    I have i fact never seen this before.
    On with tools release are you working and wich CI/component are you trying to call.
    Also can you verify if the CI is valide, by opening it in Application Designer.
    If validate, can you try to test the CI in Application Desiger and invoke the Find method.
    If above test fial, fix the CI and regenerate the CI Service.
    If both tests run fine, try to delete the WSDL and CI Service and Provide CI Service again.

  • Need to generrate a XSD with SOAP HEader

    i have a following XMl request that i need to send as to a REST service. its not a regular SOAP/http service but does have a soap envelope on it. i need to create a xsd for this request xml but i could not add the soap:envelope and soap:body correctly. it keeps giving me an error with envelope element not found. i managed to generate a xsd from the soapPrice element but not its parent. below is the xml and the xsd i have.
    how can i also include the sopa header into this xsd
    Request xml:
    <soap:Envelope
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soapPrice xmlns="http://tempuri.org/">
    <a>
    <request
    input1="1"
    input2=" 1"
    input3="1"
    input4="A"
    input5="B"
    input6="1"
    />
    </a>
    </soapPrice>
    </soap:Body>
    </soap:Envelope>
    xsd:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="soapPrice" targetNamespace="http://tempuri.org/" xmlns:mstns="http://tempuri.org/" xmlns="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
    <xs:element name="soapPrice" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="1">
    <xs:element name="a">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="request" minOccurs="0" maxOccurs="1">
    <xs:complexType>
    <xs:attribute name="input1" form="unqualified" type="xs:string" />
    <xs:attribute name="input2" form="unqualified" type="xs:string" />
    <xs:attribute name="input3" form="unqualified" type="xs:string" />
    <xs:attribute name="input4" form="unqualified" type="xs:string" />
    <xs:attribute name="input5" form="unqualified" type="xs:string" />
    <xs:attribute name="input6" form="unqualified" type="xs:string" />
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi,
    You can use the enhancement MM06E005 for this..
    GO to CMOD..create a project and give the enhancement..
    Activate the project..
    GO to SE51..give the program SAPLXM06 and screen 0101 for header level data.
    Press create..
    GIve the screen type as SUBSCREEN..
    In the layout give the field.
    Activate the screen..Now you can see the field in ME21N
    Thanks
    Naren

  • Issue with SOAP receiver

    Hi,
    I'm using PI 7.0, SP13 and I'm sending a message to a MS webservice, using BURP as a proxy in between to avoid NTLM authorisation issues.
    The problem is that it's perfecly possible to send a message using soapUI, but sending the exact same message ends up in an error:
    "SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request"
    I already configured the MessageTransformBean by setting the ContentType to text/xml; charset=utf-8. Here are the settings of my communication channel:
    Target URL: http://<correct URL on local network>
    User authentication: false
    Certificate authentication: false
    Proxy: BURP proxy and BURP port
    Proxy user authentication: false
    Secutiry profile: false
    Do not use SOAP envelope: false
    Keep headers: false
    Keep attachments: false
    Use encoded headers: false
    Use query string: false
    SOAP action: <correct SOAP action>
    I also played with the parameters "Do not use SOAP envelope", "Keep headers" and "Keep attachments", without any success. The only difference that I can think of is that soapUI runs on Windows, and the PI system runs on Linux.
    Ideas, anyone?

    @Baskar Gopal: I didn't generate a WSDL: I'm using the SOAP receiver to post a message to an existing webservice.
    @sdnuser: the endpoint URL is 100% correct. I also added the MessageTransformBean like I stated before.
    @Chirumamilla Sukarna: HTTP adapter doesn't work because I need the SOAP envelope.
    The payload is in both cases (soapUI and PI) the same. Here's the part that's different:
    soapUI (working part):
    POST /DynamicsNAV/WS/Rendon%20Voorburg/Codeunit/Webservice HTTP/1.0
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "urn:microsoft-dynamics-schemas/codeunit/Webservice:ContractorOrderInSync"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: 192.168.1.8:7049
    Proxy-Connection: Keep-Alive
    Content-Length: 4292
    Connection: Keep-Alive
    SAP PI (not working part):
    POST /DynamicsNAV/WS/Rendon%20Voorburg/Codeunit/Webservice HTTP/1.0
    Accept: /
    Host: 192.168.1.8:7049
    User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
    Authorization: Basic aGFhZ3dvbmVuQGJpbTpRYnFyRU84IQ==
    content-id: <soap-C89FD74E68782E13E1000000C0A8E010 @ sap.com>
    Content-Type: text/xml;charset=UTF-8
    Content-Length: 4292
    SOAPACTION: "urn:microsoft-dynamics-schemas/codeunit/Webservice:ContractorOrderInSync"
    Connection: Keep-Alive
    I know the content type looks correct here, but the SOAP adapter gives an error about this nevertheless.

  • Issue with SOAP.jar in Oracle Apps 11i

    Hi,
    We have developed OAF page in R11i to call BPEL services, it works fine with following settings
    1. Place soap.jar on server from JDeveloper
    2. Set class path to point soap.jar in jserv.properties file
    In our instance one saop.jar already exists in server and path for this file in specified in in jserv.properties, our functionality works fine if we place our soap.jar path in jserv.properties before standard soap.jar file. If we ask our DBA to specify our path before standard soap.jar then our DBA has doubt that it may clash with other XML services.
    Please let me know if there is any Metalink doc id available for this issue or any SR has been raised for the same, please help it is urgent.
    Regards,
    Reetesh Sharma

    Any update on this??
    Edited by: Reetesh Sharma on 08-Jul-2010 04:38

  • Issue with SOAP attachment boundary

    Hi All,
    We are building an application which retrieves documents from server and passed it to client side as Soap + MTOM attachments.
    We are using IBM webspere and webservices at the server end. And Java Webservices (JAX-WS) at the client end.
    We are facing a different issue where the client side JAX-WS is not able to identify the images properly, since it is not able to recognize the noundary some times.
    Is there any fix for this issue

    I have i fact never seen this before.
    On with tools release are you working and wich CI/component are you trying to call.
    Also can you verify if the CI is valide, by opening it in Application Designer.
    If validate, can you try to test the CI in Application Desiger and invoke the Find method.
    If above test fial, fix the CI and regenerate the CI Service.
    If both tests run fine, try to delete the WSDL and CI Service and Provide CI Service again.

  • Async client with Soap Header (jax-wsi 2.0)

    Hi my name's Michele
    i have a problem!
    I developed simply ws with JWSDP 2.0 (jax-wsi)
    I use wsimport for generate artifcats (with XAdditionalHeader), but for Method Async i don't have object for header, in other words
    i have this situation
    1)Proxy with call Sync ok:
    public void WebMetod(Obj body,SoapAut header); // ok body and SoapAut (Header Soap)
    2) Async ko:
    public Response<ResponseDU>WebMetodAsync(Obj body); //ko, becausw i can't invoke web method withi Header Soap
    where is SoapHeader in asynck call ???
    i expected th async call:
    public Response<ResponseDU>WebMetodAsync(Obj body,SoapQut header) but in Proxy this call not exist
    Help me please
    bye
    sorry for my Pitiful English.

    Try this :
    In the composite.xml of your mediator process, add "passThroughHeader" property. Probably, that might help.
    Read this : Creating Oracle Mediator Routing Rules
    Hope it helps !

  • Photo Smart Plus B209-a Issue with print head

    Have been using my Photo Smart printer for a few years. I have changed my ink cartridges several times and never a problem.  I changed the ink cartridges yesterday   and now I have an error message that my print head is incompatabale with my printer or print head is damaged. Can this be corrected?  I have cleaned the print head and made sure it was clean, I have unpluged my printer, waited about 30 secs. and pluged it back in, I don't know what else to do, .
    Would appreiciate any and all help.  Thanks in advance        Debbie65

    Hi @debbie65,
    Welcome to the HP Forums! 
    I see that you are getting the incompatible printhead error with your HP Photosmart  Plus B209a. I am happy to help you with this error!
    Please try the following:
    This guide, 'Ink Cartridge Problem' Message Displays on the Product Control Panel.
    This post, Re: black ink not working, by @Bob_Headrick, will show you how to soak the printhead. 
    Hope these solutions work for you, and have a nice day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

Maybe you are looking for

  • Audio and Video are not synced up ONLY when viewed in full screen....?

    Audio and Video are not synced up only when I view my project in full screen. I can watch it in the project viewer the audio and video play as they should. I have a presentation tomorrow and I can't figure this out. What am I doing wrong?

  • Streamlining the Browser?

    I think I know the answer to this question but would like to ask it anyway. I'm working with a lot of clips and sequences. I've made lots of bins etc. but still I end up scrolling up and down the screen I'm using for my Browser. I've often thought: w

  • Portal Design - Best Practices for Role and Workset Tab Menu

    We are looking to identify and promote best practices in SAP Portal Design.  First, is there a maximum number of tabs which should exist on the highest level tab menu, commonly called the role menu?  Do a large number of tabs on this menu cause perfo

  • Neat effect for highlighting person

    Usually I ask questions in this forum, but I taught myself something new last night and am eager to share it. In the past when I would want to highlight someone in a sporting event, I would either use an arrow to point at them, or place a oval around

  • No rotate tool with the Macbook Pro dual screen

    I have hooked up a 2nd screen (22" monitor) to my Macbook pro (OS 10.6.6, 2.4 GHz i5, 4 gb rom) wanting to have the working graphics on the 22" monitor and the photoshop tools on the macbook. While in Photoshop CS5, I attempted to use the rotate tool