Is it possible to call wcf webservice on adf mobile?

Hi all,
I tried to consume a wcf webservice method on adf mobile by using java api as seen as below code snippet.
I tried to run on classical adf generic application by creating webservice proxy. Then i could get response properly. But when i consume webservice method on adfmobile i get http 501 error response. I have tried using drag and drop into amx page and execute binding action, result is same.
What might be the reason?
brgds
    private boolean validateClient()
        List pnames = new ArrayList();
        List pvals = new ArrayList();
        List ptypes = new ArrayList();
        pnames.add("UserName");
        pvals.add("test");
        ptypes.add(String.class);
        pnames.add("Password");
        pvals.add("123");
        ptypes.add(String.class);
        pnames.add("DeviceID");
        pvals.add("123456");
        ptypes.add(String.class);
        GenericType result = null;
        try
            ClientDetail clientDetail = null;
            result = (GenericType)AdfmfJavaUtilities.invokeDataControlMethod("mlService", null, "ValidateClient", pnames, pvals, ptypes);
            for (int i = 0; i < result.getAttributeCount(); i++)
                // Get each individual GenericType instance that holds the attribute key-value pairs
                GenericType entityGenericType = (GenericType)result.getAttribute(i);
                clientDetail = (ClientDetail)GenericTypeBeanSerializationHelper.fromGenericType(ClientDetail.class, entityGenericType);
            if (clientDetail != null)
                if (clientDetail.getIsValidate().booleanValue())
                    return true;
                else
                    AdfmfContainerUtilities.invokeContainerJavaScriptFunction("com.accmee.menu", "navigator.notification.alert",
                                                                              new Object[] { "No access",
                                                                                             "No access: ", "Ok" });
            } else
                    AdfmfContainerUtilities.invokeContainerJavaScriptFunction("com.accmee.menu", "navigator.notification.alert",
                                                                              new Object[] { "No access",
                                                                                             "No access: ", "Ok" });
                return false;
        catch (AdfInvocationException aie)
            if (AdfInvocationException.CATEGORY_WEBSERVICE.compareTo(aie.getErrorCategory()) == 0)
                throw new AdfException("Error with the server. Please try later.", AdfException.ERROR);
            aie.printStackTrace();
            throw new AdfException("Uzak veri sağlayısı çağrılırken hata oluştu", AdfException.ERROR);
        return false;

No, as far as i know they are not secured service. What if they are secured, do i need to authenticate during consuming method in webservice proxy, dont i. But as i said before, i could consume and get response on webservice proxy in regular adf project.
I can consume methods of another webservice (i.e. http://www.html2xml.nl/Services/Calculator/Version1/Calculator.asmx?WSDL) also in all methods that presented.
No, i can not obtain access on another way to server, it is remote and out of my control.
Ok, i tried as you say.
Problem exists here too. May be an interopability problem on between adf platform and wcf service? What do you think Mr Shmeltzer?
http://i42.tinypic.com/ny8jtd.png
<WebServiceConnectionMessages> <debugExecuteFailure> Failed to execute a SAAJ interaction.
oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://tempuri.org/IAuthenticationService/ValidateClient'.
  at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1040)
  at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:826)
  at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
  at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
  at oracle.adf.model.connection.webservice.impl.SaajInteractionImpl.execute(SaajInteractionImpl.java:80)
  at oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider.execute(SOAPProvider.java:324)
  at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:277)
  at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:444)
  at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)
  at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1626)
  at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
  at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:507)
  at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
  at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
  at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:173)
  at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:656)
  at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1700)
  at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1674)
  at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4476)
  at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
  at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1634)
  at oracle.jbo.uicli.binding.MyIteratorBinding.initSourceRSI(JUAccessorIteratorDef.java:768)
  at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1700)
  at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1674)
  at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4476)
  at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
  at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1707)
  at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1826)
  at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2722)
  at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:130)
  at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:147)
  at oracle.adfinternal.view.faces.model.AdfELResolverProxy.isReadOnly(AdfELResolverProxy.java:78)
  at com.sun.faces.el.DemuxCompositeELResolver._isReadOnly(DemuxCompositeELResolver.java:293)
  at com.sun.faces.el.DemuxCompositeELResolver.isReadOnly(DemuxCompositeELResolver.java:322)
  at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
  at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
  at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:476)
  at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:406)
  at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:510)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
  at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
  at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
  at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
  at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
  at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
  at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1127)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
  at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
  at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
  at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
  at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
  at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:878)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1299)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:350)
  at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:315)
  at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
  at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
  at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
  at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
  at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
  at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
  at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
  at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1275)
  at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
  at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1677)
  at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
  at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:431)
  at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:233)
  at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
  at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
  at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
  at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
  at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1035)
  at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
  at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
  at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
  at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
  at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
  at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
  at java.security.AccessController.doPrivileged(Native Method)
  at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
  at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
  at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
  at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
  at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://tempuri.org/"><env:Header/><env:Body><ns1:ValidateClient/></env:Body></env:Envelope><SOAPProvider> <handleFault> The Web Service call generated a SOAP Fault : [s:Sender] The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://tempuri.org/IAuthenticationService/ValidateClient'.
<SOAPProvider> <handleFault> Verify if all the necessary parameter values are provided correctly and confirm to the schema constraints as defined in the WSDL
<SOAPProvider> <handleFault> If the service requires any SOAP headers, Verify that they have been correctly defined in the request
<SOAPProvider> <handleFault> The Web Service may have generated an exception in an attempt to handle the request, and has returned a SOAP fault to indicate that exception.
brgds

Similar Messages

  • Is it possible to call a webservice with just the url to its WSDL

    hi all
    can anyone tell me if it is possible to call a webservice with just the url to its WSDL file. must we create the proxy class for webservice client? thanks

    if you are in the context of a J2EE 1.4 container, you do not need to generate any stub, you can use either a dynamic proxy mechanism or dynamic invocation.
    check JWSDP tutorial.

  • Is it possible to call OAF Page from ADF Page

    Hi,
    Is it possible to open E-Business suite OAF page from ADF ??
    Our requirement as follows:
    In ADF page have the Order Number as hyper-link, if user click on hyper-link we have to pass Order_Id and open OAF page of Order Management in E-Business Suite. This OAF Page has has the corresponding Order Line for given Order_Id.
    If this is possible, how authentication/security works between ADF and OAF. Is the user which as logged into ADF will authenticate in OAF Page also ? How it works ??
    Thanks in advance.
    Thanks,
    SrikS

    Hi,
    Hope following useful
    http://blogs.oracle.com/stevenChan/entry/oa_framework_or_adf
    ADF Call from OAF

  • Facing issue in calling BPEL WebService from ADF page.

    Considering example:
    I have a Login Page (Login.jspx) with two input text, UserID & Password and one Login Button. On press of login Button It will call a BPEL service for validating the user and will return a String value with Success or Failure as value. Depending on this value I will decide inside Managed Bean response will go to which path.
    Took the reference of http://www.oracle.com/technology/obe/fusion_middleware/fusion/adf_wc/10_132_siebel_webcenter/siebel_webcenter.htm
    Using this I am able to call BPEL from my ADF page and able to show the result on different ADF page, but not able to take the BPEL returned value inside the managed bean.
    Please help me how to take BPEL output value inside my managed bean.

    Considering example:
    I have a Login Page (Login.jspx) with two input text, UserID & Password and one Login Button. On press of login Button It will call a BPEL service for validating the user and will return a String value with Success or Failure as value. Depending on this value I will decide inside Managed Bean response will go to which path.
    Took the reference of http://www.oracle.com/technology/obe/fusion_middleware/fusion/adf_wc/10_132_siebel_webcenter/siebel_webcenter.htm
    Using this I am able to call BPEL from my ADF page and able to show the result on different ADF page, but not able to take the BPEL returned value inside the managed bean.
    Please help me how to take BPEL output value inside my managed bean.

  • How to call the webservice using ADF Bindings

    Hi,
    I have created a Data control of the webservice using the WSDL Url. (Web Service is secured and so i have given the security configurations)
    Webservice works fine when i drag and drop that in to a jspx page.
    Now i want to call the service from a java class so that i can modify the data a bit. ( Tried with Webservice client and proxy and it is not working)
    Please provide me with some link or solution as how to achieve this.
    Thanks,
    Hari

    You need to have the method binding in the page that calls the Web service - otherwise you can't use the binding layer.
    If you don't want to use the binding layer you can have your managed bean just call out to the Web service directly - you can use JDeveloper's Web service proxy creation wizard to get the code for this.
    If you want to call the Web service through binding outside of the page you can also drag the method into a taskflow as a method call.

  • Calling stored procedure from ADF mobile client

    Hi,
    I have a stored procedure in the database (server side). I need to call that through my mobile client application and display the result accordingly on my .mcx page.
    Please let me know if there is a way of doing this.
    Thanks,
    Ansh

    If you just need to read the data then this should be enough:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadvvo.htm#sm0341
    If you also need to update through PL/SQL then read this:
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadveo.htm#sm0328
    If this is something that you are going to use a lot in your application you might want to use this framework:
    https://database-api-based-adf-bc.samplecode.oracle.com/

  • How to invoke a webservice from ADF Mobile application.

    Hi,
    I have developed a webservice from a PL/SQL Package in jdeveloper 11.1.1.5.0 by following below link
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm#p.
    it went on smooth till i reach " Deploying and Testing the Web Service " section. i could not find the Resources folder in which i have webservices.deploy file in my Project folder as shown in the example
    please let me know how to get this and i want that webservice to be deployed on to weblogic server other than OC4J.
    Kindly someone help me in this regards.
    Thanks in advance.

    Hi,
    Iam not that much familliar with using webmethods Integration server. But generally wen you are using a tool to Create webservices it will generate WSDL(Webservice Description file) and Client access classes. The Client access class contains the code for accessing the webservice. You can develop Clients by importing this class. The other way is you can use the WSDL to connect to the Webservice. WSDL file includes the End point URL (the location where to connect to access the webservice). By connecting to this URL you can access the webservice.
    Few sites which help you in getting more info on Webservices are:
    http://www.w3.org/2002/ws/
    http://www-106.ibm.com/developerworks/webservices/
    http://java.sun.com/webservices/
    You can mail me at [email protected]
    Regards
    Mahen

  • Is it possible to call a SOAP webservice using HTTP POST adapter

    Hello Experts,
    Is it possible to call a webservice using a HTTP adapter with POST method? If yes, how?
    Regards,
    Diptee

    No this will not work since you have additional SOAP information (i.e. SOAP envelope, security information) in addition to the payload. If you need a simple HTTP-Post for example, then you don't need SOAP, you can use the more simple http protocol without the additional features of SOAP.
    Also refer to this link for differences: Difference b/w SOAP and HTTP

  • Calling a webservice(JAX-RPC) from non java client ?

    Hi,
    I read JAX-RPC is used for accessing webservices by calling the webservice methods from a java-based client.
    Is it possible to call the Webservice methods(writeen using jax-rpc) from a non-java client,who sends his request in the form of SOAP based calls?
    If JAX-RPC is not the correct one to call a RPC from a non-java client,In what way i can do this?
    Can anyone please clarify my doubt..,
    Thanks in Advance
    Rao.,

    Hi Arun,
    Can i write a my client program using cgi scripts?
    In the JAX-RPC docs it was said that i can invoke my Webservices through my Service endpoints or using WSDL location?
    If iam using a Non-java Client,it will be easier(I think) to use the WSDL file to call the Web-Service(deployed using JAX-RPC).But,the Client should be aware of that WSDL file.
    I have to develop a small Application using webServices(must use XML,SOAP technologies).The user will pass some Parameters as request and the Response should be an XML(SOAP message) message.User should be able to request via browser.(http://localhost:8080/)
    Can you please suggest me which technology is correct to use,so that i can use the XML,SOAP in it.
    Please let me know...,
    thank you once again..,
    Regards
    Rao.,

  • Is it possible to call Webservice from VB 6.0?

    Is it possible to call Webservice from VB 6.0?
    Regards,
    Krishanu ray

    Hi
    Please check following links.
    Calling Web Services from Visual Basic 6, the Easy Way
    SAP PI integration with VB 6.0
    Thanks,
    Dipak Patil

  • Is possible to make webservice that call another webservice??

    i already make 1 webservices(a) project and also make a class file that invoke another webservice(b)... when i test with SOAPUI to invoke my webservice(a), it failed. but when i make a main class and run as an application (standalone), everything is going good.
    is possible to make a webservices n invoke another webservices??????? if yes, can u give me an example..???

    yes its possible. I have written a web service that is part of our system that calls a third party system and passing credentials across to amalgamate data from 2 distinctly separate systems. A call is made to my webservice and in the code for that service I invoke a method on a set of stubs built against a third party wsdl.
    Similarly for smart card authentication users first call my webservice, but as I am not responsible for the smartcard validation itself I call another departments webservice, this time its a message based service and not RPC but either way I still build a SOAP message and then send it to a service which then does the smartcard validation for me.
    They are both working examples of a web service calling another web service.

  • Calling WCF web service from BPEL

    We are getting ‘oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://<host>:<port>/services/<servicename>.svc" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 400 Bad Request’ error while calling a WCF web service from BPEL.
    1.     Is it possible to call a WCF webservice from BPEL.
    2.     The WCF service is having ‘BasicHttpBinding’  and ‘<http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http" />’
    3.     Do we need to configure the SOA WS Policy in the composite xml? If yes what properties have to be set?
    Thanks!
    Sandeep

    Anyone has insight on this? Is it possible to call a WCF service with NTLM authentication from SOA.
    Thanks!
    Sandeep

  • Best practice for C# WCF Webservice To Be Consumed By Many SAP Clients

    Hi Experts,
    I am making a web service for an online payment site that will push payments made to our customers SAP systems.  I am reading through the documentation how how to get sap to take in the wsdl and that all looks pretty straight forward.  While I am waiting for the SAP trial to install can anyone give me some pointers to get me started in the right direction for a web service that can be consumed by possibly different versions and definitely different instances of SAP at different companies.
    I am looking to do something similar to what can be down with the Quick books web connector although I realize SAP is a much more complex piece to work with.
    I am a very experienced .net programmer and really just need some high level directions from anyone who has seen something similar to what I am building.
    Thanks!
    Jonathan
    Edited by: JonRanes on Nov 11, 2009 3:08 AM

    Ya as I was typing my message I realized I probably wasn't going to need the .net connector since I want a very generic service that basically just hands off the payment details to SAP.
    As for what is going to consume the webservice ideally it would be independent of the type of SAP being used since potentially serveral different SAP installations would be able to access the service.
    For the first version I am making the service be consumed by SAP Netweaver 7 Trial version.  My company has a few clients using SAP lined up already to use the service once it is working but I don't know yet what version of SAP they each run.
    If that is not possible I will either have to make a separate webservice for each type of SAP or else go another route and perhaps send the data as xml to SAP and let it import it on its own.
    Right now I am playing around with the SOA manager, is that where the SAP PI is or am I on the wrong track.
    I'll keep posting to this thread as I go along so someone in the future doing something similar can benefit.
    I am trying to get the example at /people/wolfgang.bauer2/blog/2009/07/08/call-wcf-service-net-from-sap-with-usernametoken-and-ssl "Call WCF Service (.NET) from SAP with UsernameToken and SSL" going as a first step to understanding things.
    Edited by: JonRanes on Nov 11, 2009 10:15 PM

  • Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format

    Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format. Siebel wants to send the data as xml to BI but not sure of the BI capabilities on giving WSDL embedded with XSD (input is a hierarchical)

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • Calling a webservice from within Bex Web Application Designer

    Hi
    I have a web-template built with BEx web application designer which also contains textboxes. This text should be stored by calling a webservice (standard BI-documents are not an option).
    Can anyone tell me how I could call a webservice from within the BEx web template to store the text contained in the textbox? The webservice-call should include some of the filter-varialbes of the web application.
    Is this only possible by the use of a JavaScript WebItem? If so - does anyone have an example of such a JavaScript.
    Thanks a lot in advance.
    Kind regards.
    Christoph

    Thanks for your response. The BSP page would work out fine if I only needed to save the data.
    But the next time I call the webtemplate, the textarea should be filled by another webservice call with the stored text (so the text can be modified und saved again). This will not be possible by calling a BSP page.
    Do yoiu have any suggestions how to integrate the text (return value from the webservice call) into the textbox in the webtemplate?
    Kind regards.
    Christoph

Maybe you are looking for

  • Ichat video distorted

    When I use ICHAT the face of my 'buddy' distorts (looks like blurry strips that move across the face and then becomes clear only to become blurry again) It looks like her face is scarred however the background is clear (walls of the room etc). When I

  • Vacation Message Only Working in Parts

    Hi, I am trying to get a vacation auto-repsonder filter working on the new 10.7.1 server webmail.  I've setup two actions.  One sends a copy of the recived email to another account, the second action replys to the sender with an out of office message

  • I am having 2 problems with my Z1 phone

    Firstly, everyone who calls me (or whom I call) on my cell complains about getting an annoying echo on their end.  So I'm not being bothered by an echo, but everyone else is.  My husband is threatening to never call me or anwer my calls anymore.  Any

  • WRAP JTable Column Name into 2 lines

    I have a JTable with a long column Name. Can I wrap the Column Name into multiple (2) lines.

  • NoAccessRuntimeException when trying to register a custom MBean?

    Using 7.0 I sometimes get a NoAccessRuntimeException when my EJB tries to register with the local MBeanServer, anyone else have this problem? I register like this: Environment env = new Environment(); env.setSecurityPrincipal("system"); env.setSecuri