BYD web service InventoryProcessingGoodsAndActivityConfirmationGoodsMovementIn

Hi,
i'm trying to use the web service proposed in BYD "InventoryProcessingGoodsAndActivityConfirmationGoodsMovementIn" to create a good movement in BYD , but i have a problem.
Using this message schema, i would like to create the logistic movement, but when the service is called, the system response with an empty message.
Request message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<n0:GoodsAndActivityConfirmationGoodsMovement xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<GoodsAndActivityConfirmationGoodsMove>
<ExternalID>EXT-1745</ExternalID>
<SiteID>1110000</SiteID>
<InventoryChangeItemGoodsMovement>
<ExternalItemID>EXT-6908</ExternalItemID>
<MaterialInternalID>110490</MaterialInternalID>
<InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator>
<InventoryStockStatusCode />
<SourceLogisticsAreaID>2104</SourceLogisticsAreaID>
<TargetLogisticsAreaID>07-02-4</TargetLogisticsAreaID>
<InventoryItemChangeQuantity>
<Quantity unitCode="EA">1</Quantity>
<QuantityTypeCode>EA</QuantityTypeCode>
</InventoryItemChangeQuantity>
</InventoryChangeItemGoodsMovement>
</GoodsAndActivityConfirmationGoodsMove>
</n0:GoodsAndActivityConfirmationGoodsMovement>
</soapenv:Body>
</soapenv:Envelope>
Response message:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
   <soap-env:Header/>
<soap-env:Body>
<n0:GoodsAndActivityConfoirmationGoodsMovementResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:HCZ:/1SAI/TAE117DBAB886E19F0B0809:804"/>
</soap-env:Body>
</soap-env:Envelope>
Please can someone said to me where i'm getting wrong? Maybe there is an error into the message trace?
Ilaria

Hi Alessandro,
the error seems to be changed.. now we send:
request message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
   <soapenv:Header/>
   <soapenv:Body>
<glob:GoodsAndActivityConfirmationGoodsMovement xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<!--1 or more repetitions:-->
         <GoodsAndActivityConfirmation>
<ExternalID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">EXT-1</ExternalID>
<SiteID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">1110000</SiteID>
<!--1 or more repetitions:-->
<InventoryChangeItemGoodsMovement>
<ExternalItemID>23</ExternalItemID>
<MaterialInternalID schemeID="?" schemeAgencyID="?">100003</MaterialInternalID>
<OwnerPartyInternalID schemeID="?" schemeAgencyID="?">1000002</OwnerPartyInternalID>
<InventoryRestrictedUseIndicator>false</InventoryRestrictedUseIndicator>
<InventoryStockStatusCode>1</InventoryStockStatusCode>
<SourceLogisticsAreaID>1900</SourceLogisticsAreaID>
<TargetLogisticsAreaID>2109</TargetLogisticsAreaID>
<!--Optional:-->
<InventoryItemChangeQuantity>
<!--Optional:-->
<Quantity unitCode="?">10</Quantity>
<!--Optional:-->
<QuantityTypeCode listID="?" listVersionID="?" listAgencyID="?" listAgencySchemeID="?" listAgencySchemeAgencyID="?">EA</QuantityTypeCode>
</InventoryItemChangeQuantity>
</InventoryChangeItemGoodsMovement>
</GoodsAndActivityConfirmation>
</glob:GoodsAndActivityConfirmationGoodsMovement>
   </soapenv:Body>
</soapenv:Envelope>
and the response is:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
   <soap-env:Header/>
   <soap-env:Body>
<n0:GoodsAndActivityConfoirmationGoodsMovementResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:HCZ:/1SAI/TAE117DBAB886E19F0B0809:804">
<Log>
<Item>
<Note>No inventory items found for external id 2 item id 2</Note>
</Item>
</Log>
</n0:GoodsAndActivityConfoirmationGoodsMovementResponse>
   </soap-env:Body>
</soap-env:Envelope>
any ideas?
thank you

Similar Messages

  • BYD web service ManageSiteLogisticsTaskIn

    Hi,
    i'm trying to use the web service proposed in BYD "ManageSiteLogisticsTaskIn" to confirm the Warehouse task (for example a pick-up task), but i have a problem.
    using this message schema, i would like to confirm a logistic task specifying a LogisticsDeviationReasonCode to close the open quantities less than the order quantity, but when the service is called, the system register the right quantity without put to zero the open quantity.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
    <soapenv:Header/>
    <soapenv:Body>
    <glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
    <BasicMessageHeader></BasicMessageHeader>
    <!--Zero or more repetitions:-->
    <SiteLogisticsTask>
    <!--Optional:-->
    <SiteLogisticTaskID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">36411</SiteLogisticTaskID>
    <!--Optional:-->
    <SiteLogisticsTaskUUID>00163e06-cce2-1ee3-b6d3-94438703fca0</SiteLogisticsTaskUUID>
    <!--Zero or more repetitions:-->
    <ReferenceObject>
    <!--Optional:-->
    <ReferencedObjectUUID>00163e06-cce2-1ee3-b6d3-944387041ca0</ReferencedObjectUUID>
    <!--Zero or more repetitions:-->
    <OperationActivity>
    <!--Optional:-->
    <OperationActivityUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6d3-944387015ca0</OperationActivityUUID>
    <!--Zero or more repetitions:-->
    <MaterialInput>
    <!--Optional:-->
    <MaterialInputUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6d3-94438701bca0</MaterialInputUUID>
    <!--Optional:-->
    <ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">100003</ProductID>
    <!--Optional:-->
    <ActualQuantity unitCode="EA">60.0</ActualQuantity>
    <LogisticsDeviationReasonCode>3</LogisticsDeviationReasonCode>
    </MaterialInput>
    <MaterialOutput>
    <!--Optional:-->
    <MaterialOutputUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6d3-944387021ca0</MaterialOutputUUID>
    <!--Optional:-->
    <ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">100003</ProductID>
    <!--Optional:-->
    <ActualQuantity unitCode="EA">10.0</ActualQuantity>
      <SplitIndicator>true</SplitIndicator>
    <LogisticsDeviationReasonCode>3</LogisticsDeviationReasonCode>
    <TargetLogisticsAreaID>1400</TargetLogisticsAreaID>
    </MaterialOutput>
    <MaterialOutput>
    <!--Optional:-->
    <ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">100003</ProductID>
    <!--Optional:-->
    <ActualQuantity unitCode="EA">50.0</ActualQuantity>
    <SplitIndicator>true</SplitIndicator>
    <LogisticsDeviationReasonCode>3</LogisticsDeviationReasonCode>
    <TargetLogisticsAreaID>1900</TargetLogisticsAreaID>
    </MaterialOutput>
    <!--Optional:-->    
      </OperationActivity>
    </ReferenceObject>
    </SiteLogisticsTask>
    </glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
    </soapenv:Body>
    </soapenv:Envelope>
    Please can someone said to me where i'm getting wrong? Maybe there is an error into the message trace?
    Ilaria

    Is it possible to specify the logistics unit ID by means of WS manage task of a picking task, in order to confirm the outbound packaging on ByD? We tried with request attached but it didn’t work.
    Request message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
       <soapenv:Header/>
       <soapenv:Body>
          <glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
          <BasicMessageHeader></BasicMessageHeader>
             <!--Zero or more repetitions:-->
             <SiteLogisticsTask>
                <!--Optional:-->
                <SiteLogisticTaskID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">36418</SiteLogisticTaskID>
                <!--Optional:-->
                <SiteLogisticsTaskUUID>00163e06-cce2-1ee3-b6ee-cbad957a9d67</SiteLogisticsTaskUUID>
                <!--Zero or more repetitions:-->
                <ReferenceObject>
                   <!--Optional:-->
                   <ReferencedObjectUUID>00163e06-cce2-1ee3-b6ee-cbad957abd67</ReferencedObjectUUID>
                   <!--Zero or more repetitions:-->
                   <OperationActivity>
                      <!--Optional:-->
                      <OperationActivityUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6ee-cbad95791d67</OperationActivityUUID>
                      <!--Zero or more repetitions:-->
                      <MaterialOutput>
                         <!--Optional:-->
                         <MaterialOutputUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6ee-cbad9579fd67</MaterialOutputUUID>
                         <!--Optional:-->
                         <ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">103710</ProductID>
                         <!--Optional:-->
                      <LogisticsPackageOutput>
                          <LogisticsUnitUUID>00163E02-9014-1EE2-B59B-41414BCA31E9</LogisticsUnitUUID>
                          <LogisticsUnitID>1000</LogisticsUnitID>
                          <LogisticsUnitQuantity unitCode="PAL">2</LogisticsUnitQuantity>
                      </LogisticsPackageOutput>
                         <ActualQuantity unitCode="EA">2.0</ActualQuantity>
                      </MaterialOutput>
                         <!--Optional:-->    
                   </OperationActivity>
                </ReferenceObject>
             </SiteLogisticsTask>
          </glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
       </soapenv:Body>
    </soapenv:Envelope>
    Response message:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header/>
    <soap-env:Body>
    <n0:SiteLogisticsTaskBundleMaintainResponse_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:HCZ:/1SAI/TAS0047630E4F7F23F4510C:804">
    <SiteLogisticsTaskResponse>
    <TaskID>36418</TaskID>
    <SiteLogisticsTaskLog>
    <SiteLogisticsTaskNodeName>MATERIAL_OUTPUT</SiteLogisticsTaskNodeName>
    <SiteLogisticsTaskNodeID>00163E06CCE21EE3B6EECBAD9579FD67</SiteLogisticsTaskNodeID>
    <SiteLogisticsTaskSeverityCode>E</SiteLogisticsTaskSeverityCode>
    <SiteLogisticsTaskNote>Cannot perform Logistic Unit update for Material_Output node:00163E06CCE21EE3B6EECBAD9579FD67</SiteLogisticsTaskNote>
    </SiteLogisticsTaskLog>
    </SiteLogisticsTaskResponse>
    </n0:SiteLogisticsTaskBundleMaintainResponse_sync_V1>
    </soap-env:Body>
    </soap-env:Envelope>
    Is it possible to specify / communicate the serial number of picked items by means of WS manage task of a picking task? If yes, in what tag of WS manage task message we need to specify this attribute?

  • How to expose a SOAP web service from HCP

    Hello All,
    Currently I am trying to create a SOAP web service within a HCP Java application to allow backend systems to consume data stored in HCP.
    This is the planned scenario:
    1. Create data in HCP - therefor I am using JPA and a oData Model.
    2. Backend uses web service to consume data from HCP - with this point I do have some problems.. I do want to create a SOAP web service in order to achieve this.
    Is there an easy way to create a SOAP web service in HCP? There are many tutorials in the internet of how to create a SOAP web service in 20 sec´s, but non of these helped me. I do was able to consume a SOAP web service in HCP coming from the ByD, but the other way around seems pretty complicated...
    Can I make use of the Eclipse functions to create a web service? (New --> Other... --> Web Services --> Web Service and than choose the Button up Java bean Web Service type)
    Have any of you some coding snippets that would probably help me out?
    I have unsuccessfully tried to use the @WebService, @SOAPBinding, @WebMethod notation in my java classes...
    Thank you,
    Swen

    Hello Nedelcho,
    Yes. All the required jar files are in the lib directory.
    Currently I am able to create a web service locally.
    But when I deploy that to the cloud server my JPA service is not working any more.
    Receiving the following error message:
    <?xml version='1.0' encoding='UTF-8'?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en">javax.naming.NamingException: Error while attempting to resolve reference [Root exception is javax.naming.NamingException: Cannot create resource  object instance due to exception in the object factory [Root exception is javax.naming.NamingException: Data source 'jdbc/DefaultDB' not available.]]</message></error>
    The web.xml contains the following:
    Any advice?
    Best regards,
    Swen

  • Web Service Access to a extension field

    Hello All:
       Scoping against solution capability, how easy, or at all possible, is to access a extension fields to a native ByD business Objects via web services? In my specific case, the E-Commerce Sales Order Creation Web Service.
       But the question is pretty general, This can be a data retrieve web services as well? Any limitations? does it needed to be rebuild by SAP? or can we generate them by ourselves?
       Also, if in future new extension required on web services, can this process be done after implementation and go live? Without too much trouble?
       Any documentation will be greatly appreciated! Thank You!

    This is doubtful as it is a Standard service (we use it for several different solutions).. and is the same across all tenants and I do not think it can be applied as a custom one off..
    asking your dev coach would probally be your best bet.
    Another solution for you would be to have a simple Read,Update Service you write that just deals with your extension fields... so after an order is created you can update your field on the sales order, or read the value given a specific sales order. 
    Unless this has changed it is my understanding that you have to add the Extension field via the Development studio not the Key user tools if you wish to have access to it in the Studio for releasing a webservice like I described above.(Most my work so far has involved integrations and the standard  webservices)

  • How to process a group of records in a single Web Service Call through SDK

    Hi Experts,
    The Business Scenario is as follows:
    Entire data of the customer accounts and Sales information of my client's is coming from an external system called DellBoomi into the ByD. We had a solution for this where we had used a custom inbound web service for some reasons and we cannot consume standard SAP provided web service to do this for customer account creation/updation in ByD. In the solution when we are trying with a custom web service we found that the associations of SalesArrangment and Payment Data are not PSM write enabled for partners. So we had taken a route of consuming SAP standard web service as a external web service and we consumed it and we used this for creation of the customer and for the updation we used the custom web service which we built.
    Here now the problem is it is taking long time to process a batch of 100 customers (almost 3hours it took). It is due to because we are trying to call SAP standard web service for each and every record of 100 records which are coming from DellBoomi and creating them and again updating some of the information with the use of custom web service.
    I know this is a long process and step which we had taken but there is no other way we had left with us.
    Now I am looking for a way to get all the 100 records of the DellBoomi together should invoke the SAP standard web service at a time instead of going and looking for it for each and every record.
    Can any one reply back with their valuable suggestions and solutions.
    Regards..
    Hanu K

    Hello,
    Thank you, guys, for advice. I should have explained calling context before, but what I basically need to do is to see if procedure(arg1, list(record(arg2, arg3))) returns true.
    I see array binding wouldn't fit there nicely. Internal procedure calls would be proc(next(arg1), next(arg2), next(arg3)) - if all these return true, external call should also return true. I would need to make a list of repeating values of arg1 and separate list(record(arg2, arg3)) into separate lists. I would also need to record whether the internal call returns true to deduce whether external call returns true.
    As I see no better way yet, I'll make Oracle procedure proc(arg1, arg2, arg3) and implement a loop in .NET side. If I optimize for performance, I'll probably pack the array of records into string and pass it for Oracle side to parse.
    Regards,
    Aurimas Pranskevicius

  • Error while invoking a WS-Security secured web service from Oracle BPEL..

    Hi ,
    We are facing some error while invoking a WS-Security secured web service from our BPEL Process on the windows platform(SOA 10.1.3.3.0).
    For the BPEL process we are following the same steps as given in an AMIS blog : - [http://technology.amis.nl/blog/1607/how-to-call-a-ws-security-secured-web-service-from-oracle-bpel]
    but sttill,after deploying it and passing values in it,we are getting the following error on the console :-
    &ldquo;Header [http://schemas.xmlsoap.org/ws/2004/08/addressing:Action] for ultimate recipient is required but not present in the message&rdquo;
    Any pointers in this regard will be highly appreciated.
    Thanks,
    Saurabh

    Hi James,
    Thanks for the quick reply.
    We've tried to call that web service from an HTML designed in Visual Studios with the same username and password and its working fine.
    But on the BPEL console, we are getting the error as mentioned.
    Also if you can tell me how to set the user name and password in the header of the parter link.I could not find how to do it.
    Thanks,
    Saurabh

  • Not Able To View Data in Web Service Model

    Hi ,
       I m trying to view a table using web service model.
       When i write the same code for binding it to context , i m able to view its data.
       But not so while using Web Service Model(not adaptive web service model).
       The code is: 
             Request_ZMANAGE_MAKT_ZMANAGE_ZMAKT object1 =new Request_ZMANAGE_MAKT_ZMANAGE_ZMAKT();
       wdContext.nodeRequest_ZMANAGE_MAKT_ZMANAGE_ZMAKT().bind(object1);
       object1.setResponse(new Response_ZMANAGE_MAKT_ZMANAGE_ZMAKT());
      CAn anybody plz solve my problem.
    Thanks..
    Regards,
    Ankita

    Hi,
    I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
    eg:
    select
    case
    TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2)
    = :P15_EV_LCL
    then
    span style="background-color:lightgreen"
    || TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    else
    span style="background-color:yellow"
    || TRUNC(
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    end "Effort"
    from actuals Z
    If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
    Please suggest
    Thanks
    Sudhir
    Edited by: Sudhir_N on Mar 23, 2009 10:00 PM

  • Unable to capture return values in web services api

    At the time of login to web services if my server is down ,
    it returns following error :
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
            at java.lang.String.substring(String.java:1438)
            at java.lang.String.substring(String.java:1411)
    I want to capture this error so that i can try another server to login. how do i capture this error
    Another place where i want to capture the return Value is when i look for a report on the server
    rh = boBIPlatform.get("path://InfoObjects/Root Folder/"src_folder"/" + reportName +
                               "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    oInfoObjects = rh.getInfoObjects();
    CrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    Here if the report is not there on the server , it returns a null handler exception.
    but if i try catching it by checking my responsehandler is null  like rh == null  it does not catch it.
    Any help will be appreciated
    thanks
    Rakesh Gupta

    Ted : i have two cases
    1)   server = server_st.nextToken();
        providerURL = "http://"server"/dswsbobje/services";
        sessConnURL = new URL(providerURL + "/session");
       Connection boConnection = new Connection(sessConnURL);
       Session boSession = new Session(boConnection);
      EnterpriseCredential boEnterpriseCredential = new    EnterpriseCredential();
                  boEnterpriseCredential.setLogin(userid);
      boEnterpriseCredential.setPassword(pwd);
      boEnterpriseCredential.setAuthType(auth);
    SessionInfo boSI = boSession.login(boEnterpriseCredential);
    I have got a list of servers running web servcies stored in my tokens. when i pass the first server name say " test:8080" and that server is down , i want to catch somewhere in the code above that it did not get the connection so that i can loop back and try with the second server say test1:8080
    This is for failover purposes.
    at present when i was trying to capture return value of boSI it  breaks giving the error
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1438)
    at java.lang.String.substring(String.java:1411)
    2nd case :
    I am geeting reports from the server and scheduling them:
    i run the following code which works fine if reports is there
    rh = boBIPlatform.get("path://InfoObjects/Root Folder/"src_folder"/" + reportName +
    "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    oInfoObjects = rh.getInfoObjects();
    CrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    Here if  the  report  is not there on the server  then i should be able to catch from the response handle rh that it has got a null value.
    but rh does not return a null value 
    the code ultimately throws a null handle at the following line
    CrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    i am not able to catch the null value there also.
    hope you got my issue.

  • How to allow access to web service running under ApplicationPoolIdentity

    Hi All,
    I have a WCF web service hosted in IIS 7 (or maybe 7.5, whichever comes with Windows server 2008 R2) using DefaultAppPool running under ApplicationPoolIdentity per Microsoft's recommendation. The web service needs to call a stored procedure to insert data
    to a db. The web server is on a different VM than the database server. The db server is running SQL 2008 R2. Both VMs run Windows server 2008 R2.
    When the web service tries to connect to db, it encounters this exception:
    Exception in InsertToDb()System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    Here's the connection string in web.config:
    Application Name=somewebservice;Server=somewebserver;Integrated Security=SSPI;Database=somedatabase;Connection Timeout=60"
    How should I configure SQL security to make this work?
    Thanks in advanced.

    Thanks for the link Dan. Maybe I'm the one who cause the confusion :)
    If I understand you(and Erland) correctly, you suggest using a custom, domain account for application pool identity. However, if we do that, our IT will need to maintain those accounts, and they don't  want that. So I'm choosing a built-in account called
    ApplicationPoolIdentity as the application pool identity, but it's not working. Network Service, on the other hand, works, but my boss wants us to follow MS's best practice.
    What's puzzling is that according to this: http://learn.iis.net/page.aspx/624/application-pool-identities/, both Network Service and ApplicationPoolIdentity uses machine account to access network resource (like db in this case), but in my case, Network Service
    works, but not ApplicationPoolIdentity.
    Hallo Stephen,
    with respect - it seems to me that only idiots are working at your IT ;)... It is absolutely useful to work with "service accounts" created within the domain. That's the only way to manage and control accounts!
    If you want to "pass through" the identity of the web user (SSO) you have to check whether the app pool is set to "allow impersonate". As far as I understand the ApplicationPoolIdentity-function the app pool will create a unique user named as the service.
    I assume that will not work with the connection to the sql server because this user is unknown.
    Local Service will not work because it's restriction is located to the local machine.
    Network Service will work because access to network resources will be available.
    So my recommendation is to use a dedicated service account or impersonation:
    http://msdn.microsoft.com/en-us/library/xh507fc5.aspx
    Uwe Ricken
    MCITP Database Administrator 2005
    MCITP Database Administrator 2008
    MCITS Microsoft SQL Server 2008, Database Development
    db Berater GmbH
    http://www-db-berater.de

  • How do I use the Web Services API to query orders?

    The help doc states, "you can retrieve details for purchases including products purchased, payments received, and their status." The only additional info is at the link to eCommerce-Related Web Service, which does not include any information about retrieving "products purchased, payments received, and their status."

    Hey if you read over that again you have two links, the other is this one:
    https://worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx

  • Web Service deployed with admin_client is not working

    Hi,
    I'm usung SOA Suite 10.1.3.1 and Eclipse WTP 3.2.2.
    The thing is that I developed a Web Service with Eclipse using the plugin for generating web services. Then I exported my project to a .war file from eclipse as well.
    For deploy my web service in oc4j, I tried from the oc4j console in Applications --> Deploy and Next-Next wizard and using the .war file generated by Eclipse. I got the application deployed and I can check that the wsdl is working in http://localhost:8888/Hello_Web2/services/Hello?wsdl
    But the main problem is when I try to deploy using the admin_client command tool running the command: java -jar admin_client.jar deployer:oc4j:opmn://localhost/home oc4jadmin welcome1 -deploy -file d:\TEMP\Hello_Web.war -deploymentName Web5 -contextRoot "/". Everything seems right, I can see the application created in the console, but when I try to access to the web service using "http://localhost:8888/Hello_Web2/services/Hello?wsdl" I get and Http 404.
    What is wrong with the command method?
    Many thanks in Advance,
    Alberto

    Hi,
    As the custom web part works well in other browsers, the issue may be related to the IE itself.
    Have you tried the methods below?
    Use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    Add the site into Trusted sites to check whether it works.
    Open the IE->Internet Options->Security->Trusted Sites->add the site into the zone
    What’s more, you can also switch the Document mode to IE 10 or lower to check whether it works.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Questions on using a SOAP web service's data in a Crystal Reports report

    I'm attempting to create a report using CR 2008, accessing data from a SOAP web service. I've run into a few problems, and need some advice.
    1) CR doesn't seem to support WSDL files that use relative URI imports (for example, I have a relatively complicated WSDL file that imports other WSDL files and schemas using relative URI locations). To solve this problem, I have downloaded all of the files to my local hard drive, and changed the "location" attributes to point to local files. Is there any other solution to this problem?
    2) CR doesn't seem to support circular references within schema files. To solve this problem, I have removed circular references from my local schema files. Of course, my actual web service will still potentially return data structures with these circular dependencies. Is there any other solution to this problem?
    3) CR doesn't seem to support request documents that allow for arrays of elements. For example, my schema allows the user to specify an array of Instruments that should be returned by the web service. In the meantime, I have changed the schema to only specify single instances of the Instrument element in the request. Is there any other solution to this problem?
    4) CR doesn't seem to support empty values for optional attributes that are specified in the schema. So, when the "Enter Values" parameter form appears, I am required to enter values for these attributes, even though they are listed as optional in the schema. To avoid this problem, I have commented out the optional attribute values in the schema. Is there any other solution to this problem?
    5) When the schema specifies that a value is based on a restricted simple (string) type, the CR parameter form shows a drop list with ellipses (...), but the drop list does not contain the enumerated types specified in my schema. Instead, I must manually enter a value. Do you know of any reason why the drop list is not populated?
    6) The SOAP response document from my web service is relatively complicated. So, in the "Data" page of the Standard Report Creation Wizard, each and every XML element level of the response document listed in the schema is shown as a separate entry. If I choose just the top level element ("fetchInstrumentSetResponse"), then very little data is shown on the next page of the wizard (only the ID attribute). But, if I select each and every element type from the response document, CR prompts me for the request document parameters for each row I have selected (I see the same form 30+ times), even though there really should only be a single SOAP request to the web service to return this response document. It seems to be treating each of these elements as a separate "database table", with a different query string for each. Am I using this feature incorrectly?
    If you can point me to somewhere in the documentation that handles this in more detail, that would be great (all I could find were the step-by-step instructions on how to connect to a web service as a data source).
    Thanks!

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Error in calling a web service

    hi,
    i am facing a problem in calling a web service.
    following are the steps i followed.
    1. created a client proxy object in transaction se80
    2. called that proxy object in my program
    3. executed the program
    problem
    1. an exception 'CX_AI_SYSTEM_FAULT' is caught with error code 'GET_BUSINESS_SYSTEM_ERROR' and error text 'An error occurred when determining the business system (SLD_API_EXCEPTION)'
    some facts abt the system:
    1. we do not have XI server.
    2. i havent created a logical port manually still there exists one entry in table SRT_LP which is as follows-
    PROXYCLASS - CO_CAT_PING
    LP_NAME - CO_CAT_PING
    ACTIVE - A
    DEFAULTPORT - X
    3. i found error messae in transaction 'sldcheck' as 'Summary: Connection to SLD does not work'
    4. i havent created a rfc destination.
    please reply ASAP.
    thanks in advance,
    Sagar

    Got a new file for testing the web service and it executed fine. Closing the thread.
    Regards
    Barada

  • Error while scheduling through web service

    We have created Web service through WSDL of OBI Publisher. Also we created a web service proxy client to call the services offered by OBI Publisher. We actually want to  "Automate the Scheduling of Reports" according to our requirement:
    1. We used to schedule the reports manually by giving the parameters(used to populate data in reports) and other fields like select report name, report destination, format of reports ( .pdf, .docx,etc) through Oracle BI Publisher.
    2. As there are thousands of permutations of report input parameters possible, so it is difficult to schedule them manually. 
    3.We also want to schedule report to a particular folder according to some parameter, for the ease of the user visibility.
    Above requirements are not currently available with Oracle BI Publisher.
    We are getting error while scheduling through ScheduleRequest class.
    The client.java is as follows:
    public class ScheduleServiceClient
      @WebServiceRef
      private static ScheduleService_Service scheduleService_Service;
      public static void main(String [] args)
        scheduleService_Service = new ScheduleService_Service();
        ScheduleService scheduleService = scheduleService_Service.getScheduleService();
        // Add your code to call the desired methods.
        try {      
                    FTPDeliveryOption ftpdo =new FTPDeliveryOption();
                    ftpdo.setFtpServerName("ServerName");
                    ftpdo.setFtpUserName("Username");
                    ftpdo.setFtpUserPassword("Password");
                    ftpdo.setRemoteFile("/path/TestFile");
                    ftpdo.setSftpOption(true);
                    List<FTPDeliveryOption> listobj=new ArrayList<FTPDeliveryOption>();
                    listobj.add(ftpdo);
                    ArrayOfFTPDeliveryOption ar =new ArrayOfFTPDeliveryOption(); 
                    ar.setItem(listobj);
                    DeliveryChannels dc = new DeliveryChannels();
                    dc.setFtpOptions(ar);
                    ScheduleRequest scheduleRequest = new ScheduleRequest();
                    scheduleRequest.setDeliveryChannels(dc);
                    scheduleRequest.setJobLocale("en-US");
                    scheduleRequest.setUserJobName("Job_1_WebService"); 
                    scheduleRequest.setDataModelUrl("Url");
                    scheduleRequest.setStartDate("Mar 27, 2015 12:40:00 PM");
                    scheduleRequest.setJobTZ("[GMT+05:30] Calcutta, Chennai, Mumbai, New Delhi");
                    String userID = "BI_Publisher_Username";
                    String password = "BI_Publisher_Password";
                    scheduleService.scheduleReport(scheduleRequest,userID,password);
                } catch(Exception exception) {
                    exception.printStackTrace();
    Snapshot of error is attached.
    Kindly suggest the way of getting out of this error.

    Hi
    Check this thread
    WD Message Manager
    Reward opints if usefull....

  • Error while deploying a web service whose return type is java.util.Date

    Hi
    I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
    public interface Ping extends Remote
    * A simple method that pings the server to test the webservice.
    * It sends a datetime to the server which returns the datetime.
    * @param pingDateRequest A datetime sent to the server
    * @returns The original datetime
    public Date ping(Date pingDateRequest) throws RemoteException;
    The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
    E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
    WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result  = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
    (myPing_Type.getDate_1());
    ^
    1 error
    04/03/23 17:17:35 Notification ==&gt; Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
    I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
    Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
    This forces me to return a String data.
    I would appreciate if someone can help me out.
    Thanks
    Sachin Mathias
    Datamatics Ltd.

    Hi
    I got the web service working with some work around. But I am not sure it this approach would be right and good.
    I started altogether afresh. I did the following step :
    1. Created an Interface (Ping.java) for use in web Service as follows :
    public interface Ping extends Remote{
    public java.util.Date ping(java.util.Date pingDateRequest)
    throws RemoteException;
    2. Implemented the above interface in PingImpl.java as follows :
    public class PingImpl implements Ping
    public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    3. Compiled the above 2 java files.
    4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
    5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
    Ping.Java
    =========
    public interface Ping extends Remote{
    public java.util.Calendar ping(java.util.Calendar pingDateRequest)
    throws RemoteException;
    PingImpl.Java
    ================
    public class PingImpl implements Ping
    public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    6. Now I recompile both the java files.
    7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
    8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
    The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
    From Client to SOAP :
    java.util.Date to datetime
    From SOAP to Server :
    datetime to java.util.Calendar
    From Server to SOAP :
    java.util.Calendar to datetime
    From SOAP to Client :
    datetime to java.util.Date (I am not able to understand this part of the conversion)
    Any help or inputs would be appreciated.
    Thanks
    Sachin Mathias

Maybe you are looking for