HTTP Adaptor for RESTful service calls -- Proxy Settings?

Hi Guys,
I have successfully configured an HTTP Adaptor on my Access Server, imported a REST service function, set up DTDs etc etc all ok.
Now, when it comes to calling this function in a data-flow, the run of the job just times out while calling the function. I have tried this via another route and this time-out occured their too until I entered my proxy server login details.
I am assuming I need to do this for the HTTP Adaptor but there is no parameter/setting around for me to do this.
Could you please tell me how I can get my proxy settings in place for the HTTP call? If the solution involves the "axis2" file, please could you give me clear/step-by-step instructions on how to use this and deploy it as that area is all new to me.
Thanks very much for any help.
Flip.

you can set the proxy server details in the Additional JVM Arguments of the HTTP Adapter Configuration using the following syntax. Add this to existing memory setting args
-Dhttp.proxyHost=<enter proxyserver name> -Dhttp.proxyPort=<enter proxy port>
have no idea how to specify the credentials, not sure if that can be done using Java arguments, if you are on windows try running the Jobservice under named user, and see if it works

Similar Messages

  • ADF Mobile: JSON support for REST services?

    Will the JSON format be supported for REST services using ADF Mobile? Is there a workaround for now that can be used?

    For now you can write a Java class to communicate with your JSON service, and expose it as a data control.

  • BizTalk published WCF service throwing HTTP 404 error using ISA reverse proxy settings

    I have published my schemas as a WCF service from BizTalk 2010 "Publish WCF Service" wizard. I used Wcf-basicHTTP adapter in receive port. I am able to run the service successfully on localhost IIS and I tested my biztalk solution by sending request using SOAP UI and got response successfully.... Now: Actually, I need to give this service endpoint to my vendor who will send request from outside my company's network i.e. internet. In my infrastrucrue BizTalk is behind the firewall so, we setup a REVERSE proxy server at DMZ layer and it is configured properly. I have tested a simple WCF service by replacing the localhost with Proxy server configured address <DNSName> and it worked absolutely fine. But when I change localhost in my BizTalk schema based published WCF service it is not working and I am getting following error. Really strugling to get it resolved. I wasted a whole 3 days....very upset. Please help me out by giving the detailed step solution. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /BizTalkServiceInstance/MyService.svc I am surprized why other c# code based WCF services are working fine with reverse proxy settings. Server Error in '/' Application. The resource cannot be found.Is there any special things to consider Biztalk exposed wcf servcie over ssl in IIS cluster with ISA

    Hi Singam :)
    First I would start by browsing any other files (files other than the one from WCF) just to ensure that the reverse-proxy’s redirection rules are set correctly. If you get the same 404 error when you try to access other service/files “through reverse-proxy”,
    then it’s an issue in the redirection rule(s) in reverse-proxy.
    If others are fine i.e. no issue in reverse-proxy setup as such, then try the following for WCF service's web.config file. I have seen this issue in WCF service (not just BizTalk’s artifacts exposed as service in reverse-proxy). Add serviceHostingEnvironment
    config as show with in serviceModel section.
    <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • Getting error while writing JUnit test case for RestFul Services

    Hi All,
    I have written Restful services in Netbean 6.8.
    It's running well...no issues.
    {color:#0000ff}While writing JUnit test cases for them, I am getting following error:
    {color}{color:#993300}Testcase: testGetAuthenticated(com.ct.services.LoginServicesTest): Caused an ERROR
    Implementing class{color}
    java.lang.IncompatibleClassChangeError: Implementing class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:160)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at com.ct.services.LoginServices.getAuthenticated(LoginServices.java:205)
    at com.ct.services.LoginServicesTest.testGetAuthenticated(LoginServicesTest.java:84)
    Test com.ct.services.LoginServicesTest FAILED
    F:\NetbeanProjectsWorkspace\DemoProject\nbproject\build-impl.xml:972: Some tests failed; see details above.
    BUILD FAILED (total time: 11 seconds)
    {color:#0000ff}Strange thing is that when I am commenting below lines and its related calls:
    {color}
    {color:#ff0000}EntityManagerFactory mEmf = Persistence.createEntityManagerFactory("AnyName");
    EntityManager mEm = mEmf.createEntityManager();
    {color}
    {color:#0000ff}from my code, JUnit test cases are working fine.
    {color}Anybody having any idea about this ?
    Thanks
    Avi
    Edited by: Avi007 on Aug 28, 2010 5:17 AM

    Hi All,
    [http://stackoverflow.com/questions/2778295/test-driven-development-problem]
    Please refer the above link for the solution
    Thanks
    Avi
    Edited by: Avi007 on Aug 30, 2010 12:33 AM

  • Form digest for REST service

    Hi <o:p></o:p>
    I have created a rest service to update list items in share point 2013. This needs to be consumed by a java application.I understand that any
    POST request should have form digest in the header<o:p></o:p>
    I tried to test this with a C# console application.I used /_api/contextinfo with a POST request with proper credentials,but i get 401unauthorised
    error.<o:p></o:p>
    How to get form digest by passing credentials from a java application.<o:p></o:p>

    See if this helps:
    http://msdn.microsoft.com/en-us/library/jj164022(office.15).aspx#WritingData
    "You can retrieve this value by making a POST request with an empty body to
    http://<site url>/_api/contextinfo"
    Then extract the "d:FormDigestValue" node in the XML that was returned.
    Also see here: (these aren't Java examples, but may give you an idea.)
    http://blogs.msdn.com/b/nadeemis/archive/2012/10/23/tip-handling-http-403-forbidden-when-querying-the-search-rest-service-using-the-postquery-method.aspx
    http://www.c-sharpcorner.com/UploadFile/d2ee01/how-to-modify-sharepoint-2013-objects-using-rest-calls/
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Issue with 'SAVE AS' RESTful service call in 4.1 SP5 ?

    Hello Everyone,
    I'm facing an issue when trying to save a webi document into another folder using 'SAVE AS' RESTful call, it's giving 500 Internal server error  (through AZOT & RESTClient)
    Following are details:
    We are on to BusinessObjects version 4.1 SP5. In the AZOT workflow, I have created a new document and in the next call I'm trying to save this newly created document into another folder, then this is error is observed.
    RESTful service URL:- [POST] : /documents/{docId}
    Request Body:
                             <document>
                                <name>Testing SAVE AS</name>
                                <folderId>219060</folderId>
                            </document>
    Response:
    Can anyone help me with this ?
    Thanks,
    Ram

    Hello,
    Thanks for your prompt replies.
    @Saritha:
    1. On new document Save call is giving message as "NOT Modified", as i didn't perform any actions.So Yes, I'm able to perform SAVE.
    2. Yes, I have performed other operations like creating a Report.
    @Eric: 3. Yes, the folder which I'm trying to save is writable for the user.
    My Observation: When I'm trying to 'SAVE AS' on new document its giving 500 error as I said earlier.
    1. But, after creating new document, I created a new Report for that document, then 'SAVE AS' working. That means after performing some action/modifying the document 'SAVE AS'  is working for me.
    2. Same issue(500 error) observed when trying to perform 'SAVE AS' call on the EXISTING document as well (which is create in BI Launchpad, refreshing and working fine).
    So, is it mandatory to perform any action (which brings the document to Modify mode [i guess]) before this 'SAVE AS' call ?
    Thanks,
    Ram

  • REST Service call in Studio

    Hi,
    I am trying to consume a web service call (from hybris) in a script file in Studio. I have created the communication arrangement, scenario and even tested the arrangement's connection ping and it was successful. My code as shown below:
    var URLParameter : collectionof NameAndValue;
    var headerParam : collectionof NameAndValue; //
    var URLParameterEntry : NameAndValue;
    //XX.XXX.XX.XXX:9001/ws410/rest/catalogs/powertoolsProductCatalog/catalogversions/Online/products/2116275
    URLParameterEntry.Name = "products";
    URLParameterEntry.Value = "2116275";
    //URLParameter.Add(URLParameterEntry);
    var httpResource = "powertoolsProductCatalog/catalogversions/Online/products/";
    httpResource = httpResource + "2116275";
    var httpMethod = "PUT";
    var body = "<product code=\"2116275\"><catalogVersion version=\"Online\"><catalog id=\"powertoolsProductCatalog\"/></catalogVersion><name>Prashanth</name></product>";
    var httpformat = "text/xml; charset=UTF-8";
    var result =    WebServiceUtilities.ExecuteRESTService("CloudhybrisProdUpdate","CloudhybrisProdupdate",httpMethod,httpResource,URLParameter,headerParam,httpformat,body);
    var position = result.Content;
    var res = result.RequestURL;
    var resp = result.HeaderParameters;
    in this code, instead of PUT method, if I pass "GET", I am getting the response. However, for "PUT" the result variable is completely blank. Please can you help?

    Hi,
    Please refer the post below may be this will helpful to you:
    Using function WebServiceUtilities.ExecuteRESTService()
    OAuth Authorization for REST webservice
    Using POST method in REST mashup webservice
    Regards,
    Mithun

  • Registry keys for the per-machine proxy settings

    Hello,
    I'm writing a C++ software that's supposed to set proxy settings for all users. I succeeded at disabling the per-user-proxy-settings through the COM Group Policy objects but I cannot find where to define the machine-wide proxy settings. The most
    logical answer was to modify the values under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings but IE seems to be ignoring them. Any ideas as how to set the proxy settings in this case ? 

    Hi,
    To configure the proxy server settings on a client computer, create the following .reg file to populate the registry with the proxy server information:
    Regedit4
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "MigrateProxy"=dword:00000001
    "ProxyEnable"=dword:00000001
    "ProxyHttp1.1"=dword:00000000
    "ProxyServer"="http://ProxyServername:80"
    "ProxyOverride"="<local>"
    In this file, ProxyServer name is the name of your proxy server.
    Thanks!
    Andy Altmann
    TechNet Community Support

  • Unexpected charge for Comcast service call

    I had the same problem.  The service was down for 3 weeks and the techs kept hanging off the phone when they couldn't resolve the problem.  I finally had to go in person and they found out the modem was bad, but after that, two more weeks until we had the Internet back.

    I signed up for comcast internet back in April 2013 and had issues with it up until Feb 2014. I initially started out with a bill of 29.95 a month, then aftert 6 months it went to 44.95, and then I get a call that it is going up to 69.95 6 months after it went to 44.95. Well I was approached by a rep in Best Buy about Comcast services. He was able to get me the triple play package (phone, internet, and cable) for 79.95 a month. I jumped on this deal thinking the internet issues may be resolved when I upgraded. Well turns out I need a special modem for the phone and only one digital set top box is included in the price. So I ended up with another 17.95 in equipment fees added to my bill. The internet became even worse after upgrading. The new modem they supplied me would release and renew my IP address every 30 mins. This made doing any kind of online gaming impossible as I would drop my connection for 2 mins every 30 mins. I ended up having to take the modem back and have them swap it for a new one. The new one droped the internet connection randomly throughout the day at 8 past the hour. I called customer support and after a few hours of bouncing around from person to person I got someone that had me go in and change the default settings of the modem to something else to resolve the issue. At this point I am happy because I have a continuous internet connection. After a few hours of playing online I am randomly hit with intermittent lag spikes. I use speedtest.net to check my connection and it is erradict, sometimes it is over 38mbps and others less than 1 mbps. I pay for 50 mbps. I call to have this issue resolved and they try everything they can think of over the phone and finally say they will have to send out a tech to trouble shoot the problem further. I schedule the appointment and the tech comes out, he was not dressed in any kind of uniform and did not have identification on him that was visible. I would not have known it was a comcast tech if the truck didnt show comcast and xfinity on the sides. He comes in and takes a look at the coaxial comming out of the back of my modem and runs a check on it. He says the coaxial cable is bad and replaces it with another piece of coaxial cable I had lying around. He says that fixed the issue and leaves. He did not even check anything else outside. Just replaces a coaxial cable that comcast sent me in a self install kit and says its bad. Needless to say my issue was not resolved. I called and again they scheduled another visit for a tech to come out. The tech shows up and spends around 30 mins checking everything outside only to find no problems. He makes a 55 ft ethernet cable and has me connect my computer directly to the modem. Hey my problem is solved. I have a stable internet connection. What good is an all in one cable modem if it does not work. I ended up having to move my room and computer around so that the computer was right next to the cable modem ( I could have left the 55 ft ethernet cable running around the room but did not feel like looking at it). I get charged 39.95 service call for the visit, when the tech did not fix the problem he only found a work around. The wireless connections of tables, phones, or other computers is very erradict. I have a strong internet connection on 1 and only 1 of my computers. I called and complained about the 39.95 charge and they refunded the 39.95 charge but not the 1.91 in taxes that was charged as a result of the 39.95 charge. What gives?

  • Communication Warnings for Web Service Calls

    The Flex 3 documentation states:
    "SWF files that are assigned to the local-with-networking
    sandbox forfeit their local file access. In return, the SWF files
    are allowed to access data from the network. However, a
    local-with-networking SWF file is still not allowed to read any
    network-derived data unless permissions are present for that
    action, through a cross-domain policy file or a call to the
    Security.allowDomain() method."
    However, when we embed an SWF with a sandbox type of
    local-with-network in a PDF file, when that PDF file is read off
    disk we get a large volume of warning dialogues -- one for each web
    service call that the Flash makes. Since the SWF is
    local-with-networking, we assumed that these communications were
    allowed but the prompts create a very poor user experience. We have
    an appropriate crossdomain file set up. What else do we need to do
    to avoid these prompts?
    Terry. ([email protected])

    Folks, any thoughts?
    I appreciate your help.
    praveen

  • System processes needed for web service call

    Hi experts,
    one theoretical question: how about the system processes needed for a web service call? If have created a test service that does nothing except to wait for 10 seconds. When I call it from outside, no extra process is busy (as seen in trx SM50). Is it possible that one web service call (from outside -> SAP machine) does not need a DIA or BTC process on SAP machine?
    Thanks in advance for your help!
    Kind regards, Matthias

    Hi,
    Of course a web service needs a dialog workprocess to run.
    But if you used the "wait" abap instruction, it may be that this instruction frees the work process ?
    Regards,
    Olivier

  • Object store for web service call?

    Hi all,
    If I can't do synchronous web service calls I remember
    reading something about an object that you can send with the call
    containing attribute you set and it will be included in the
    callback. I can use this to store some info I need for the call
    back on the client side.
    I cant find info about this object now despite searching high
    and low. If this object exists what is it called (callbackStore?)
    thanks
    Mark

    Hi Mike,
    Good news!!! I figured out what's happening.
    The codes that I posted were related to the Process. They are process status codes.
    What you are looking for is related to the Job. So here are the job status codes.
    JOB_STATUS_UNKNOWN = 0 (default)
    JOB_STATUS_QUEUED = 1
    JOB_STATUS_RUNNING=2
    JOB_STATUS_COMPLETED=3
    JOB_STATUS_FAILED=4
    JOB_STATUS_TERMINATED=5
    JOB_STATUS_SUSPENDED=6
    JOB_STATUS_COMPLETE_REQUESTED=7
    JOB_STATUS_TERMINATE_REQUESTED=8
    JOB_STATUS_SUSPEND_REQUESTED=9
    JOB_STATUS_RESUME_REQUESTED=10
    cheers,
    Parth

  • StatusCode values for web service call?

    I am trying to check the status of a long-lived service using a web service call from a .NET application. I therefore don't have access to the java libraries where the StatusCode constants (enumerations?) are defined. Can someone either tell me a .NET library I can reference in order to use the constant values, or at least tell me what the integer values are, and I can make my own constants.
    In case it wasn't cIear, I am using webservice_invokeStatus( jobId ).
    Thanks,
    Mike Gates

    Hi Mike,
    Good news!!! I figured out what's happening.
    The codes that I posted were related to the Process. They are process status codes.
    What you are looking for is related to the Job. So here are the job status codes.
    JOB_STATUS_UNKNOWN = 0 (default)
    JOB_STATUS_QUEUED = 1
    JOB_STATUS_RUNNING=2
    JOB_STATUS_COMPLETED=3
    JOB_STATUS_FAILED=4
    JOB_STATUS_TERMINATED=5
    JOB_STATUS_SUSPENDED=6
    JOB_STATUS_COMPLETE_REQUESTED=7
    JOB_STATUS_TERMINATE_REQUESTED=8
    JOB_STATUS_SUSPEND_REQUESTED=9
    JOB_STATUS_RESUME_REQUESTED=10
    cheers,
    Parth

  • Service Call and Invoice For That Service Call

    What field relates an invoice created within the service call form under expenses, to the originating service call number. I know it is somewhere but I cannot find it.  The invoice needs to know the originating service calll number.
    Thanks, David

    Yes the field is there SCL4 but the problem is timing. It is posted too late to be meaningful.
    While in an invoice,  I need to capture the service call ID so that I can assign the service call id to a field in the invoice, and also
    import the remarks from the service call to the remarks on the invoice.
    The way B1 words is that SCL4 gets populated way too late in the game. The SCL4 table gets populated only after Updating  the service call itself. This is after the user has created and exited the invoice.
    Any other suggestions for dynamically capturnig the invoice id during invoice creation under a service call?
    Thanks, David

Maybe you are looking for

  • Problem with HP C4380 wireless printer and MacBook

    Hi - Bought a MacBook (first Mac in many, many years) and then a C4380 so I could have wireless printing. Geek Squad installed printer but it never worked wireless again after they left. Had them back, switched it to static IP, now they are gone and

  • Re: Portal Admin pages do not render properly

    Anant, Please make sure that "PortalSystemAdministrator" role exists (using WebLogic console). thanks! manish "Anant Kadiyala" <[email protected]> wrote: > Whenever I try to login to the Portal Admin pages, it throws the following errors. Interesting

  • My application photo is block

    when i use my camera of my iPhone this one cant open , is block . i cant do picture the screen stay closed ( black )

  • E-portfolios

    What are the best tools to use for creating e-portfolios?

  • Spotlight filtering using kind:

    If I want to only access pdf files in a spotlight search I can type <kind:pdf searchname> Does anybody know what the kind:<?????> is for word and excel?