Webservice Consume Proxy error : XML stream: 'document not wellformed'.

Dear All ,
  I facing problem when i try to test my service consumer .
  Its end with error message :
  Error when processing Web service call
  Error when calling SOAP Runtime functions: CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR  occurred, but was
  An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause
  Error while parsing an XML stream: 'document not wellformed'.
  Need your help guys.
Thanks,
Ikrar
Edited by: ikrarSAP on Jun 17, 2011 2:34 PM

Hi,
                                Actually i dont have any idea on BOBJ. But this kind error usually occurs in the following cases:
The parameters you called from web service do not match with parameters using by tables at R/3. So, it can not parse.
A Web service's WSDL file is not well-formed because of an element specifying two attributes with the same name, the client application produces this error.
Either there is indeed an issue with how the XML is being encoded and then decoded on other end or there's a step that is being missed somewhere.
Thanks & Regards,
Sai Kiran Rao.

Similar Messages

  • InventoryNotificationIn Error: 'document not wellformed'

    Hey Guys!
    I'm trying to call the InventoryNotification Operation via SOAPUI but my message keeps hitting an error.
    The error message i get is : Error while parsing an XML stream: 'document not wellformed'.
    The message I'm sending is:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
       <soapenv:Header/>
       <soapenv:Body>
          <n0:InventoryNotification>
             <MessageHeader>
       <CreationDateTime>2014-03-10T19:14:58Z</CreationDateTime>
             </MessageHeader>
             <InventoryNotification>
                <ExternalID>IN-2</ExternalID>
                <TransactionDateTime>2014-03-10T19:14:58Z</TransactionDateTime>
                <Location>
                   <InternalID>PET200</StandardID>
                </Location>
                <InventoryChangeItem>
                   <InventoryChangeReasonCode>5</InventoryChangeReasonCode>
                   <InventoryMovementDirectionCode>2</InventoryMovementDirectionCode>
                   <ExternalID>002</ExternalID>
                   <Material>
                      <InternalID>8I01771045320101</InternalID>
                   </Material>
                   <Quantity unitCode="XBX">50</Quantity>
                   <QuantityTypeCode>XBX</QuantityTypeCode>
                </InventoryChangeItem>
                <SenderLastChangeDateTime>2014-03-10T19:14:58Z</SenderLastChangeDateTime>
             </InventoryNotification>
          </n0:InventoryNotification>
       </soapenv:Body>
    </soapenv:Envelope>
    I downloaded the corresponding WSDL file directly from the ByD system that I'm calling.
    I think I may need the values for schemeID, schemeAgencyID, schemeAgencySchemeAgencyID and maybe listID, listVersionID, listAgencyID, listAgencySchemeID, listAgencySchemeAgencyID to define the ValueTypes.
    Where can i get these values?
    It could be that there is another mistake that I'm not seeing.
    Thanks for your help in advance!

    <Location>
              <InternalID>PET200</StandardID>
    </Location>
    in your code should be
    <Location>
            <InternalID>PET200</InternalID>
    </Location>

  • Error while activating webservice-consumer-proxy

    Hi,
    I'm trying to generate a webservice-consumer-proxy from a Salesforce.com-WSDL-File. When trying to activate the proxy I receive an error-message from class CX_ESD_EXCEPTION stating "Beim Aktivieren des Proxys ist ein Fehler aufgetreten." (in english: "Error occured when activating the proxy"). The WSDL-File is SOAP-Version 1.1, Document/Literal.
    Thank you very much in advance,
    Olli
    [SAP Consulting by mindsquare|http://mindsquare.de]

    I have a similar issue and it says that the reason is one of the exception classes in XML  in not derived from either cx_static_check or cx_dynamic_check.  
    Please let me know if anyone have ideas how to resolve this

  • Error in soap header when use webservice consumer proxy

    Hi all,
    I create a webservice consumer proxy to external server. the webservice provider is .Net  and it required a message level security.
    The soap message should include a soap header, like this:
    <SOAP-ENV:Header>
    <m:AuthHeader xmlns:m="http://tempuri.org/">
    <m:Username>test1</m:Username>
    <m:Password>test</m:Password>
    </m:AuthHeader>
    </SOAP-ENV:Header>
    I have found many information from here. Now I used  IF_WSPROTOCOL_WS_HEADER in my program, like this:
    REPORT  zws_jp_test01.
    DATA: lo_zws_jp_co_service_soap TYPE REF TO zws_jp_co_service_soap .
    DATA: lo_fault TYPE REF TO cx_ai_system_fault.
    DATA: lo_appl_fault TYPE REF TO cx_ai_application_fault.
    TRY.
        CREATE OBJECT lo_zws_jp_co_service_soap
          EXPORTING
            logical_port_name = 'ZWS_JP_LP4'.
      CATCH cx_ai_system_fault INTO lo_fault.
        MESSAGE lo_fault TYPE 'I'.
    ENDTRY.
    DATA: output TYPE zws_jp_create_job_ad_soap_out .
    DATA: input TYPE zws_jp_create_job_ad_soap_in .
    DATA: lr_ws_header TYPE REF TO if_wsprotocol_ws_header.
    DATA: lv_name TYPE string,
          lv_namespace TYPE string.
    DATA l_xstring TYPE xstring.
    DATA l_string TYPE string.
    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.
    lr_ws_header ?= lo_zws_jp_co_service_soap->get_protocol(
                                               if_wsprotocol=>ws_header ).
    CONCATENATE
      '<SOAP-ENV:Header>'
        '<m:AuthHeader xmlns:m="http://tempuri.org/">'
          '<m:Username>test1</m:Username>'
          '<m:Password>test</m:Password>'
        '</m:AuthHeader>'
      '</SOAP-ENV:Header>'
    INTO l_string.
    l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
    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( ).
      WHILE NOT xml_element IS INITIAL.
        lv_name = xml_element->get_name( ).
        lv_namespace = xml_element->get_namespace_uri( ).
        lr_ws_header->set_request_header(
            name            = lv_name
            namespace       = lv_namespace
            dom             = xml_element
            must_understand = SPACE
        xml_element ?= xml_element->get_next( ).
      ENDWHILE.
    ENDIF.
    input-job_ad-id = 0.
    input-job_ad_text-id = 0.
    input-job_ad-publish_location = 1.
    TRY.
        CALL METHOD lo_zws_jp_co_service_soap->create_job_ad
          EXPORTING
            input  = input
          IMPORTING
            output = output.
      CATCH cx_ai_system_fault INTO lo_fault .
        MESSAGE lo_fault TYPE 'I'.
      CATCH cx_ai_application_fault INTO lo_appl_fault.
        MESSAGE lo_appl_fault TYPE 'I'.
        WRITE: output-create_job_ad_result-id.
    ENDTRY.
    But there is error when I run this program. the error is "SoapFaultCode:1"
    In tcode ST11, I see this log:
    E SOAP_RUNTIME 20100624004837.9280000 : CL_SOAP_RUNTIME_CLIENT
    ->EXEC_PROCESSING SOAP Fault Exception caught: : SOAP header To
    was not understood.
    btw the release is  701.
    Any one can navigate me to solved the problem?

    Hi,
      I have the same problem as you did before and I posted my code in this [thread|Change SOAP Header: Consuming Webservice;.
      In order to to solve your problem, I need to know what is the header that you want to add into the header, what is WSDL, and have you try testing that web service using other tool such as SOAPUI or XMLSPY and what is the result of testing tool?
    Regards,
    Chaiphon

  • Error: Error writing stream: Could not find prefix for namespace:

    Hi all,
    I am getting this error while doing topdownAssemble using WSA. The error seems as if the name space definitions do not have proper prefixs, but I have prefixes for all the name spaces.
    Any idea what else might be causing the problem ?
    Thanks,
    --venkat
    + java -jar /opt/oc4j_extended_101310/webservices/lib/wsa.jar -topDownAssemble -wsdl parlayx_third_party_call_service.wsdl -unwrapParameters false -className oracle.sdp.parlayx.ThirdPartyCallImpl -input classes -output gen -ear dist/tpcall.ear -mappingFileName src/ThirdPartyCallService-java-wsdl-mapping.xml -packageName oracle.sdp.parlayx -fetchWsdlImports true -debug
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_service.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_service.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_third_party_call_interface.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    FINE: OWS-11015 Trying to Access Resource at URL: file:/home/vayyagar/IdeaProjects/ParlayX/parlayx_common_faults.wsdl
    Error: Error writing stream: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults
    Error writing stream: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults: java.io.IOException: Could not find prefix for namespace: http://www.csapi.org/wsdl/parlayx/common/v2_0/faults
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeAttValFromQName(WSDLWriterImpl.java:660)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeFault(WSDLWriterImpl.java:577)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeOperation(WSDLWriterImpl.java:563)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writePortType(WSDLWriterImpl.java:422)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:186)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:93)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:83)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutWSDL(WSDLImportLocalizer.java:637)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutTo(WSDLImportLocalizer.java:568)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:278)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:162)
    at oracle.j2ee.ws.tools.wsa.Assembler.topDownAssemble(Assembler.java:828)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:320)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:169)
    at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:83)
    at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:48)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:95)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:83)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutWSDL(WSDLImportLocalizer.java:637)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.writeOutTo(WSDLImportLocalizer.java:568)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:278)
    at oracle.j2ee.ws.common.wsdl.WSDLImportLocalizer.localize(WSDLImportLocalizer.java:162)
    at oracle.j2ee.ws.tools.wsa.Assembler.topDownAssemble(Assembler.java:828)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:320)
    at oracle.j2ee.ws.tools.wsa.cli.Processor.execute(Processor.java:169)
    at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:83)
    at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:48)

    HI,
    Seems known issue. I would suggest to raise an Service Request with the test case.
    GD,
    Ashish

  • Wsdlc: Provider com.bea.xml.stream.XMLOutputFactoryBase not found

    So I'm trying to run wsdlc in Eclipse (and as a command line, both don't work). I want to run wsdlc without having to run setDomainEnv.cmd first (painful if i'm in eclipse). I've gotten previous commands (8.1 stuff) working w/o running this first. If I add weblogic.jar to the Ant runtime classpath it also works, but again, I want to avoid this because a) i've never had to do it in the past and b) it blows up my <junitreport> task because it tries to use weblogic's SAX stuff.
    The error I get is:
    javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.XMLOutputFactoryBase not found
    Anyways, is there a way to set up the classpath within ant for just this task? I've tried adding weblogic jars into wsdlc classpaths but it doesn't seem to work.
    It seems that com.bea.xml.stream.* can't be found anywhere but weblogic.xml.stream is in there. Any way I can redirect the XStream stuff to point there? I've tried system properties but didn't seem to work.
    Any help would be appreciated.
    Andy O

    Hmm... so that works as long as i add all of those jars to the ANT runtime classpath which is what I want to avoid in the first place. I'm starting to think it's wsdlc that's not paying any attention to the classpathref's I'm giving it.
    Previous weblogic ant tasks never required the jar to be in the ANT runtime classpath and I could just pass it a classpathref to the my weblogic jars and thing worked fine.
    Any other help?

  • ABAP Consumer Proxy error after upgraded from 7.0 SP14 to 7.01 SP3

    The ABAP consumer proxy was created in ECC6 with Netweaver 7.0 SP14.  After the system was upgraded to Netweaver 7.01 SP3 the proxy call started to get error back.
    The first error message from the service provider said "SoapException: Server did not recognize the value of HTTP Header SOAPAction".  This error was resolved by manually putting the correct action in the SOAManager configuration.
    Ran the same test again and then the service provider complained about the To field in the SOAP Header.  The error message said "SoapHeaderException: SOAP header To was not understood".
    Below is the To field in the Requesting XML message from the 7.0 SP14 system that worked fine:
    <n3:To soap-env:mustUnderstand="1" xmlns:n3="http://schemas.xmlsoap.org/ws/2004/08/addressing"
    xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope">
    http://localhost:50081/AddSix.asmx
    </n3:To>
    Below is the To field in the Requesting XML message from the 7.01 SP3 system that did not work:
    <wsa:To soap-env:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
    xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope">
    http://localhost:50081/AddSix.asmx
    </wsa:To>
    It looks like the issue is with the xmlns:soap-env element that has different values in these two systems.  Searched in SDN but could not find any related information.  Please help if anyone has experienced similar issue or knows how to fix it. 
    Thanks,
    Jiannan

    Got solution from SAP through an OSS message.  Below is SAP's solution:
    Either the Message ID protocol should be switched off on the SAP
    consumer side or turn on this protocol support on the .NET provider.
    To switch off the Message ID protocol:
    1. start the soa manager
    2. find the consumer proxy
    3. find the corresponding logical port
    4. jump to the 'Messaging' tab
    5. choose the 'Suppress ID Transfer' from the dropdown list of the Message ID Protocol field
    Besides this setting I also have to specify the operation in the Operation specific tab of the logical port configuration.

  • Problem in ABAP Proxy(sometimes XML Messages are not being created)

    Hi,
    I am trying to send the data from ECC to CRM when post goods issue is done for a delivery from ECC side. I called my proxy method in BADI : DELIVERY_PUBLISH.
    And after calling the method, I used commit work also.
    But the problem is, some times it is working fine. and some times the XML messages are not getting created. When I go in debug, looks everything is fine.
    I am unable to understand why this inconsistency.
    Could you please help me out, do I need to take any more precautions.
    Thanks,
    Sandeep

    You mean you can't find any message in SXMB_MONI of your ECC or is it XI where you can't see message?
    If you have not checked in SXMB_MONI of ECC then may be messages are created but they are going into error and that's why you are not able to see any message in XI.

  • Consumer Proxy Error

    Hello Guru's,
    I have created Consumer Proxy and developed a Report, While Executing this particular report i getting a below given error.
    Error during proxy call
    system fault :
    CX_ST_GROUP_MISSING_CASE:XSLT exception.Element 'Narrative' missing
    Please Help me and provide me soultion for this issue.
    Thanks
    Muralitharan

    We are Consuming C-WSDL into ABAP which is provided by Webmethods
    Please see the below WSDL details
                 <xsd:complexType name="ArrayOfAddress">
    <xsd:sequence>
                   <xsd:element name="ArrayOfAddressItem" type="tns:Address" maxOccurs="unbounded"/>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="ArrayOfCNConsumerRequests">
    <xsd:sequence>
                   <xsd:element name="ArrayOfCNConsumerRequestsItem" type="tns:CNConsumerRequests" maxOccurs="unbounded"/>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="findNonRetailCreditRatingResponse">
                <xsd:sequence>
                  <xsd:element name="APIResponse" nillable="true" type="tns:APIResponse"/>
                </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="APIResponse">
                <xsd:sequence>
                  <xsd:element name="Narrative" nillable="true" type="tns:Narrative"/>
                  <xsd:element name="TradeCheck" nillable="true" type="tns:TradeCheck"/>
                </xsd:sequence>
              </xsd:complexType>
           <xsd:complexType name="Narrative"> *
             <xsd:sequence> *
                 <xsd:element name="GRADE" nillable="true" type="xsd:string"/> *
               <xsd:element name="Record1" nillable="true" type="xsd:string"/> *
               <xsd:element name="Record2" nillable="true" type="xsd:string"/> *
               <xsd:element name="Record3" nillable="true" type="xsd:string"/> *
                <xsd:element name="Record4" nillable="true" type="xsd:string"/> *
                </xsd:sequence>
      <wsdl:service name="manageCreditCheckOut">
        <wsdl:port name="ATBCoreWSEquifax_connector_manageCreditCheckOut_V001_manageCreditCheckOut_Port" binding="tns:ATBCoreWSEquifax_connector_manageCreditCheckOut_V001_manageCreditCheckOut_Binder">
          <soap:address location="http://10.128.76.18:51121/ws/ATBCoreWSEquifax.connector.manageCreditCheckOut.V001:manageCreditCheckOut"/>
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
    Please provide me solution for this problem

  • Sub Agreement XML import error:  XML import could not process field: CONTRACT_UNIQUE_DOC_NAME

    Hi All,
    I am importing Sub Agreement in XML format and getting below error.
    XML import could not process field: CONTRACT_UNIQUE_DOC_NAME
    unsupported null bind parameter no. 0
    Below is the XML.
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Contracts.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <objects>
        <object classname="contracts.Agreement">
    <fields> 
                                    <CONTRACT_UNIQUE_DOC_NAME>P-XXXX-00001</CONTRACT_UNIQUE_DOC_NAME>
                                    <DISPLAY_NAME>Testing Agreement Name 1 </DISPLAY_NAME>
                                    <CALC_METHOD>UNIT_PRICE_ENTERED</CALC_METHOD>
                                    <UNIQUE_DOC_NAME>S0002510</UNIQUE_DOC_NAME>
                                    <STATUS>In Process</STATUS>
                                    <COMPANY>TEST</COMPANY>
                                    <LOCATION>Location_114</LOCATION>
                      </fields>
        </object>
      </objects>
    </sapesourcing>
    If anyone is successful in importing Sub Agreement in XML format?  also please validate the above xml structure?
    Note: I am able to load  Sub Agreement using CSV. But in our scenario data comes in XML format.
    Thanks & Regards
    Sai

    Hi Gary,
    I am able to load below objects in XML format without any issues. And I am using Scheduled Task of type “Data Import Monitor” to load them.
    1)  Project (1100)
    2)  Master Agreement (1004)
    3) Extension Collections for Project
    4) Extension Collections for Master Agreement
    1) Working XML Structure for Project(1100) .
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Projects.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <objects>
        <object classname="projects.projects">
          <fields>
    <UNIQUE_DOC_NAME>S0004392</UNIQUE_DOC_NAME>
      <DISPLAY_NAME>Test Project</DISPLAY_NAME>
    2) Working XML Structure for Master Agreement (1004) object.
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Contracts.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <objects>
    <object classname="contracts.Contract">
    <fields>
    <UNIQUE_DOC_NAME> 00215944</UNIQUE_DOC_NAME>
    <DISPLAY_NAME>TEST MA</DISPLAY_NAME>
    <DOCUMENT_DESCRIPTION>Contract Desc</DOCUMENT_DESCRIPTION>
    3) Working XML Structure for Extension Collections for Project(1100).
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Projects.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <objects>
    <object classname="projects.projects">
    <fields>
    <UNIQUE_DOC_NAME> S0004392</UNIQUE_DOC_NAME>
    </fields>
    <collections>
    <Z_DETAILS replace="true">
    <object classname="extension_collections">
    <fields>
    <NAME>Sai</NAME>
    <EMAIL>[email protected]</EMAIL>
    </fields>
    </object>
    <object classname="extension_collections">
    <fields>
    <NAME>Krishna</NAME>
    <EMAIL>[email protected]</EMAIL>
    </fields>
    </object>
    </ Z_DETAILS >
    </collections>
    </object>
    </objects>
    </sapesourcing>
    4) Working XML Structure for Extension Collections for Master Agreement (1004).
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Contracts.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <objects>
    <object classname="contracts.Contract">
    <fields>
    <UNIQUE_DOC_NAME>00215944</UNIQUE_DOC_NAME>
    </fields>
    <collections>
    <ZLINKS replace="true">
    <object classname="extension_collections">
    <fields>
    <LINK_NAME>SAP</ LINK_NAME>
    < LINK_URL> http://www.sap.com/index.html </ LINK_URL >
    </fields>
    </object>
    <object classname="extension_collections">
    <fields>
    <LINK_NAME>SCN Sourcing</ LINK_NAME>
    < LINK_URL>http://scn.sap.com/community/sourcing</ LINK_URL >
    </fields>
    </object>
    </ ZLINKS >
    </collections>
    </object>
    </objects>
    </sapesourcing>
    Could you please help me with the right XML Structure for Agreement( 1003)?
    Regards,
    Sai

  • XML parsing error: xml processing instruction not at start of external entity (error code 17)

    I created a form and recieve the filled in form by email from participants. It has always worked in the past. Recently when importing data into the master form (from filled in forms in xml files sent by applicants) I am getting this error message..."xml processing instruction not at start of external entity (error code 17), line 2, column 1...." pointing to the file of data (xml) I am trying to input.  If I pull up old data forms (from 2009) they work, but now I am getting this error.  I run Adobe Design Premium CS3 for Windows.  Can anyone tell me what to do to fix?

    I created a form and recieve the filled in form by email from participants. It has always worked in the past. Recently when importing data into the master form (from filled in forms in xml files sent by applicants) I am getting this error message..."xml processing instruction not at start of external entity (error code 17), line 2, column 1...." pointing to the file of data (xml) I am trying to input.  If I pull up old data forms (from 2009) they work, but now I am getting this error.  I run Adobe Design Premium CS3 for Windows.  Can anyone tell me what to do to fix?

  • Inbound IDOC error 51 Application Document not posted

    Inbound IDOC error 51: Item: 002 Goods/Service number not entered So application document not posted.
    Please help me out

    hi
    check whether service number is available in the idoc if not check the field mapping

  • Javax.xml.stream is not found

    I'm running eclipse on a mac using java 6.
    And for some reason eclipse cant find javax.xml.stream
    does anyone know where i can download this file?
    and or how I can tell eclipse where to find it?
    Thanks!

    alan_mehio wrote:
    Hi,
    You definitely will get more help if you post your question with eclipse related forumUnless someone points out that javax.xml.stream simply isn't part of J2SE. You can download it here

  • URL rewriting for a WebService Consumer Proxy

    Hi all,
    Did anybody come across this issue?
    I have a SAP System - let's call it "TM" -  that I want to bind with another non-SAP one - let's call it "FB" - without any PI between them.
    The communication is made as a Service Consumer (TM side), the Proxy (see image below) and Proxy-Implementation Class being generated automatically after the ".wsdl" file and the "url" given by the documentation of FB.
    Everything looks good! All the Methods (operations) that are available from the service have been added to the Implementing Class.
    After the Proxy generation, I also created the Logical Port (in transaction SOAMANAGER - see image below) where the path, host, prefix, and all the necessary stuff were also automatically created after the ".wsdl" document.
    So far so good! When I want to test it and to play along with this connection TM -> FB, I am creating the Proxy-Object, I am filling the required User / Pass / and an ID in order to call the first method. As you have probably guessed already: LOGIN.
        ls_in_login-login_request-id             = '...some ID...'.
        ls_in_login-login_request-user          = '...some user ...'.
        ls_in_login-login_request-password  = '...some password'.
    TRY.
             CREATE OBJECT lo_proxy
               EXPORTING
                 logical_port_name = 'ZAS_PORT_FB'.
         CATCH cx_ai_system_fault INTO lo_ref.    " Application Integration: Technischer Fehler
    ENDTRY.
       TRY.
           CALL METHOD lo_proxy->login
             EXPORTING
               input  = ls_in_login
             IMPORTING
               output = ls_out_login.
         CATCH cx_ai_system_fault INTO lo_ref.    " Application Integration: Technischer Fehler
         CATCH cx_ai_application_fault INTO lo_ref.    " Application Integration: Applikations Fehle
    ENDTRY.
    As a response, (meaning that the connection works and that the WebService acknowledges the connection) I get a "SessionID" -> a string of characters.
    In the Wiki of the Service is written that from this point on, every other methods (but I mean ALL of them, logout() also...) need to be called along with this SessionID. The problem is, that this SessionID doesn't have a specific place in the "inbound"-structure of the methods, but this mechanism of passing around the SessionID must be made with URL rewriting. Another solution would be to use COOKIES. From my point of view, a so-called URL rewriting would be easier, right?
    In the documentation is the following info written:
    URL rewriting (recommended):
    The JSessionId is attached to the URL of the SOAP request, as follows:  http://[URL];jsessionid=[jsessionid]
    Caused by tecnical reasons, it is necessary to specify the static string “;jsessionid=” in lower case letters.
    I have turned this "LO_PROXY" object around and around and around... trying to find a solution... a method...anything that would let me rewrite the URL, but nothing...
    I have also tried to use ce CL_HTTP_CLIENT class and to create myself the client and the URL and the host and everything manually... but in this case how do I end up in calling a specific "custom" method -> for instance... how do I call the "LOGIN"... or the LOGOUT...where do I put the parameters, etc?
    Do you have any suggestions / ideas / hints ?
    Thanks a lot in advance!
    Warm regards,
    Alex

    Hi Stefan,
    You are right! It doesn't support to set URL / HTTP parameters outside the logical port.
    Nevertheless, I have debugged the whole engine and found out that via custom coding (enhancements / modifications) and with extreme attention, the URL can be rewritten as desired.
    When a method of the proxy is called, let's say for instance: lo_proxy->logout (...) - as written up for example, the method CL_HTTP_CLIENT=>CREATE_BY_URL is called dynamically.
    In this method, in the "url" variable is the desired URL that needed to be rewritten.
    Here it's about an importing parameter, so it cannot be changed so easily, but it's not impossible.
    Another place where a nice Enhancement can be created is at the beginning of the FM "SWLWP_URI_PARSE".
    You need to be very careful not to change these places in all cases (this CREATE_BY_URL will be called pretty much), JUST when the specific conditions are fulfilled.
    Have a great day / week!
    Warm regards,
    Alex

  • WebService Consuming Message Error: ConnectException: Connection timed out:

    Hi experts,
    I'm using NWDS to consume an external WebSevice and after create an iView on EP6.
    First I created a Deployable WebService and deployed it on the server, so I created a Java Application to call this WS using the following code:
    <i>public class JQSRedirect extends HttpServlet {
         protected void doGet(
              HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException, IOException {
              PrintWriter pw = response.getWriter();
              try{
                   String applicationID = "XXXX";
                   String passwordID = "XXXXX";
                   String userID = "XXXXXX";
                   String redirectURL = "http://XXXXXXX/preportal.aspx?token={";
                   String token = "";
                   InitialContext in = new InitialContext();
                   NJQSService nJQSService = (NJQSService)in.lookup("wsclients/proxies/sap.com/jqsWebService/ng.com.xxxx.jqsWebServiceProxy");
              NJQSServiceSoap njqsPort = nJQSService.getLogicalPort();
                   GetTokenN getTokenN = new GetTokenN();
    +token = njqsPort.getTokenN(userID, applicationID, passwordID);
                   pw.write("token: " + token);
              catch(Exception e) {
                   pw.write(e.toString());
                   e.printStackTrace();
         protected void doPost(
              HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException, IOException {
              //TODO : Implement
    }</i>
    When I'm testing , the system display the follow message: <b>java.rmi.RemoteException: Service call exception; nested exception is: java.net.ConnectException: Connection timed out: connect</b>
    How to correct this error?
    Regards,
    Armando

    Hi,
    I found a reason for the previous error, I setted up the firewall rules and it works, but now we have another error message:
    java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (405) Method Not Allowed. The requested URL was:"http://193.122.30.8/XXXXXXXX/NJQS/njqsservice.wsdl"
    I made some researchs on the SDN and another sites of Internet that suggests a proxy configuration, but I don't have proxy on my server.
    Any Idea that can help me?
    Regards,
    Armando

Maybe you are looking for

  • Installation Problem: Solution Manager 4.0 SR2 on SLES9 MaxDB7.6

    Hello altogether, <p>when performing an Installation of SolMan 4 on SLES9 with MaxDB7.6, it crashes on Phase 40 of 47 with the following hints: <p>ERROR 2007-04-18 10:31:21 <br>CJS-30156 SDM deployment failed for at least one of the components to dep

  • Follow up to earlier problem

    Following on from my flashing question mark problem (see a few topics down)i have followed the instructions carolyn gave me up to the disk utility. When in disk utility i can only see the DVD media drive and the OS X installation CD, but not the hard

  • Ical events to Mac Addressbook....plugin? applescript?

    If you have an Ical event with name and location (address) is there a way to import that information into addressbook for mac and create new entries?

  • Action not displaying in the Action menu.

    Hi All,                I have configure one action demotion & added it the Action menu.All the configuration I have done is in similar line with the existing action types.But this action is not displaying the action menu.Can anybody help me to resolv

  • Problem regarging internet explorer

    Sir, I have a problem in using internet explorer. When I want to browse any web site in IE the forever proxy page will automatically appears. I have remover each and every cookies, browser history, proxy ip, but the problem is remain same. I am facin