Problem Consuming webservice -- SOAP UI

Hello Gurus,
We have generated a web service from SAP and trying to consume the web service from SOAP UI (external tool), but the SOAP UI tool is generating some error as mentioned below.
Exception_Name> CX_ST_MATCH_ELEMENT
Exception_Text> System expected end of element 'GetQueryViewData': Main Program:/1BCDWB/WSS0051118152402496573| Program:/1BCDWB/WSS0051118152402496573| Line: 58| Valid:X
Note: I have tested the web service from the WS Navigator and I am able to get the response (all Ok).
Kindly let me how I can fix the issue, I belief the problem is XML transformation related (XSLT_TOOL).
Regards,
Abhi.

Hi Abhi,
seems that in SOAPUI, you need to pass the correct data (exact length of SAP Fields). Also try by removing "?" symbols whereever not necessary to pass data(optional values).
Hope this may help you...
Cheers,
Kris

Similar Messages

  • Problem in webservices SOAP

    Hi All
    iam new to webservices technology, i have downloaded a sample on DocumentStyle webserice and executed it as the per the instructions given the document and could succeed.
    now on the same lines i have written the below service and tried to execute.
    the steps what i followed are
    1 written a service interface
    2 written impl class which is as below
    3 compiled and created ear file using config.xml file
    4 started the oc4j server
    5 deployed the generated ear file into the server
    6 binded the service
    7 Checked if the service is running by the following url
    http://yourhost.com:8888/docws/validate
    it is sucessful
    8 prepared a jsp client
    9 placed it in default-wep-app directory
    10 opened the browser and called the jsp
    it has displayed me with a html form where i have to give some input.
    when clicked on submit
    i did not call the service
    so when i look at the server console
    it says as follows
    java.lang.IllegalArgumentException: Root element of a SOAP message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.
    please any one help me how to trouble shoot the above.
    i checked for the soap file in oc4j directory but failed.
    please help me in fixing the above problem
    import org.w3c.dom.*;
    import oracle.xml.parser.v2.*;
    import java.io.*;
    public class ValidateServiceImpl implements ValidateService
    public ValidateServiceImpl(){}
    public Element validate(Element e){
    Element processedEl=null;
    try{
    NodeList list = e.getChildNodes();
    Node node = null;
    String values [] = new String[list.getLength()-1];
    for(int i=0;i<list.getLength();i++){
    node = list.item(i);
    values = node.getNodeValue();
    int age = Integer.parseInt(values[0]);
    int income = Integer.parseInt(values[1]);
    int loanAmount = Integer.parseInt(values[2]);
    String answer=null;
    answer = checkAvailability(age,income,loanAmount);
    processedEl = createElement(answer);
    }catch(Exception ex){
    ex.printStackTrace();
    return null;
    return processedEl;
    private Element createElement(String value){
    Document xmldoc = new XMLDocument();
    Element e1 = xmldoc.createElement("answer");
    xmldoc.appendChild(e1);
    Text t = xmldoc.createTextNode(value);
    e1.appendChild(t);
    return (Element)xmldoc.getFirstChild();
    private String checkAvailability(int age,int income,int loanAmount){
    if((age>=20 && age <= 40) && (income > 2000) && loanAmount >= 10000){
    return "true";
    else{
    return "false";
    }

    Hi Ramadhar,
    If you are accessing the Webservice through the proxy you need to configure the proxy.
    1. Follow the menu Path:
    <b></b>System Administration>System Configuration>Service Configuration>Applications>com.sap.portal.ivs.httpservice>Services>proxy<i></i> and edit the property fields "HTTP-Enable Proxy Setting", "HTTP Proxy Host", and "HTTP Proxy port" and save.
    2.Right click on "com.sap.portal.ivs.httpservice" node and choose "Administrate" and restart the service.
    Hope this helps.
    -Venkat Malempati

  • Error when consuming WebService SOAP in DataService 4.2

    Hi everybody,
    I've a problem when I try to import the function in DataService 4.2 (the Data Service version is 14.2.1.224).
    How you can see in the attachments file, I've created the DataStore WebServiceSoap with le right characteristics but when during the import i have the error.
    I've tried to use the web service
    https://po-cloud.com/POWebService/POService.asmx?wsdl
    in SOAPUI and in Strike Iron Webservice Analyzer and everything works correctly.
    Can anybody help me?
    Thanks a lot
    Simone

    Yeah, I'm getting a similar exception here, but it's when I run a client application whose stubs have been generated by the clientgen ANT task. Seems to have something to do with processing the Faults in my WSDL. I've traced the NPE to this line of code in
    weblogic.wsee.bind.internal.FormQualifiedHelper.getPropertyForElement:
    String s1 = bynamebean.getName().getXmlName().getQName().getNamespaceURI();
    bynamebean.getName().getXmlName().getQName() returns null.
    BEA, is this problem innocuous, and if so, is there a way to get rid of the exception? It's very disconcerting.

  • Problems consuming webservice

    Hi,
    I am trying to follow this example: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/501668ab-976e-2a10-91b6-c1020e8c54f2 , using CE 7.1 SP3.
    I managed to connect my NWDS to the SR, imported the WSDL-file to my (dynamic web) project and successfully generated a webservice client. But then, in the servlet I developed according to the above example, the code in step 4 produces two errors:
    SalesOrderSelectionByID selectionById = new SalesOrderSelectionByID();
    SalesOrder order = output.getSalesOrder();
    It says, that SalesOrderSelectionByID and SalesOrder cannot be resolved to a type. What is true, no such file exists. It seems, that they were not generated - but should have been. Any ideas? Or am I getting something wrong?
    Thanks,
    Sebastian

    Hi Rupash,
    thanks for your replay. Your idea sounds good, but unfortunately it doesn't solve my problem ...
    My WSDL looks like this:
    <xsd:complexType name="SalesOrderByIDQueryMessage_sync">
            <xsd:sequence>
              <xsd:element name="SalesOrderSelectionByID">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="SalesOrderID" type="SalesOrderID"/>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
          <xsd:complexType name="SalesOrderByIDResponseMessage_sync">
            <xsd:sequence>
              <xsd:element minOccurs="0" name="SalesOrder">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="ID" type="SalesOrderID"/>
                    <xsd:element minOccurs="0" name="Date" type="Date"/>
                    <xsd:element minOccurs="0" name="ProcessingTypeCode" type="BusinessTransactionDocumentProcessingTypeCode"/>
                    <xsd:element minOccurs="0" name="BuyerID" type="BusinessTransactionDocumentID"/>
                    <xsd:element minOccurs="0" name="DeliveryBlockingReasonCode" type="BlockingReasonCode"/>
                    <xsd:element minOccurs="0" name="InvoiceBlockingReasonCode" type="BlockingReasonCode"/>
    As you can see, SalesOrderSelectionByID and SalesOrder both exist and are named correctly. According to this, a SalesOrderSelectionByID.java and SalesOrder.java should have been generated within the package com.sap.xi.appl.se.global. Do you have these files?
    Regards,
    Sebastian

  • Consuming Webservice(SAP B1if) by PHP SOAP

    Hi all,
    im newbie in B1if, is this possible consuming Webservice by PHP SOAP.  i didnt find any Document or Example for consuming Webservice by PHP. just from Yatsea Li "Consuming B1if Web Services by DotNet". i created webservice just like Yatsea Li did.   I am really just trying to find out how to consuming a webservice by php. Can any one point me in the direction of some usable documentation or example  for it?
    Kind regards,
    Christoph

    Hi Christoph,
    let me summarize:
    You don't want to consume an external Webservice with B1if as I assumed first.
    Your plan is to consume a Webservice - provided by B1if -  with an external PHP based program (such a scenario is described in this youtube video).
    So as prerequisite you followed the guidance by Yatsea and did the following:
    You created a scenario in B1if using Web Service Inbound, and defined an output in atom0.
    You created a test inbound file and tested the scenario in the integration flow
    (existing testfile and successful test run is prerequisite to genrate XSD).
    You activated the scenario in the setup.
    You created a XSD and a WSDL via the B1if Scenario setup.
    You used the self-created WSDL for your test with the external program
    The Webservices provided by B1if are per default in SOAP format, so you need to handover the following structure:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Body>
       <root>
      </root>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The service method is identified by the root tag of SOAP Request.
    Did you already try to consume the B1if Web Service via WFetch or SOAP UI successfully or do you have the same problems as with your PHP application?
    Do you have your generated WSDL available?
    Best regards
    Bastian

  • Unable to add custom SOAP header to consumer webservice in CRM( without using PI)

    Hello Experts,
    We have a requirement to consume webservice proxy in CRM without involving PI. We have WSDL file which has many services as depicted in the first screenshot.After checking old posts, I could add custom SOAP header by using if_wsprotocol_ws_header and there is no xml parsing error for ws_header.Have used if_ixml_stream_factory to check xml parsing error for header.
    '<soapenv:Header>'
    '<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
    '<wsse:UsernameToken wsu:Id="UsernameToken-2">'
                '<wsse:Username>user id</wsse:Username>'
                '<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">paswd</wsse:Password>'
                '<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MT0B9XFzsZJXXKmVKOsj/Q==</wsse:Nonce>'
                '<wsu:Created>2015-03-30T06:29:17.407Z</wsu:Created>'
    '</wsse:UsernameToken>'
    '</wsse:Security>'
    '</soapenv:Header>' INTO l_string.
    But when my ABAP program as a whole gets executed where consumer proxy is called, then it still throws XML parsing error - undeclared namespace prefix. As mentioned, there is no parsing error for header and WSDL file as a whole in SOAP UI tool works fine,by manually adding SOAP header.
    Have configured SOAMANAGER with logical port.Or any wrong setting in SOAMANAGER can cause this issue? When I tested webservice ping, it gave me attached error but I read in a SAP note that such error can be ignored.
    I want to know if some more setting/coding is required if we manually add custom header to a payload? Is PI really required to implement this requirement? Payload mapping has to be done to add custom header and if that can be taken care by ABAP coding and how?
    Can you please help?
    BR,
    Nisha Verma

    Hello Experts,
    I have not found the solution yet.
    Can anyone provide some insight??
    BR,
    Nisha Verma

  • Consuming Flex & SOAP WebService

    I am attempting to consume a SOAP webservice and I am having trouble.
    How would you suggest that I consume a web service using the following xml?  Also, if you could provide a simple example that would be great!
    Thanks.
    HTTP/1.1 200 OK
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <GetViewResultsResponse xmlns="http://www.servicesource/datamanager/">
          <GetViewResultsResult>
            <PrimaryTableName>string</PrimaryTableName>
            <IsSystemView>boolean</IsSystemView>
            <DataTables>
              <NHRCViewResultDataTable>
                <TableOrViewID>guid</TableOrViewID>
                <TableName>string</TableName>
                <Columns xsi:nil="true" />
                <Rows xsi:nil="true" />
              </NHRCViewResultDataTable>
              <NHRCViewResultDataTable>
                <TableOrViewID>guid</TableOrViewID>
                <TableName>string</TableName>
                <Columns xsi:nil="true" />
                <Rows xsi:nil="true" />
              </NHRCViewResultDataTable>
            </DataTables>
            <Queries>
              <NHRCQueryDefinition>
                <NumberRowsToGet>int</NumberRowsToGet>
                <FirstRowToGet>int</FirstRowToGet>
                <MainTable xsi:nil="true" />
                <Tables xsi:nil="true" />
                <WhereClause xsi:nil="true" />
                <StructureOnly>boolean</StructureOnly>
                <ColumnListPrefix>string</ColumnListPrefix>
              </NHRCQueryDefinition>
              <NHRCQueryDefinition>
                <NumberRowsToGet>int</NumberRowsToGet>
                <FirstRowToGet>int</FirstRowToGet>
                <MainTable xsi:nil="true" />
                <Tables xsi:nil="true" />
                <WhereClause xsi:nil="true" />
                <StructureOnly>boolean</StructureOnly>
                <ColumnListPrefix>string</ColumnListPrefix>
              </NHRCQueryDefinition>
            </Queries>
            <ChangeLogTable>
              <TableOrViewID>guid</TableOrViewID>
              <TableName>string</TableName>
              <Columns>
                <NHRCViewResultColumn xsi:nil="true" />
                <NHRCViewResultColumn xsi:nil="true" />
              </Columns>
              <Rows>
                <NHRCViewResultRow xsi:nil="true" />
                <NHRCViewResultRow xsi:nil="true" />
              </Rows>
            </ChangeLogTable>
            <ViewTitle>string</ViewTitle>
            <ViewID>guid</ViewID>
            <DataVersion>dateTime</DataVersion>
            <CompareVersion>dateTime</CompareVersion>
            <LookupLists>
              <NHRCViewResultLookupList>
                <LookupTableID>guid</LookupTableID>
                <ColumnDetails xsi:nil="true" />
                <IsViewResults>boolean</IsViewResults>
                <UsedAsSubtable>boolean</UsedAsSubtable>
                <IsChangeTrackingTable>boolean</IsChangeTrackingTable>
                <CanAcceptChanges>boolean</CanAcceptChanges>
                <TableName>string</TableName>
              </NHRCViewResultLookupList>
              <NHRCViewResultLookupList>
                <LookupTableID>guid</LookupTableID>
                <ColumnDetails xsi:nil="true" />
                <IsViewResults>boolean</IsViewResults>
                <UsedAsSubtable>boolean</UsedAsSubtable>
                <IsChangeTrackingTable>boolean</IsChangeTrackingTable>
                <CanAcceptChanges>boolean</CanAcceptChanges>
                <TableName>string</TableName>
              </NHRCViewResultLookupList>
            </LookupLists>
            <ColumnDetails>
              <NHRCViewResultColumnDetails>
                <LookupTableID>guid</LookupTableID>
                <LookupListSortColumn>string</LookupListSortColumn>
                <IsPartOfDuplicateCheck>boolean</IsPartOfDuplicateCheck>
                <PrimaryFilterOrder>int</PrimaryFilterOrder>
                <IsPartOfErrorDefinition>boolean</IsPartOfErrorDefinition>
                <KeyFieldName>string</KeyFieldName>
                <ValueFieldNames xsi:nil="true" />
                <DisplayFieldCaption>string</DisplayFieldCaption>
                <ConsolidatedDisplayFieldName>string</ConsolidatedDisplayFieldName>
                <ConsolidatedDisplayFieldExpression>string</ConsolidatedDisplayFieldExpression>
                <OriginalFieldName>string</OriginalFieldName>
                <ColumnWidth>int</ColumnWidth>
                <DataType>string</DataType>
                <MaxLength>int</MaxLength>
                <AllowEmpty>boolean</AllowEmpty>
                <Visible>boolean</Visible>
                <DisplayOrder>int</DisplayOrder>
                <FieldReadOnly>boolean</FieldReadOnly>
                <IsSubtableLink>boolean</IsSubtableLink>
                <IsLookupFromView>boolean</IsLookupFromView>
                <IsSingleValueLookupTable>boolean</IsSingleValueLookupTable>
                <IsLookupOfLookup>boolean</IsLookupOfLookup>
                <LookupCriteria>string</LookupCriteria>
                <MinValue>double</MinValue>
                <MaxValue>double</MaxValue>
                <ValidationRegex>string</ValidationRegex>
              </NHRCViewResultColumnDetails>
              <NHRCViewResultColumnDetails>
                <LookupTableID>guid</LookupTableID>
                <LookupListSortColumn>string</LookupListSortColumn>
                <IsPartOfDuplicateCheck>boolean</IsPartOfDuplicateCheck>
                <PrimaryFilterOrder>int</PrimaryFilterOrder>
                <IsPartOfErrorDefinition>boolean</IsPartOfErrorDefinition>
                <KeyFieldName>string</KeyFieldName>
                <ValueFieldNames xsi:nil="true" />
                <DisplayFieldCaption>string</DisplayFieldCaption>
                <ConsolidatedDisplayFieldName>string</ConsolidatedDisplayFieldName>
                <ConsolidatedDisplayFieldExpression>string</ConsolidatedDisplayFieldExpression>
                <OriginalFieldName>string</OriginalFieldName>
                <ColumnWidth>int</ColumnWidth>
                <DataType>string</DataType>
                <MaxLength>int</MaxLength>
                <AllowEmpty>boolean</AllowEmpty>
                <Visible>boolean</Visible>
                <DisplayOrder>int</DisplayOrder>
                <FieldReadOnly>boolean</FieldReadOnly>
                <IsSubtableLink>boolean</IsSubtableLink>
                <IsLookupFromView>boolean</IsLookupFromView>
                <IsSingleValueLookupTable>boolean</IsSingleValueLookupTable>
                <IsLookupOfLookup>boolean</IsLookupOfLookup>
                <LookupCriteria>string</LookupCriteria>
                <MinValue>double</MinValue>
                <MaxValue>double</MaxValue>
                <ValidationRegex>string</ValidationRegex>
              </NHRCViewResultColumnDetails>
            </ColumnDetails>
            <ExpressionColumns>
              <NHRCViewResultExpressionColumn>
                <TableID>guid</TableID>
                <TableName>string</TableName>
                <ColumnName>string</ColumnName>
                <Expression>string</Expression>
                <Order>int</Order>
              </NHRCViewResultExpressionColumn>
              <NHRCViewResultExpressionColumn>
                <TableID>guid</TableID>
                <TableName>string</TableName>
                <ColumnName>string</ColumnName>
                <Expression>string</Expression>
                <Order>int</Order>
              </NHRCViewResultExpressionColumn>
            </ExpressionColumns>
            <Relations>
              <NHRCViewResultRelation>
                <ParentKey>string</ParentKey>
                <ChildKey>string</ChildKey>
                <RelationName>string</RelationName>
                <ParentTableName>string</ParentTableName>
                <ChildTableName>string</ChildTableName>
                <ParentTableID>guid</ParentTableID>
                <ChildTableID>guid</ChildTableID>
                <DependsOnExpressionColumn>boolean</DependsOnExpressionColumn>
              </NHRCViewResultRelation>
              <NHRCViewResultRelation>
                <ParentKey>string</ParentKey>
                <ChildKey>string</ChildKey>
                <RelationName>string</RelationName>
                <ParentTableName>string</ParentTableName>
                <ChildTableName>string</ChildTableName>
                <ParentTableID>guid</ParentTableID>
                <ChildTableID>guid</ChildTableID>
                <DependsOnExpressionColumn>boolean</DependsOnExpressionColumn>
              </NHRCViewResultRelation>
            </Relations>
          </GetViewResultsResult>
        </GetViewResultsResponse>
      </soap:Body>
    </soap:Envelope>

    Turns out I needed to set null values for all the other arguments in the definition that I wasn't using. After that Flex was translating it properly.

  • Have a requirement to consume a  SOAP webservice (wsdl file) using apex

    Hi,
    I am using Application Express 4.2.2.00.11.
    My requirement is to consume a soap web service (wsdl file).
    I am pasting the wsdl fille.
    <wsdl:message name="FulfillOrderResponseRequestMessage">
    <wsdl:part name="payload" element="ffebm:ProcessFulfillmentOrderNotificationEBM"/>
    </wsdl:message>
    <wsdl:message name="FulfillOrderResponseResponseMessage">
    <wsdl:part name="payload" element="ffebm:ProcessFulfillmentOrderNotificationResponseEBM"/>
    </wsdl:message>
    <wsdl:portType name="FulfillOrderResponse">
    <wsdl:operation name="process">
    <wsdl:input message="client:FulfillOrderResponseRequestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="FulfillOrderResponseCallback">
    <wsdl:operation name="processResponse">
    <wsdl:input message="client:FulfillOrderResponseResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="FulfillOrderResponseBinding" type="client:FulfillOrderResponse">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsp:PolicyReference URI="#wss11_saml_or_username_token_with_message_protection_service_policy" wsdl:required="false"/>
    <wsp:PolicyReference URI="#wsaddr_policy" wsdl:required="false"/><wsdl:operation name="process">
    and the xml file looks like this
    <FulfillOrderResponseRequestMessage>
    <part  name="payload">
    <coreforderrocessFulfillmentOrderNotificationEBM>
    <corecom:EBMHeader>
    <corecom:EBMID>2d383135353332303931343330383630</corecom:EBMID>
    <corecom:EBMName>{_http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1}ProcessFulfillmentOrderNotificationEBM</corecom:EBMName>
    <corecom:EBOName>{_http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/FulfillmentOrder/V1}ProcessFulfillmentOrderNotificationEBO</corecom:EBOName>
    <corecom:CreationDateTime>2013-12-27T13:29:04.530+05:30</corecom:CreationDateTime>
    <corecom:VerbCode>Update</corecom:VerbCode>
    <corecom:MessageProcessingInstruction>
    <corecom:EnvironmentCode>PRODUCTION</corecom:EnvironmentCode>
    </corecom:MessageProcessingInstruction>
    <corecomender>
    <corecom:ID  schemeAgencyID="GPR">EBSVIS</corecom:ID>
    <corecomenderMessageID/>
    <corecom:CallingServiceName>{_http://xmlns.oracle.com/ApplicationBusinessFlow/OrderToCash/ProcessFulfillmentOrderNotificationEbizToFusionDOOABF/V1}ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</corecom:CallingServiceName>
    <corecom:WSAddress>
    <ns1:ReplyTo>
    <ns1:Address/>
    <ns1ortType>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1ortType>
    <ns1erviceName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1erviceName>
    </ns1:ReplyTo>
    <ns1:FaultTo>
    <ns1:Address/>
    <ns1ortType>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1ortType>
    <ns1erviceName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</ns1erviceName>
    </ns1:FaultTo>
    </corecom:WSAddress>
    </corecomender>
    <corecom:Target>
    <corecom:ID  schemeAgencyID="GPR">GPR</corecom:ID>
    </corecom:Target>
    <corecom:BusinessScope/>
    <corecom:EBMTracking>
    <corecomequenceNumber>1</corecomequenceNumber>
    <corecom:ExecutionUnitName>ProcessFulfillmentOrderNotificationEbizToFusionDOOABF</corecom:ExecutionUnitName>
    <corecom:ImplementationCode>BPEL</corecom:ImplementationCode>
    <corecom:ActivityDateTime>2013-12-27T13:29:04.531+05:30</corecom:ActivityDateTime>
    </corecom:EBMTracking>
    <xacml-context:Request/>
    </corecom:EBMHeader>
    <coreforderataArea>
    <corecomrocess  operation="ProcessFulfillmentOrderNotification"/>
    <coreforderrocessFulfillmentOrderNotification>
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ID  schemeID="ORDER_NUMBER"  schemeAgencyID="EBSVIS">66498</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="HEADER_ID"  schemeAgencyID="EBSVIS">228338</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000030196926</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">228338</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforder:CurrencyCode  listAgencyID="EBSVIS">USD</coreforder:CurrencyCode>
    <coreforder:TypeCode  listAgencyID="GPR">ORDER</coreforder:TypeCode>
    <corecom:BusinessUnitReference>
    <corecom:BusinessUnitIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="ORG_ID"  schemeAgencyID="EBSVIS">204</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000028235904</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:BusinessUnitIdentification>
    </corecom:BusinessUnitReference>
    <coreforder:FulfillmentOrderLine  actionCode="UPDATE">
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ID  schemeID="LINE_NUMBER"  schemeAgencyID="EBSVIS">1</corecom:ID>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="LINE_ID"  schemeAgencyID="EBSVIS">419300</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeAgencyID="GPR">300000030196928</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">419300</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforderrderQuantity>2</coreforderrderQuantity>
    <coreforder:CurrencyCode  listAgencyID="EBSVIS">USD</coreforder:CurrencyCode>
    <corecomtatus>
    <corecom:Code  listAgencyID="GPR">AWAIT_SHIP</corecom:Code>
    </corecomtatus>
    <corecom:ItemReference>
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS">225</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:ItemIdentification>
    <corecom:TypeCode  listAgencyID="GPR">4</corecom:TypeCode>
    </corecom:ItemReference>
    <coreforder:FulfillmentOrderSchedule  actionCode="UPDATE">
    <corecom:Identification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeID="LINE_ID"  schemeAgencyID="EBSVIS">419300</corecom:ID>
    </corecom:ApplicationObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="FulfillLineId"  schemeAgencyID="GPR">300000030196928</corecom:ID>
    </corecom:AlternateObjectKey>
    <corecom:AlternateObjectKey>
    <corecom:ID  schemeID="ExternalInteractionKey">419300</corecom:ID>
    </corecom:AlternateObjectKey>
    </corecom:Identification>
    <coreforder:FreightTermCode  listAgencyID="EBSVIS">Paid</coreforder:FreightTermCode>
    <coreforderrderQuantity>2</coreforderrderQuantity>
    <coreforderromisedShipDateTime>2013-12-27T19:30:00.000+00:00</coreforderromisedShipDateTime>
    <corefordercheduledShipDateTime>2013-12-27T19:30:00.000+00:00</corefordercheduledShipDateTime>
    <corecomtatus>
    <corecom:Code  listAgencyID="GPR">AWAIT_SHIP</corecom:Code>
    </corecomtatus>
    <corecom:UnitListPrice>
    <corecom:Amount>100</corecom:Amount>
    </corecom:UnitListPrice>
    <corecom:UnitSalePrice>
    <corecom:Amount>100</corecom:Amount>
    </corecom:UnitSalePrice>
    <corecom:CarrierPartyReference>
    <corecomartyIdentification>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS"/>
    </corecom:ApplicationObjectKey>
    </corecomartyIdentification>
    </corecom:CarrierPartyReference>
    <coreforder:FulfillmentOrderScheduleTax>
    <corecom:Tax>
    <corecom:Amount>0</corecom:Amount>
    </corecom:Tax>
    </coreforder:FulfillmentOrderScheduleTax>
    <coreforder:FulfillmentOrderItem>
    <corecom:ItemReference>
    <corecom:ItemIdentification>
    <corecom:BusinessComponentID/>
    <corecom:ApplicationObjectKey>
    <corecom:ID  schemeAgencyID="EBSVIS">225</corecom:ID>
    </corecom:ApplicationObjectKey>
    </corecom:ItemIdentification>
    <corecom:TypeCode  listAgencyID="GPR">4</corecom:TypeCode>
    </corecom:ItemReference>
    </coreforder:FulfillmentOrderItem>
    </coreforder:FulfillmentOrderSchedule>
    </coreforder:FulfillmentOrderLine>
    </coreforderrocessFulfillmentOrderNotification>
    </coreforderataArea>
    </coreforderrocessFulfillmentOrderNotificationEBM>
    </part>
    </FulfillOrderResponseRequestMessage>
    I need to pass few of the above parameters from database using apex.
    Any help will be very thankfull.
    Please if anything more is required to be provided from my side
    Thanks
    Nilesh

    I nee to pass values to few of the above parameters.
    Please inform if anything more is required from my end.

  • Timeout when consuming a SOAP web service

    Hello,
    I'm quite new to Labview and I'm trying to consume a SOAP web service created using a very simple WCF example, but I keep on getting a WebException because of a timeout.
    The web service has been created using the example from the WCF getting started tutotial (to keep things simple) http://msdn.microsoft.com/en-us/library/ms734712.a​spx
    You'll find my .Net solution attached to this message. (You'll have to be administrator to run the service though).
    I have used the import web service tool in Labview to create the VI to connect to the web service and all went fine, it created the VI correctly. You'll find the created VI also attached to this message.
    Then, I'm trying to create a very simple VI to call the webservice and put the return value inside a numeric indicator. Unfortunately, when I run this VI it crashes with a WebException because of a timeout.
    If I run the .Net client, everything goes fine, and if I go to the web service address with a browser, I get the service website, so I know that the server is registered correctly, only Labview can't connect to it for an unknown reason. Everything is setup to connect through localhost:8000, so it can't really be a network problem, I've tried disabling the Windows firewall to see if that was the problem, but it persists.
    I've also tried to do something similar using the CDYNE web service, like in the example http://www.ni.com/white-paper/4728/en/, and it works perfectly.
    Does anybody have an idea about what could be the issue?
    Regards.
    Attachments:
    WcfTestApp.zip ‏453 KB
    _Calculator.zip ‏72 KB

    OK, I found the problem myself, it was a problem with the configuration of the WCF service, I was missing the ServiceMetadata endpoint.
    For reference, if somebody stumbles upon the same issue as I had, here's a service configuration that works with Labview (using .Net >=4.0)
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <protocolMapping>
          <add scheme="http" binding="basicHttpBinding" />
        </protocolMapping>
      </system.serviceModel>
    And here's how to create and run the service host.
    using (ServiceHost selfHost = new ServiceHost(typeof(Calculator), new Uri("http://localhost:8000/Calculator")))
                    try
                        selfHost.Open();
                        Console.ReadLine();
                        selfHost.Close();
                    catch (CommunicationException e)
                        selfHost.Abort();
                        throw;

  • Error in consuming webservices using ABAP

    Dear Gurus,
    I am trying to consume webservices using ABAP. We dont have XI installed and no java instance installed.
    I created a customer proxy through SE80 and generated a proxy class by giving a WSDL link and also defined logical port. Traditionally followed the steps. But while testing webservices , I get a ICF error.
    The error is as follows:
    SOAP : 1:023 SRT : Processing error in internet communication framework ("ICF error when recieving the response  ICM_HTTP_CONNECTION_FAILED)
    Please let me know the cause of this error and solution to be provided.
    I also tried to call the method from an abap program, But I get CX_AI_SYSTEM_FAULT exception.
    Awaiting your replies.
    Thanks in advance for your support and valuable time.
    Thanks
    Gurushanthi

    Hi Gurushanthi,
    It could one of several problems, examples:
    - A firewall setting
    - http communication out disabled by Basis team or
    - The logical port wasn't configured correctly.
    Try the suggestions in this thread to narrow down the reason (particularly the telnet test from the server):
    [Re: Error testing external web service ICM_HTTP_CONNECTION_FAILED;
    Regards, Trevor

  • Error in Consuming Webservice

    Hi Expert,
      I have a problem in consuming webservice into my client proxy.
      when I test the client proxy it  will raise error  :
       SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
      Does anyone here has facing this problem too.
      And how to solve it.
      Need your advice please.
    Regards,
    Ikrar

    Solved by thread Re: Get error "SoapFaultCode:1"Consume web service in ABAP proxy

  • Error in Consuming webservice proxy in SAP

    Hi,
    I have a webservice which I am not able to consume in SAP. I get an error 'Cannot generate Proxy (object <attribute name="arrayType"> missing in WSDL, see long text').
    When i tried to search in SDN, I found a post which says that SAP doesnt support soapenc:Array types and it can be converted to corresponding Sequence. I went through the help link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/ce993b45cb0a85e10000000a1553f6/frameset.htm
    which has a link which shows an example.
    Accordingly, I have changed mine from:
    - <schema targetNamespace="https://tserver.perfectcompliance.com/4DSOAP/LLX_Guardian" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="ArrayOfstring" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <complexContent>
    - <restriction base="SOAP-ENC:Array">
      <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]" />
      </restriction>
      </complexContent>
      </complexType>
      </schema>
    To:
    - <schema targetNamespace="https://tserver.perfectcompliance.com/4DSOAP/LLX_Guardian" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    - <complexType name="ArrayOfstring">
    - <sequence>
      <element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
      </sequence>
      </complexType>
      </schema>
    After doing the above changes, I am able to consume webservice and create a proxy but it's not working. When i execute any method which is using the Arrayofstring, it gives me an error:
    Complex Types cannot be parsed.
    Is my above change in XML wrong. Do I need to do any other changes.
    Regards,
    Nikhil

    Anyone has any idea on how to solve this issue?

  • Consuming Webservice in WebDynpro - Content-Type issue

    Hi,
    I am getting a shortdump when consuming WebService in WebDynpro.
    I trace it back to the class CL_SOAP_HTTP_TPBND_ROOT method GET_HTTP_HEADERS whereby the
    value = 'text/html; charset=iso-8859-1' while the constants tsrc_soap_11_http_content_type = 'text/xml' ; tsrc_soap_bx_http_content_type = 'application/x-sap-bxml' ; tsrc_soap_mtom_http_cont_type = 'application/xop+xml' ; tsrc_soap_mp_http_content_type = 'Multipart/Related'. Because of this Content-Type difference my WebDynpro application dumps?
    Any ideas how to solve this problem?
    Thanks.
    Regards,
    Amel

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • Consuming Webservice in ABAP: SoapFaultCode:1

    Hi,
    I have created a webservice with NetweaverDeveloperStudio and deployed it to a J2EE. I tested it with the "NDS-Webservice-Tester" and it worked fine.
    I then created a proxy following the section for WebAS 640 in the weblog of Thomas Jung:
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    When using the "test-interface" function in SE80 (also described in Thomas weblog) I get the following result:
    <CX_AI_SYSTEM_FAULT>
    <CODECONTEXT>http://www.sap.com/xml_errorcodes</CODECONTEXT>
    <CODE>SoapFaultCode:1</CODE>
    <ERRORTEXT>
    000D6019F1DD004000000036000020D8000405473991B26F:
    Found 0 operation definitions using keys:
    Key name:'first-body-element-ns'
    key value: 'urn:EdilogUserManagementWebserviceWsd/EdilogUserManagementWebserviceVi/document';
    Key name:'SoapRequestWrapper'
    key value:'getCompany';
    </ERRORTEXT>
    <LANGUAGE />
    </CX_AI_SYSTEM_FAULT>
    Any idea what might cause this error? Is there a list with the SoapErrorCodes and their specific meanings?
    Thanks and regards
    Jan Hempel

    I solved the problem "accidentally": The name of the Webservice was to long! Changing the name from "EdilogUserManagementWebservice" to "UserManagement" did the trick.
    This is probably due to the restricted fieldlength of ABAP-programnames.
    Regards
    Jan Hempel

  • Invalid WSDL while consuming webservice

    Hi ,
    I have done with soap to proxy interface  in PI7.1 EHP1,
    Now i am trying to publish the sender agrement to service registry i am facing the issue as
    Service Registry configuration issue
    because of this i have created wsdl file from display wsdl tool  in directory using the
    http://<host>:<J2EEport>/XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>
    and now  i tryed tested this wsdl file by using soapui its working fine.
    the same wsdl when i am using in creating a webdynpro applicaiton to consume this wsdl file i am getting as invalid wsdl file.
    i have followed the link to create a consume webservice
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/
    Kindly suggest me is there any new way to create wsdl in 7.11 as i see old version 7.0 wsdl are wroking fine while creating a model in webdynpro application.
    Regards
    Vijay G
    Edited by: vijay Kumar on Jun 9, 2010 1:31 PM

    Hi,
    Since you are using PI 7.1, you need not to define the websierce by using wizard in the integration directroy.
    In PI 7.1 it is not required to manually formulate your sender SOAP URL, generated WSDL contains all the required information.
    Directly Go to Integration Directory - - - -> Sender Agreement - - - > Display WSDL
    This would help you:
    http://www.riyaz.net/blog/pi-71-publishing-service-interface-as-a-webservice-in-sr/technology/sap/527/
    Regards,
    Abid Mazhar

Maybe you are looking for