Executing a Job via Web Services using a Server Group?

When executing a job from Designer or from the Management Console you have the option to select a specific job server or a server group.
But when executing a job via Web Services it uses the first job server with which the repository was associated (i.e. the first job server listed in AL_MACHINE_INFO).
Is there a way to get the job to execute using a server group instead simply choosing the first job server in the list?
Note: We are using FIM to execute the jobs via web services and don't have access to additional parameters.

Joe
Here is the where you can change the server group/job server.
- After you add the Batch/real Time job as a webservice.
- Go to the Webservice Batch Job Attribute and from the drop down choose the "Enable job Attributes" and hit apply.
- After this if you use the WSDL URL http://<Data Services Web Server>:<Web server Port>/DataServices/servlet/webservices?ver=2.0&wsdlxml
- You will see the job attributes that you can change based on the allowed parameters mentioned in the documentation.
The batch job or real time job is published without the job parameters by default. Once you enable the job attributes, remove and re publish the batch job as a web service. The application making the call to this webservice should be able to read the WSDL generated by Data services and pickup all the input and output parameters of the method.
Refer to the Data Services Integrator guide (Chapter 3 : pages 25 - 33 ) to get the exact parameter values permitted via Data Services jobs called via web services.
Hope this helps!
Thanks & Regards
Tiji

Similar Messages

  • Down-/Upload files via Web Services using a NON-SAP system!?

    Hello,
    is it possible to down-/upload files via web services using a NON-SAP system!?
    Regards,
    Jens

    Hi Jens,
    I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
    1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
    2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
    Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
    Hope this helps.
    Regards,
    Prasanna

  • Timeout to Web Services using via Proxy Server

    Hello,
    I'm wondering if anybody can help.
    I have a couple of preset web services on the coldfusion web server. As far as I know these have never worked since it's original installation back in June 2011.
    Whenever I attempt to refresh one of the web services using CF administrator I am seeing the following error message:
    Unable to refresh webservice.
    Unable to read WSDL from URL: https://www.****.cfc?wsdl.
    Error: java.net.ConnectException: Connection timed out: connect.
    The server does not have a direct connection to the internet as it is connected to the internal company network which uses a proxy server for internet connectivity.
    I am suspecting that CF is attempting to connect to the internet without the knowledge of the proxy server.
    I have looked high and low but unable to locate anything in CF admin to add a proxy server.
    I'm hoping somebody can reply with a simple solution to fix the above.
    Many Thanks,
    Andy

    Andy, two things.
    First, the problem could be proxy-related, but I notice also that the URL has https. And in that you’re getting a connection timeout, it could be that the destination server (at that URL in the web service call) is set to only allow SSL calls (or perhaps even calls to that specific site, directory, or file) from a specific IP address. Try visiting that URL from a browser running ON THAT SERVER (where CF is installed). It does not good to test the URL from your local development workstation. That would not be the same IP address from which the request would come when run via CF.
    Second, as for specification of proxy info, here’s something to consider: the CF Admin interface showing web services is populated by a call from within CFML code (using CFINVOKE/cfobject/createobject) invoking that web service. If you can find the code that is really calling the web service, you should find that you can specify the proxy info there. See:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_i_10.html (cfinvoke)
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_m-o_14.html (cfobject)
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions-pt0_23.html (createobject)
    Note that with createobject, you do it using a new (for CF8) argstruct. See the docs there for more, or my blog entry:
    http://www.carehart.org/blog/client/index.cfm/2007/9/5/cf8_hiddengem_createobject_argstruc t
    Let us know if any of this helps.
    /charlie

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

  • Update key mapping via web service

    Hi ,
    I have a question about edit key mapping. The problem is that we create vendors in MDM and syndicate them to different ERP systems. To decide which system a new vendor/changes must be send to, I need the Edit Key Mapping, but the users do not want to enter this information manually and I do not see how I can create key mapping automatically.
    We are working on a new solution where vendors are entered in sharepoint and updated in MDM via web services. I would like to know if one of you know if key mapping can be maintained via a web service.
    Kind regards
    Jonna

    Hello,
    You may use the document,
    [MDM PI via Web Service Key Mapping|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0812356-e62f-2c10-76aa-9a02d038ba81]
    Hope this helps your scenario
    Regards,
    Abhishek

  • Unallowed RFC-XML Tag (SOAP_EINVALDOC) - Web Service using ABAP Proxy

    Hi there
    I am trying to consume a Web Service using ABAP Proxies.  I have done the following in the system:
    I configured the HTTP and HTTPS Proxy settings. 
    I created a package with package interfaces SAI_TOOLS and SAPPINT included under the Use Access tab.
    I created the proxy classes by using the WSDL provided by the system I'm trying to interface with. 
    I created my HTTP destination RFC via SM59. 
    I configured a logical port for the proxy. 
    I developed the ABAP code for calling the proxy. 
    In the code the exception CX_AI_SYSTEM_FAULT gets raised with error message <b>"Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b> when I call the method for passing data to the destination system in the proxy class.
    I had a look at SM21 and the following message was written in the log:
    <b>"SOAP Runtime: SOAP Runtime exception: 111 occurred in method XP_READ_TAG of class CL_SOAP_XP at position 1
    SOAP Runtime: Exception message: Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b>.  I also looked at SAP Note 919886 which states that it can be dumps in the system, missing configuration or the path prefix of the RFC destination that is incorrect.  I cannot find any ST22 entries.  The trace file looks as follows:
    SAP System ID: DGH
    Client: 009
    User: COLESKG
    System time: 072910
    System date: 20070531
    SAP Release: 700
    Host: hd307c
    Operating system: AIX
    DB System: ORACLE
    Program: ZUK_IPA00003
    Processing State: 0
    Location: Client
    Transport Binding: http://schemas.xmlsoap.org/soap/http
    SOAP Application: urn:sap-com:soap:runtime:application:client
    SOAP Runtime Protocol: http://www.sap.com/webas/630/soap
    /runtime/protocol
    SOAP Protocols: <initial>
    Request Message: <initial>
    Response Message: <initial>
    Fault: <initial>
    Registry: <initial>
    SOAP Roles: <initial>
    Trace Level: 3
    Logging Level: 2
    Monitoring Level: 0
    Security Profile: <initial>
    WS Security Protocol: <initial>
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to create client application for Proxyclass:
    ZES_CO_PROCESS_EMPLOYEE_BATCH LP name: DEFAULT
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application created
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to initialize client application
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Try to initialize application
    urn:sap-com:soap:runtime:application:client
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new runtime CL_SOAP_RUNTIME_CLIENT
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Try to register application
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Application registered
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Read type of transport binding from
    configuration
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new transport binding type
    http://schemas.xmlsoap.org/soap/http
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() Try to initialize
    http://schemas.xmlsoap.org/soap/http
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() http://schemas.xmlsoap
    .org/soap/http initialized
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Try to create request message
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Request message created
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Try to create response message
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Response message
    created
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Try to initialize
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Check transport binding
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Create runtime protocol
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Runtime-intrinsic
    Protocol as SENDER with Priority 5
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create trace header/part
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Trace header/part created
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create logging header/part
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Logging header/part created
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT()
    Initialized
    INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
    Try to create instance for http://www.sap.com/webas/630/soap
    /runtime/session/protocol::http://www.sap.com/webas/630/soap
    /runtime/session/protocol/srt640_impl
    INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
    Instance of CL_SOAP_SESSION_PROTOCOL created for http://www.sap.com/webas/630/soap/runtime/session/protocol::http://www.sap.com/webas/630/soap/runtime/session/protocol/srt640_impl
    INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Session Protocol
    as SENDER with Priority 5
    INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Try to configure features
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() Try to
    create ICF Client for DESTINATION = ALSB
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() ICF
    Client created by DESTINATION
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_DESTINATION_URL_PATH() Set
    DESTINATION PATH = /SapHRSmartIntegrationWeb/processes/ProcessEmployeeBatch.jpd
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Features configured
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Application urn:sap-com:soap
    :runtime:application:client initialized
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application initialized
    Trace file opened at 20070531 073030 GMT SAP-REL 700,0,95
    Error in module XMLParserGetNextElement:773
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfcpars.c#2 $
    Unallowed RFC-XML Tag
    Error in module XMLConverterReadTag:3061
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfccnvrt.c#5 $
    Unallowed RFC-XML Tag(24)
    Error in module ab_soap:4392
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/abxrfccal.c#2 $
    failed with return code 1
    It then must be something in the config.  Has anyone got any idea why this message is encountered?
    Kind Regards
    Gustav Coleske
    Message was edited by:
            Gustav Coleske

    Hi,
    I have the same problem as described.
    Can you give me a little more information about the error you have solved in the proxy.
    Thanks for help
    John

  • Calling web service using ksoap2

    Hello Friends,
    I am writing a Java client which uses ksoap2. I am new to web services and ksoap2. The WSDL is like this
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://leaguematch.com/matchwatch/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://leaguematch.com/matchwatch/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://leaguematch.com/matchwatch/">
    <s:element name="WebServiceInfo">
    <s:complexType />
    </s:element>
    <s:element name="WebServiceInfoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="WebServiceInfoResult" type="tns:Information" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="Information">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ServiceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="SupportPhone" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="Credential">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetScore">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="credValidate" type="tns:Credential" />
    <s:element minOccurs="1" maxOccurs="1" name="MyScript" type="tns:ScriptData" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ScriptData">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="sScriptCode" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="sScriptName" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetScoreResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="GetScoreResult" type="s:boolean" />
    <s:element minOccurs="1" maxOccurs="1" name="MyScript" type="tns:ScriptData" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="WebServiceInfoSoapIn">
    <wsdl:part name="parameters" element="tns:WebServiceInfo" />
    </wsdl:message>
    <wsdl:message name="WebServiceInfoSoapOut">
    <wsdl:part name="parameters" element="tns:WebServiceInfoResponse" />
    </wsdl:message>
    <wsdl:message name="GetScoreSoapIn">
    <wsdl:part name="parameters" element="tns:GetScore" />
    </wsdl:message>
    <wsdl:message name="GetScoreSoapOut">
    <wsdl:part name="parameters" element="tns:GetScoreResponse" />
    </wsdl:message>
    <wsdl:portType name="matchwatchSoap">
    <wsdl:operation name="WebServiceInfo">
    <wsdl:input message="tns:WebServiceInfoSoapIn" />
    <wsdl:output message="tns:WebServiceInfoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetScore">
    <wsdl:input message="tns:GetScoreSoapIn" />
    <wsdl:output message="tns:GetScoreSoapOut" />
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="matchwatchSoap12" type="tns:matchwatchSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="WebServiceInfo">
    <soap12:operation soapAction="http://leaguematch.com/matchwatch/WebServiceInfo" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetScore">
    <soap12:operation soapAction="http://leaguematch.com/matfchwatch/GetScore" style="document" />
    <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="matchwatch">
    <wsdl:port name="matchwatchSoap" binding="tns:matchwatchSoap">
    <soap:address location="http://www.leaguematch.com.au/matchwatch/matchwatch.asmx" />
    </wsdl:port>
    <wsdl:port name="matchwatchSoap12" binding="tns:matchwatchSoap12">
    <soap12:address location="http://www.leaguematch.com.au/matchwatch/matchwatch.asmx" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    This is how I get the data from the web service with J2SE platform
    javax.xml.ws.Holder<com.leaguematch.matchwatch.ScriptData> myScript = new
    javax.xml.ws.Holder<com.leaguematch.matchwatch.ScriptData>();
    com.leaguematch.matchwatch.ScriptData scData = new com.leaguematch.matchwatch.ScriptData();
    scData.setSScriptCode(jTextField1.getText());
    myScript.value = scData;
    javax.xml.ws.Holder<Boolean> getScoreResult = new javax.xml.ws.Holder<Boolean>();
    port.getScore(credValidate, myScript, getScoreResult);
    What is the equivalent for JavaME platform? This is what I tried.
    SoapObject credential = new SoapObject(nameSpace, "Credential");
    credential.addProperty("Email", new String("[email protected]"));
    credential.addProperty("Password", new String("[email protected]"));
    SoapObject scriptData = new SoapObject(nameSpace, "ScriptData");
    scriptData.addProperty("sScriptCode", new String("GROUND1"));
    request.addProperty("credValidate", credential );
    request.addProperty("MyScript", scriptData);
    request.addProperty("getScoreResult", getScoreResult);
    // serialize the envelope
    SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
    envelope.bodyOut = request;
    envelope.setOutputSoapObject(request);
    //make the call
    // set up the transport
    HttpTransport ht = new HttpTransport(endPointURL);
    ht.debug = true;
    ht.call("http://leaguematch.com/matchwatch/GetScore", envelope);
         The server responded
         SoapFault - faultcode: 'soap:Server' faultstring: 'System.Web.Services.Protocols.SoapException:
         Server was unable to process request. ---> System.Exception: You must pass Script Code in
         MyScript.sScriptCode:=ScriptData.sScriptCode to execute GetScore successfully
    I am able to get data using "WebServiceInfoResponse" method.
    But to getScore, I don't know how to pass the credential and scriptData to the web services and get its result ?
    Please help
    Sudheer Palaprambil

    Hello,
    I am not able to access the link you posted about calling a web service. Could please share your code again ?
    Thanks in advance for your help...
    Lionel

  • How to download a file via web service in Windows Phone 8.1?

    My project just got 2 part.
    1.Pivot app
    2.Webclient server (provide data for pivot app the view the data)
    My concert that how do i do a download button to download a file via web services in to isolated storage.
    urgent!

    something like this:
    public async System.Threading.Tasks.Task DownloadFile()
    using (var client = new Windows.Web.Http.HttpClient())
    var stream = await client.GetInputStreamAsync(new System.Uri("http://urltomyfile"));
    var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myfile.txt", CreationCollisionOption.GenerateUniqueName);
    using (var fileStream = await file.OpenAsync(FileAccessMode.ReadWrite))
    IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
    while ((buffer = await stream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None)).Length > 0)
    await fileStream.WriteAsync(buffer);
    await fileStream.FlushAsync();
    how is your webservices offering the file?
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • Web service using jdev 10.1.3

    Hi all....
    i am trying to build a web service using oracle jdev 10.1.3.
    i have built a simple java class that return common type such as String, int, long and publish theses method as web service and it works successfully......
    but when i tried to build web service that return complex type
    i.e.
    //////////////// class that i need to create a web service from it ///////////////////////
    public calss webService {
    public Subscriber getSubscriber(){
    return new Subscriber();
    public int getID(){
    return 10;
    where Subscriber is a java object i have create.
    public class Subscriber implements Serializable {
    private String name;
    public String getName(){
    return "Name";
    when creating the web service, the getSubscriber method was not published but the getID is published.
    any idea of how to make a web service that return a complex type....... i n
    web service steps:
    http://www.orablogs.com/cmaxwell/archives/000629.html

    As per the 10.1.3 Preview Relase Notes :
    Working with OC4J 10.1.2 : By default, JDeveloper 10.1.3 works with OC4J 10.1.3. However due to bug 3989799 it cannotconnect to OC4J 10.1.2 in the same session. Testing a connection or expanding a connection will fail with an exception. Additionally, deployment will succeed, but JDeveloper will be unable to detect and report the port number needed to access any deployed web applications via HTTP. You can enable 10.1.2 support by uncommenting the line: # AddVMOption -Drmi.disablePropagation=true in the jdev.conf file (located in jdev\bin) by removing the initial '#' character and restarting JDeveloper. Note, however, that enabling this setting will prevent JDeveloper from connecting to OC4J 10.1.3 instances, including the OC4J installation provided with JDeveloper. Comment the line then restart to restore 10.1.3 connectivity.
    Hope this helps.. Sunil..

  • Passing table to web service - using javascript

    Hi All,
    I need to pass table structure to web service using data connection.
    I dont know how to accesss the request node and create table and pass data to it.
    Request you all to help me to achievev this functionality.
    A long needs to split of 50 characters each. Then create a new instance for request node table structure assign the values.
    All this needs to be done using CODE i.e javasript
    how to do this ???
    Regards,
    Aditya Deshpande

    HIi,
    Let me explain the scenario once more:
    Scenario:
    Pdf has two Text edit field and one button. Where the end user would enter the values.
    The PDF is integrated with Web service for Offline scneario.
    Field 1 is a notification number.
    Field 2 is description - unlimited entry into PDF.
    Button: is used to execute the web service.
    It is done using the blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417700)ID0394564950DB01118597046218481719End?blog=/pub/wlg/7588
    Field1 is mapped to corresponding field in web service by IMPORT/EXPORT bindings.
    Problem:
    Field 2 is a text field. But this data has to be passed to web service as table. The web service has a table structure.
    Hence the text in the Field 2 has to be split into 100 characters each and set into table rows.
    The Strucutre definition in the data connection is:
    - Item
            - TDFORMAT
            - TDLINE
    Since I need to split the text and load.I felt this needs to be done using code ( script ).
    I do NOT know how to do it using CODE. Please help ME!!!!!!!!
    If there any other way please let me know. I am also not sure which would be best way of doing it.
    PLEASE HELP ME!!!
    Regards,
    Aditya Deshpande.

  • Books of business - supported via web services

    Are books of business supported in R15 via web services interface? If we create a new Contact, Account or Opportunity, can we associate it to a specific book? I can't find any documentation on this subject.
    If not, what's the point of using this functionality? We have over 13,000 different zip code ranges in our territory structure in Oracle 11i CRM, and would like to be able to maintain some sort of parallel structure in OnDemand via web services integration.
    Are we stuck with creating Sales Team records for all object types? Seems very cumbersome to have to add a specific user to 100,000 different records, when we could simply assign them to a single book of business and accomplish the same thing.
    Thanks,
    Scott

    Scott, web services will not be supported for book of business in R15. However, I passing this information to our On Demand product marketing. Thanks for the feedback.

  • Books and resources teaching J2EE 5 (and creating web services using it)

    Hi!
    I'm starting a new job next week, developing a J2EE 5 system. I have a solid background in J2SE 1.4 and know most of the new syntactical and semantic stuff in J2SE 5.
    What I need is a good book teaching J2SE 5 to someone inexperienced with J2SE in general. There isn't a need for me to study J2SE 1.4 as we won't be using it. Also, we will develop some web services using the platform. As time is of the essence I'd prioritize learning about those within the platform, at first.
    I don't need to read the entire book in one week, of course. But I need something to study and also have as a reference by my side when programming.
    As the offerings in J2SE 5 books seems quite low, I need some advice from you, more experienced people. What book or web resource do you recommend? Thank you for your time reading this post!
    Best Regards,
    Kent

    Hello Kent!
    I have found "Enterprise JavaBeans 3.0" by by Richard Monson-Haefel and Bill Burke really interesting. If you have some knowledge about Java EE in general go for it it's really good one!

  • How could I synchronize databases via web services

    I have two web sites. The first has been build in jsp. The second has been build in php. Each of these sites has database mysql.
    I have managed to communicate these two web sites via web services.
    I would like someone to tell me how could I syncronize these two databases via web services. There is something specific procedure?
    Thanks in advance, sorry for my bad English

    If you can explain us what you actually looking for, then I can extend my help.As we are also using websites in jsp which is having DB connections.
    Cheers
    Rajesh R

  • Statemanagement Service API via web services

    All,
    I have been able to get the state property of a resource (i.e. "In Progress") via the KM web service, but have not been able to change the status to "Awaiting Approval" via a web service (SetProperty does not work as the "state" property is read-only).  There are several examples of Java code leveraging the State Management API either via a Repository Service, WD4J, etc., but non of them are via a web service (i.e. callable from ABAP).  Can someone please confirm whether or not the State Managment functionality is available via the KM Web Service API's and if so, which method?
    Just want to make sure I've exhausted this approach prior to having to embark on creating a Repository Servce.
    Thanks,
    Chad

    Hello,
    No idea of using a web service to get it done from ABAP.
    But you know any web service which changes the value of any KM Properties via Web Service.
    Regards
    BP

Maybe you are looking for

  • Using multiple Iphones on one computer

    My family has multiple Iphones and I was wondering if there is a way to have three seperate accounts on one computer? I don't want my apps or music to be synced on my son's or wife's phone. How do I do this? Help!

  • Message Type to Logical Systems

    Hi all, in SAP PI 7.1 I have a question for you. With transaction WE20 (into R/3 system) I find the logical system with each message type (inbound or inbound) My question is: Is there a transaction which is the contrary? That is,for a specific messag

  • Membership on more than one computer

    Can I use my membership for Creative Cloud on more than one computer. My company has purchased the membership, but I often take work home and I'd like to be able to download the same programs with my membership. Does the creative cloud allow me to do

  • Shortening Energy Saver Shut Down Time?

    We have a Keynote project where the presentation is on a Mac-Mini and it automatically starts and stops at set times using Energy Saver and Automator as part of a big display in a local Museum.  The presentation starts up great at its designated time

  • How to scale an nsapi app on Solaris SMP machines?

    A Solaris nsapi application does not scale well on multi-processor (SMP) machines due to serialized heap allocation. What are the options to overcome this in an nsapi application? We use SmartHeap from Microquill in our non-nsapi applications, but ha