Issue in calling the web service

Hi,
  I have created one web service, they call this from .Net system. Here I am using one function module
  "QC01_BATCH_VALUES_READ" to get the Customer status of the material. Here the issue is, when I run this web service in SAP, it is returning the data for this field, But when it ran through .Net, it is not returning any value for this field. I do not understand why this function module is behaving like this.
If anybody faced the same kind of issue please help me.
Thanks,
ravi

Ravi,
One of the possible reasons may be while calling webservice from .net the I_VAL_MATNR have MATNR domain have a conversion rountines. so while calling from .net you may need to pad the MATNR
with 0.
I_VAL_CHARGE don't have any conversion routines, think this will not be a problem

Similar Messages

  • Issue in calling a web service from Apps instance

    Hi ,
    I have created a procedure to call a function which gives response by calling a web service URL.
    Requirement is,
    While calling this procedure , the response data has been stored in the table. This is working fine in the back end.
    Now , i call the same through concurrenet program . It is also getting stored but partially.. The exact data is missing ..other default tags are displayed in the column.
    PROCEUDRE:
    create or replace procedure cv_test_GetCityWeather_PROC(cityName in varchar2, country in varchar2 ,errbuf OUT nocopy VARCHAR2,retcode OUT nocopy VARCHAR2) is
    xmlResponse XmlType;
    begin
    xmlResponse := CV_Test_GetCityWeather(cityName,country);
    insert into xx_cv_test values(xmlResponse);
    fnd_file.put_line(fnd_file.log, 'hghghgh');
    EXCEPTION
    WHEN OTHERS THEN
    retcode := 'insert failed';
    fnd_file.put_line(fnd_file.log, 'response of the request is ' );
    --dbms_output.put_line('xmlResponse ' ||xmlResponse);
    end cv_test_getCityweather_proc;
    FUNCTION
    /*<TOAD_FILE_CHUNK>*/
    CREATE OR REPLACE function APPS.CV_Test_GetCityWeather( cityName varchar2, country varchar2 ) return XmlType is
    --// URL to call
    SOAP_URL constant varchar2(1000) := 'http://www.webservicex.net/globalweather.asmx';
    --// SOAP envelope template, containing $ substitution variables
    SOAP_ENVELOPE constant varchar2(32767) :=
    '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET">
    <soapenv:Header/>
    <soapenv:Body>
    <web:GetWeather>
    <web:CityName>$CITY</web:CityName>
    <web:CountryName>$COUNTRY</web:CountryName>
    </web:GetWeather>
    </soapenv:Body>
    </soapenv:Envelope>';
    --// we'll identify ourselves using an IE9/Windows7 generic browser signature
    C_USER_AGENT constant varchar2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
    --// these variables need to be set if web access
    --// is via a proxy server
    proxyServer varchar2(20) default null;
    proxyUser varchar2(20) default null;
    proxyPass varchar2(20) default null;
    --// our local variables
    soapEnvelope varchar2(32767);
    proxyURL varchar2(4000);
    request utl_http.req;
    response utl_http.resp;
    buffer varchar2(32767);
    soapResponse clob;
    xmlResponse XmlType;
    eof boolean;
    begin
    --// create the SOAP envelope
    soapEnvelope := replace( SOAP_ENVELOPE, '$CITY', cityName );
    soapEnvelope := replace( soapEnvelope, '$COUNTRY', country );
    --// our "browser" settings
    utl_http.set_response_error_check( true );
    utl_http.set_detailed_excp_support( true );
    utl_http.set_cookie_support( true );
    utl_http.set_transfer_timeout( 10 );
    utl_http.set_follow_redirect( 3 );
    utl_http.set_persistent_conn_support( true );
    --// configure for web proxy access if applicable
    if proxyServer is not null then
    proxyURL := 'http://'||proxyServer;
    if (proxyUser is not null) and (proxyPass is not null) then
    proxyURL := Replace( proxyURL, 'http://', 'http://'||proxyUser||':'||proxyPass||'@' );
    end if;
    utl_http.set_proxy( proxyURL, null );
    end if;
    --// make the POST call to the web service
    request := utl_http.begin_request( SOAP_URL, 'POST', utl_http.HTTP_VERSION_1_1 );
    utl_http.set_header( request, 'User-Agent', C_USER_AGENT );
    utl_http.set_header( request, 'Content-Type', 'text/xml; charset=utf-8' );
    utl_http.set_header( request, 'Content-Length', length(soapEnvelope) );
    utl_http.set_header( request, 'SoapAction', 'http://www.webserviceX.NET/GetWeather' );
    utl_http.write_text( request, soapEnvelope );
    --// read the web service HTTP response
    response := utl_http.get_response( request );
    dbms_lob.CreateTemporary( soapResponse, true );
    eof := false;
    loop
    exit when eof;
    begin
    utl_http.read_line( response, buffer, true );
    if length(buffer) > 0 then
    dbms_lob.WriteAppend(
    soapResponse,
    length(buffer),
    buffer
    end if;
    exception when utl_http.END_OF_BODY then
    eof := true;
    end;
    end loop;
    utl_http.end_response( response );
    --// as the SOAP responds with XML, we convert
    --// the response to XML
    xmlResponse := XmlType( soapResponse );
    --dbms_lob.FreeTemporary( soapResponse );
    --insert into xx_cv_test values(xmlResponse);
    return( xmlResponse );
    exception when OTHERS then
    if soapResponse is not null then
    dbms_lob.FreeTemporary( soapResponse );
    end if;
    raise;
    end;
    EXECUTION:
    select cv_test_GetCityWeather( 'Cape Town', 'South Africa' ) from dual
    Result is,
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <GetWeatherResponse xmlns="http://www.webserviceX.NET">
    <GetWeatherResult><?xml version="1.0" encoding="utf-16"?><CurrentWeather> <Location>Cape Town, Cape Town International Airport, South Africa (FACT) 33-59S 018-36E 0M</Location> <Time>May 28, 2013 - 03:00 AM EDT / 2013.05.28 0700 UTC</Time> <Wind> from the NNW (330 degrees) at 7 MPH (6 KT) (direction variable):0</Wind> <Visibility> 4 mile(s):0</Visibility> <SkyConditions> mostly cloudy</SkyConditions> <Temperature> 57 F (14 C)</Temperature> <DewPoint> 53 F (12 C)</DewPoint> <RelativeHumidity> 87%</RelativeHumidity> <Pressure> 30.03 in. Hg (1017 hPa)</Pressure> <Status>Success</Status></CurrentWeather></GetWeatherResult>
    </GetWeatherResponse>
    </soap:Body>
    </soap:Envelope>
    While running Concurrent Program, by providing PARAMETERS : Cape Town, South Africa,
    the result is ,
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <GetWeatherResponse xmlns="http://www.webserviceX.NET">
    <GetWeatherResult>Data Not Found</GetWeatherResult>
    </GetWeatherResponse>
    </soap:Body>
    </soap:Envelope>
    Why the outputs are different for the same procedure..
    Anybody , Please help me to fix this issue.
    Thanks
    Winsky

    duplicate post
    Please see
    Calling webservice from PLSQL
    Please confirm are you the one who post the above thread
    ;) AppsMAsti :)
    sharing is Caring

  • Getting SOAPFaultException while Calling the web service

    Hi All,
    I am using jdev 11g 1.5. I am calling OID process , for which i have created web service proxy. On command button, i hv calling Action Listener and inside that method,i am fetching some data with three view object and setting that value to ODI Webservice class.Then, after that I am calling main proxy method to call the ODI Process through Web service .
    For the one user, it is working fine. Take all the value and invoking the ODI Process Web service but If we access the same thing for two users at a times from different system or browser then the first user was being processed and the second request was not processed and resulted in error.
    javax.xml.ws.soap.SOAPFaultException: A message was added that is not valid. However, the operation context was
    complete.
            at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
            at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
            at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
            at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
            at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
            at $Proxy272.invokeScenario(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
            at $Proxy270.invokeScenario(Unknown Source)
            at com.test.aaa.CallToODI.invokeODIProcess1_dev(CallToODI.java:5019)
            at com.test.aaa.CallToODI.invokeODIProcess1(CallToODI.java:4652)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(Unknown Source)
            at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke
    (MethodExpressionMethodBinding.java:53)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding
    (UIXComponentBase.java:1256)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run
    (ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase
    (ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast
    (ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run
    (ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase
    (ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast
    (ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:788)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:306)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            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:205)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter
    (TrinidadFilterImpl.java:446)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter
    (TrinidadFilterImpl.java:446)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            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:111)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
            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:136)
            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:3723)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
    (WebAppServletContext.java:3689)
            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:2285)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2184)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Any one please help me on this.
    Thanks
    ruzz
    Edited by: ruzz on Aug 17, 2012 9:07 AM
    Edited by: ruzz on Aug 19, 2012 10:41 PM

    thanks for ur reply...
    yes. i have checked that line.
    See Frank, what is happening, If i have opened the Url in two browser and submitting the button to give the call to ODI process that is done by the web service proxy internally. Then there should be two request and it is taking the two request. But what is happening is that for the first request,it's collect the data and give the call to ODI process and for the second request , it's collect the data but calling to ODI process time it give the error. i am not able to get why this is happening.Same code for the first request, it is working and for the second request, it gv the exception.
    Can u please help me on this.
    thanks
    Ruzz
    Edited by: ruzz on Aug 20, 2012 9:25 PM

  • Altova for calling the web services

    Hi,
    I am trying the Web service to file scenario.
    When I used the proxy to call the Webservice it is working fine but when i use altova for the same it is throwing an error "500"+some msg when i press ok it says cannot send the soap request.
    Is it problem with altovaa?
    The path for defining the webservice given is
    "http://pitest.monet.local:50100/XISOAPAdapter/MessageServlet?channel=KCRS_3RDP_D:SOAP_IN_PublishLeaveStatus"
    Channel is:KCRS_3RDP_D
    Service is :SOAP_IN_PublishLeaveStatus
    Thanks,
    Srinivas

    hi,
    Please check this address:
    http://pitest.monet.local:50100/XISOAPAdapter/MessageServlet?channel=<b>:</b>KCRS_3RDP_D:SOAP_IN_PublishLeaveStatus
    Regards,
    Wojciech

  • Issue with Calling Rest Web Service using Designer workflow

    Hello all
    I am calling a Rest web service- HTTP Post (yammer API)-
    http://www.yammer.com/api/v1/messages.json?data-app-id=myappid&group_id=groupid&body=MyPost in yammer  using sharepoint 2013 designer workflow.(My Requirement is to create a yammer post when I approve an item in sharepoint).
    but my header parameters are creating issue while executing workflow.
    Currently I have these many parameters configured in request header
    Accept -application/json; odata=verbose
    Content Type -application/json; odata=verbose
    content length header -255
    Is there anything wrong or I need to additionally pass some values in call web service action?
    Any help would be highly appreciated

    Hi Mahesh,
    One you are missing is authentication token or credentials.
    Please refer to the following articles.
    http://www.cleverworkarounds.com/2014/02/05/tips-for-using-spd-workflows-to-talk-to-3rd-party-web-services/
    A Series of articles related to Web Service in SPD Workflow
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 1
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 2
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 3
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 4
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 5
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 6
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 7
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 8
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 9
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 10
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 11
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 12
    Please don't forget to mark it answered, if your problem resolved or helpful

  • Issue with calling external web service with authentication details ...

    Hi,
         I am facing a deployment issue with Oracle ESB. I am trying to call an external Web Service with authentication from ESB SOAP Service. It is working fine with my local ESB version 10.1.3.3.0 Build PCBPEL_10.1.3.3.0_GENERIC_070615.0525; however it is getting an error at our development ESB version 10.1.3.3.1 Build PCBPEL_10.1.3.3.1_GENERIC_RELEASE.
         I am getting following error.
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception during SOAP invoke: Server was unable to process request. ---> Object reference not set to an instance of an object.; nested exception is: javax.xml.rpc.soap.SOAPFaultException: Server was unable to process request. ---> Object reference not set to an instance of an object. at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.populateFaultMessage(WSIFOperation_JaxRpc.java:3086) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1728) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1473) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1196) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:867) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:770) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:790) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:208) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:127) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:118) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:95) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1424) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:112) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:307) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispat
         Could one of you please help me out to understand why it is happining.
    Thanks in advance.
    Jyotirmoy.

    Hi Mahesh,
    One you are missing is authentication token or credentials.
    Please refer to the following articles.
    http://www.cleverworkarounds.com/2014/02/05/tips-for-using-spd-workflows-to-talk-to-3rd-party-web-services/
    A Series of articles related to Web Service in SPD Workflow
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 1
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 2
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 3
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 4
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 5
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 6
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 7
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 8
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 9
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 10
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 11
    Trials or tribulation?
    Inside SharePoint 2013 workflows–Part 12
    Please don't forget to mark it answered, if your problem resolved or helpful

  • Is there an issue connecting to the web services server currently?

    Keep getting an errror, "problem connecting to web services server" This used to work fine. I tried turning off web services and it allowed me to, but now I can't re-enable them.

    Hi Pirmin87,
    There was a known brief outage a few days ago that could have resulted in this.
    - http://status.businesscatalyst.com/
    However at the moment everything should be connecting fine.  If still an on-going issue please reach BC direct chat support for further investigation. 
    - http://helpx.adobe.com/contact.html?product=business-catalyst
    Kind regards,
    -Sidney

  • Error while calling the Web service: GetBprElements

    Hi Experts,
    During integration of ARIS Business Architect for SAP Netweaver with SAP Solution Manager I tried to import the BPR using Transfer Repository option of the earlier. It showed me process completed with error or warning mentioned in the subject line.
    Can anybody suggest solution?
    Warm Regards
    Shatrughan Sharma

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • Do we need a J2EE server to call a Web Service?

    Hi Guys,
    We are running on 640 ABAP core. I am trying to expose a BAPI as a Web Service. This Web Service is going to be invoked by a external web server.
    Do we need to have J2EE installed on the Web AS for the successful execution of the Web Service?
    Currently I have created a Web Service using the Web Service Wizard, but having some user authorization issues in calling the web service.
    Regards
    Sujan

    Hi,
    Sujan,
    Check out the links,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/dee13d82fcfb34e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/dee13d82fcfb34e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/dee13d82fcfb34e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm
    Regards
    Venkat

  • Issue with SOAP Adapter calling a Web Service

    I have built the Scenario outlined in the webblog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3408. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    I received the following error message in XI Monitoring:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Aufruf eines Adapters
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>soap fault: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Procedure or Function 'Research_GetCompanyIndustry' expects parameter '@Symbol', which was not supplied. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader() at Invesbot.WebService.StockQuotes.GetQuote(String symbol) in c:Inetpubvhostsinvesbot_comwsApp_CodeStockQuotes.cs:line 81 --- End of inner exception stack trace ---</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I checked the SOAP Adapter which is green. I also checked the webblogs in the XI Forum concerning similar error messges as it doesn't seem to be a new problem. But I didn't find an answer to my issue.
    Anybody any idea what could be the issue in this case.
    Thanks in advance.
    Alex

    Hi Alex,
    in the mentioned weblog a web service "Distance" is used, but your monitor entry say, that you call the web service "StockQuotes". So I think you have put a wrong URL in your receiver SOAP adapter.
    The error comes from the web service server. It says that the request message is wrong. The element "Symbol" is missing.
    Regards
    Stefan

  • Issue Consuming a Java Web Service

    I've been doing research and on how to consume a Web Service from PL/SQL. The following is a chunk of the code. I can call the Web Service from other clients but not from my PL/SQL client. I keep getting this error
    ORA-29532: Java call terminated by uncaught Java exception: service: {http://10.93.38.134:7001/nmrwws/RewardsValidationService}RewardsValidationService does not contain port: {http://10.93.38.134:7001/nmrwws/RewardsValidationService}RewardsValidationPort
    What am I missing and can someone lead more to better info on using UTL_DBWS.
    CREATE OR REPLACE PACKAGE BODY nmrw_http_post_pkg
    AS
    PROCEDURE get_batch( x_errbuf OUT varchar2
    , x_retcode OUT varchar2
    , p_batch_id IN number
    IS
    l_service sys.UTL_DBWS.service;
    l_call sys.UTL_DBWS.call;
    l_result anydata;
    l_wsdl_url varchar2( 32767 );
    l_namespace varchar2( 32767 );
    l_service_qname sys.UTL_DBWS.qname;
    l_port_qname sys.UTL_DBWS.qname;
    l_operation_qname sys.UTL_DBWS.qname;
    l_input_params sys.UTL_DBWS.anydata_list;
    BEGIN
    l_wsdl_url := 'http://10.93.38.134:7001/nmrwws/RewardsValidationService?WSDL';
    l_namespace := 'http://10.93.38.134:7001/nmrwws/RewardsValidationService';
    l_service_qname := sys.UTL_DBWS.to_qname( l_namespace
    , 'RewardsValidationService'
    l_port_qname := sys.UTL_DBWS.to_qname( l_namespace
    , 'RewardsValidationPort'
    l_operation_qname := sys.UTL_DBWS.to_qname( l_namespace
    , 'getAuthorizations'
    l_service := sys.UTL_DBWS.create_service( wsdl_document_location => urifactory.geturi( l_wsdl_url )
    , service_name => l_service_qname
    l_call := sys.UTL_DBWS.create_call( service_handle => l_service
    , port_name => l_port_qname
    , operation_name => l_operation_qname
    l_input_params( 0 ) := anydata.convertvarchar2( 'NMCLL' );
    l_result := sys.UTL_DBWS.invoke( call_handle => l_call
    , input_params => l_input_params
    sys.UTL_DBWS.release_call( call_handle => l_call );
    sys.UTL_DBWS.release_service( service_handle => l_service );
    Here is the WSDL:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.3-07/10/2008 08:41 PM(bt).
    -->
    - <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.3-07/10/2008 08:41 PM(bt).
    -->
    - <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.nmrw.neimanmarcus.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.nmrw.neimanmarcus.com/" name="RewardsValidationService">
    - <types>
    - <xsd:schema>
    <xsd:import namespace="http://ws.nmrw.neimanmarcus.com/" schemaLocation="http://10.93.38.134:7001/nmrwws/RewardsValidationService?xsd=1" />
    </xsd:schema>
    </types>
    - <message name="getAuthenticated">
    <part name="parameters" element="tns:getAuthenticated" />
    </message>
    - <message name="getAuthenticatedResponse">
    <part name="parameters" element="tns:getAuthenticatedResponse" />
    </message>
    - <message name="getAuthorizations">
    <part name="parameters" element="tns:getAuthorizations" />
    </message>
    - <message name="getAuthorizationsResponse">
    <part name="parameters" element="tns:getAuthorizationsResponse" />
    </message>
    - <message name="isValidAuthorization">
    <part name="parameters" element="tns:isValidAuthorization" />
    </message>
    - <message name="isValidAuthorizationResponse">
    <part name="parameters" element="tns:isValidAuthorizationResponse" />
    </message>
    - <message name="getValidJobNames">
    <part name="parameters" element="tns:getValidJobNames" />
    </message>
    - <message name="getValidJobNamesResponse">
    <part name="parameters" element="tns:getValidJobNamesResponse" />
    </message>
    - <message name="isValidJobName">
    <part name="parameters" element="tns:isValidJobName" />
    </message>
    - <message name="isValidJobNameResponse">
    <part name="parameters" element="tns:isValidJobNameResponse" />
    </message>
    - <message name="isValidFacilityNum">
    <part name="parameters" element="tns:isValidFacilityNum" />
    </message>
    - <message name="isValidFacilityNumResponse">
    <part name="parameters" element="tns:isValidFacilityNumResponse" />
    </message>
    - <message name="isValidFacilityCode">
    <part name="parameters" element="tns:isValidFacilityCode" />
    </message>
    - <message name="isValidFacilityCodeResponse">
    <part name="parameters" element="tns:isValidFacilityCodeResponse" />
    </message>
    - <message name="getValidFacilityCodes">
    <part name="parameters" element="tns:getValidFacilityCodes" />
    </message>
    - <message name="getValidFacilityCodesResponse">
    <part name="parameters" element="tns:getValidFacilityCodesResponse" />
    </message>
    - <message name="isValidDunsNumber">
    <part name="parameters" element="tns:isValidDunsNumber" />
    </message>
    - <message name="isValidDunsNumberResponse">
    <part name="parameters" element="tns:isValidDunsNumberResponse" />
    </message>
    - <message name="isValidGlAccount">
    <part name="parameters" element="tns:isValidGlAccount" />
    </message>
    - <message name="isValidGlAccountResponse">
    <part name="parameters" element="tns:isValidGlAccountResponse" />
    </message>
    - <message name="isValidVendorNumber">
    <part name="parameters" element="tns:isValidVendorNumber" />
    </message>
    - <message name="isValidVendorNumberResponse">
    <part name="parameters" element="tns:isValidVendorNumberResponse" />
    </message>
    - <message name="isValidDivisionNumber">
    <part name="parameters" element="tns:isValidDivisionNumber" />
    </message>
    - <message name="isValidDivisionNumberResponse">
    <part name="parameters" element="tns:isValidDivisionNumberResponse" />
    </message>
    - <message name="isValidMerchDivision">
    <part name="parameters" element="tns:isValidMerchDivision" />
    </message>
    - <message name="isValidMerchDivisionResponse">
    <part name="parameters" element="tns:isValidMerchDivisionResponse" />
    </message>
    - <message name="getValidMerchDivision">
    <part name="parameters" element="tns:getValidMerchDivision" />
    </message>
    - <message name="getValidMerchDivisionResponse">
    <part name="parameters" element="tns:getValidMerchDivisionResponse" />
    </message>
    - <message name="isValidMerchDeptClass">
    <part name="parameters" element="tns:isValidMerchDeptClass" />
    </message>
    - <message name="isValidMerchDeptClassResponse">
    <part name="parameters" element="tns:isValidMerchDeptClassResponse" />
    </message>
    - <message name="getValidMerchDeptClass">
    <part name="parameters" element="tns:getValidMerchDeptClass" />
    </message>
    - <message name="getValidMerchDeptClassResponse">
    <part name="parameters" element="tns:getValidMerchDeptClassResponse" />
    </message>
    - <message name="isValidMerchDeptClassVendor">
    <part name="parameters" element="tns:isValidMerchDeptClassVendor" />
    </message>
    - <message name="isValidMerchDeptClassVendorResponse">
    <part name="parameters" element="tns:isValidMerchDeptClassVendorResponse" />
    </message>
    - <message name="getValidMerchDeptClassVendor">
    <part name="parameters" element="tns:getValidMerchDeptClassVendor" />
    </message>
    - <message name="getValidMerchDeptClassVendorResponse">
    <part name="parameters" element="tns:getValidMerchDeptClassVendorResponse" />
    </message>
    - <message name="isValidMerchDivisionDeptVendor">
    <part name="parameters" element="tns:isValidMerchDivisionDeptVendor" />
    </message>
    - <message name="isValidMerchDivisionDeptVendorResponse">
    <part name="parameters" element="tns:isValidMerchDivisionDeptVendorResponse" />
    </message>
    - <message name="getValidMerchDivisionDeptVendor">
    <part name="parameters" element="tns:getValidMerchDivisionDeptVendor" />
    </message>
    - <message name="getValidMerchDivisionDeptVendorResponse">
    <part name="parameters" element="tns:getValidMerchDivisionDeptVendorResponse" />
    </message>
    - <message name="isValidMerchDivisionDeptVendorStyle">
    <part name="parameters" element="tns:isValidMerchDivisionDeptVendorStyle" />
    </message>
    - <message name="isValidMerchDivisionDeptVendorStyleResponse">
    <part name="parameters" element="tns:isValidMerchDivisionDeptVendorStyleResponse" />
    </message>
    - <message name="getValidMerchDivisionDeptVendorStyle">
    <part name="parameters" element="tns:getValidMerchDivisionDeptVendorStyle" />
    </message>
    - <message name="getValidMerchDivisionDeptVendorStyleResponse">
    <part name="parameters" element="tns:getValidMerchDivisionDeptVendorStyleResponse" />
    </message>
    - <portType name="RewardsValidationDelegate">
    - <operation name="getAuthenticated">
    <input message="tns:getAuthenticated" />
    <output message="tns:getAuthenticatedResponse" />
    </operation>
    - <operation name="getAuthorizations">
    <input message="tns:getAuthorizations" />
    <output message="tns:getAuthorizationsResponse" />
    </operation>
    - <operation name="isValidAuthorization">
    <input message="tns:isValidAuthorization" />
    <output message="tns:isValidAuthorizationResponse" />
    </operation>
    - <operation name="getValidJobNames">
    <input message="tns:getValidJobNames" />
    <output message="tns:getValidJobNamesResponse" />
    </operation>
    - <operation name="isValidJobName">
    <input message="tns:isValidJobName" />
    <output message="tns:isValidJobNameResponse" />
    </operation>
    - <operation name="isValidFacilityNum">
    <input message="tns:isValidFacilityNum" />
    <output message="tns:isValidFacilityNumResponse" />
    </operation>
    - <operation name="isValidFacilityCode">
    <input message="tns:isValidFacilityCode" />
    <output message="tns:isValidFacilityCodeResponse" />
    </operation>
    - <operation name="getValidFacilityCodes">
    <input message="tns:getValidFacilityCodes" />
    <output message="tns:getValidFacilityCodesResponse" />
    </operation>
    - <operation name="isValidDunsNumber">
    <input message="tns:isValidDunsNumber" />
    <output message="tns:isValidDunsNumberResponse" />
    </operation>
    - <operation name="isValidGlAccount">
    <input message="tns:isValidGlAccount" />
    <output message="tns:isValidGlAccountResponse" />
    </operation>
    - <operation name="isValidVendorNumber">
    <input message="tns:isValidVendorNumber" />
    <output message="tns:isValidVendorNumberResponse" />
    </operation>
    - <operation name="isValidDivisionNumber">
    <input message="tns:isValidDivisionNumber" />
    <output message="tns:isValidDivisionNumberResponse" />
    </operation>
    - <operation name="isValidMerchDivision">
    <input message="tns:isValidMerchDivision" />
    <output message="tns:isValidMerchDivisionResponse" />
    </operation>
    - <operation name="getValidMerchDivision">
    <input message="tns:getValidMerchDivision" />
    <output message="tns:getValidMerchDivisionResponse" />
    </operation>
    - <operation name="isValidMerchDeptClass">
    <input message="tns:isValidMerchDeptClass" />
    <output message="tns:isValidMerchDeptClassResponse" />
    </operation>
    - <operation name="getValidMerchDeptClass">
    <input message="tns:getValidMerchDeptClass" />
    <output message="tns:getValidMerchDeptClassResponse" />
    </operation>
    - <operation name="isValidMerchDeptClassVendor">
    <input message="tns:isValidMerchDeptClassVendor" />
    <output message="tns:isValidMerchDeptClassVendorResponse" />
    </operation>
    - <operation name="getValidMerchDeptClassVendor">
    <input message="tns:getValidMerchDeptClassVendor" />
    <output message="tns:getValidMerchDeptClassVendorResponse" />
    </operation>
    - <operation name="isValidMerchDivisionDeptVendor">
    <input message="tns:isValidMerchDivisionDeptVendor" />
    <output message="tns:isValidMerchDivisionDeptVendorResponse" />
    </operation>
    - <operation name="getValidMerchDivisionDeptVendor">
    <input message="tns:getValidMerchDivisionDeptVendor" />
    <output message="tns:getValidMerchDivisionDeptVendorResponse" />
    </operation>
    - <operation name="isValidMerchDivisionDeptVendorStyle">
    <input message="tns:isValidMerchDivisionDeptVendorStyle" />
    <output message="tns:isValidMerchDivisionDeptVendorStyleResponse" />
    </operation>
    - <operation name="getValidMerchDivisionDeptVendorStyle">
    <input message="tns:getValidMerchDivisionDeptVendorStyle" />
    <output message="tns:getValidMerchDivisionDeptVendorStyleResponse" />
    </operation>
    </portType>
    - <binding name="RewardsValidationPortBinding" type="tns:RewardsValidationDelegate">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <operation name="getAuthenticated">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getAuthorizations">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidAuthorization">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidJobNames">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidJobName">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidFacilityNum">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidFacilityCode">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidFacilityCodes">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidDunsNumber">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidGlAccount">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidVendorNumber">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidDivisionNumber">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidMerchDivision">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidMerchDivision">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidMerchDeptClass">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidMerchDeptClass">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidMerchDeptClassVendor">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidMerchDeptClassVendor">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidMerchDivisionDeptVendor">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidMerchDivisionDeptVendor">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="isValidMerchDivisionDeptVendorStyle">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="getValidMerchDivisionDeptVendorStyle">
    <soap:operation soapAction="" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="RewardsValidationService">
    - <port name="RewardsValidationPort" binding="tns:RewardsValidationPortBinding">
    <soap:address location="http://10.93.38.134:7001/nmrwws/RewardsValidationService" />
    </port>
    </service>
    </definitions>

    I see this in the wsdl (all the way down).
    <port name="RewardsValidationPort" binding="tns:RewardsValidationPortBinding">Seems the port has its own namespace tns:? Which maps to: xmlns:tns="http://ws.nmrw.neimanmarcus.com/" (see at top of wsdl).
    You are using l_namespace in your to_qname call.
    l_port_qname := sys.UTL_DBWS.to_qname( l_namespace
    , 'RewardsValidationPort'
    );And l_namespace was set to:
    l_namespace := 'http://10.93.38.134:7001/nmrwws/RewardsValidationService';Maybe that is the issue?

  • Call a Web Service from within an e-Sourcing script

    Hi Guys
    I would like to know wether anyone has successfully been able to call a Web Service from within an
    e-Sourcing script? If you have, can you please share your experience and code?
    Thank You

    Hi Faaiez -
    As with any use of Web Services, however, you should carefully consider the security issues that may come up. How, for example, will the Web Service server validate that the Web Service client (E-Sourcing) is properly authenticated? Will password information be included in the web service call? You will find that it is very easy to make a web service call, but I would encourage you to carefully consider security before implementing a productive solution.
    Web service calls can be made using raw Java web service APIs from the open source Axis library which is included with E-Sourcing; this approach is slightly more difficult to code, but very dynamic. Web service calls can also be made using proxies. In one solution that I worked on, we generated java proxies for the web service, compiled those proxies into a Jar file, and included that jar file as a custom jar in E-Sourcing. Let me provide a few more details on each of these approaches.
    Using raw java web service APIs that are part of the Service and Call classes, I prototyped a web service call to Googles sample spell checker web service. Here is the code:
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.namespace.QName;
    String endpoint = "http://api.google.com/search/beta2";
    Service  service = new Service();       
    Call call = (Call) service.createCall();       
    call.setTargetEndpointAddress( new java.net.URL(endpoint) );       
    call.setOperationName( "doSpellingSuggestion" );       
    call.setOperationName(new QName("urn:GoogleSearch", "doSpellingSuggestion"));       
    call.addParameter("key", XMLType.XSD_STRING, ParameterMode.IN);       
    call.addParameter("phrase", XMLType.XSD_STRING, ParameterMode.IN);       
    call.setReturnType( XMLType.XSD_STRING );       
    String ret = (String) call.invoke( new Object[] { "googlekey", doc.getDocumentDescription()} );       
    doc.setDocumentDescription(ret);
    This block of code does a very simple thing...it calls the Google "doSpellingSuggestions" web service with two parameters: a key provided by Google, and a string for which the spelling suggestions should be generated. I used the current document description as my sample string for the web service and I put the results back into the document description - remember, this is just showing how you can call the web service, not doing anything really intelligent or useful from a business perspective
    There is nothing special to E-Sourcing about the above code...this is really just using the Axis java classes to call a web service.
    The second approach that can be used is to generate Java proxies for the web service calls. The open source Axis library includes a tool called "wsdl2java". Using the WSDL for the web service, you can generate Java proxies. Java classes will be generated by the tool; these Java classes will then need to be compiled and included in E-Sourcing as a custom jar. Once they are part of the E-Sourcing deployment, they can be called like any Java API. If you were to examine the generated code, you would notice that it looks a lot like the raw web service code shown above...the generated classes really just provide a simpler interface to the same functionality.
    You can see this information and other E-Sourcing information at my blog at: http://www.sunshinesys.com/
    Rob

  • Call HTTP Web Service Retries Every 1 Minute

    I currently have a SharePoint 2013 workflow setup. This workflow calls an HTTP Web Service using the HTTP Get Method. The web service takes over a minute to execute what it needs to and respond. The workflow retries calling the web service every 1 minute
    if it doesn't get a response back. This is causing issues as the process is already running and doesn't need to be run again. Is there some setting or response/request header value that I can set to prevent the workflow from retrying the web service call every
    minute?
    Thank You,
    Jon

    Hi,
     As per your posting, I believe there is no direct approach in the workflow to check the web service status for every call. 
    Let me try to work on that and try to give you the appropriate solution.
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever you
    see a reply being an answer to the question of the thread, click "Mark As Answer

  • Urgent - How to call a Web Services from PLSQL - Please help

    Hello,
    I am very much new to WebServices, need to call web services through PLSQL. I have a urgent requirement, where i need to call the web services by passing from some paramters to it and the web services will return a varchar values as 'PASSED' or 'FAILED'.
    Can you please approch me the best way to start with.
    Thanks,
    Srikanth.

    Hi,
    I need to do it from PLSQL API's not from JAVA.
    I have started developing the code through UTIL_HTTP. Getting lots of error.
    Can you please guide me through these error.
    Below is the wsdl and a blcok where i am trying to retrive the value from webservice.
    Hope this will help you.
    Code:
    declare
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    i integer;
    begin
    soap_request:= '<?xml version = "1.0" encoding = "UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:soapCheckRequest1 wsdl:ns1="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <FirstName xsi:type="xsd:string">saddam</FirstName>
    <LastName xsi:type="xsd:string">hussein</LastName>
              <companyName xsi:type="xsd:string">samueladams</companyName>
              <address1 xsi:type="xsd:string">123 APT</address1>
              <address3 xsi:type="xsd:string">Atlanta</address3>
              <city xsi:type="xsd:string">uk</city>
              <stateOrRegion xsi:type="xsd:string">GA</stateOrRegion>
              <postalCode xsi:type="xsd:string">30338</postalCode>
              <email xsi:type="xsd:string">sj@samueladams</email>
              <isoCountryCode xsi:type="xsd:string">US</isoCountryCode>
              <endUserIP xsi:type="xsd:string">209.134.168.203</endUserIP>
    </ns1:soapCheckRequest1>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    http_req:= utl_http.begin_request
    ( 'http://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService'
    , 'POST'
    , 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml'); -- since we are dealing with plain text in XML documents
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req, 'SOAPAction', ''); -- required to specify this is a SOAP communication
    utl_http.write_text(http_req, soap_request);
    http_resp:= utl_http.get_response(http_req);
    DBMS_OUTPUT.PUT_LINE('-------utl_http.get_response---------------------');
    DBMS_OUTPUT.PUT_LINE('http_resp.status_code is :'||http_resp.status_code );
    DBMS_OUTPUT.PUT_LINE('http_resp.reason_phrase is :'||http_resp.reason_phrase);
    DBMS_OUTPUT.PUT_LINE('http_resp.http_version is :'||http_resp.http_version);
    DBMS_OUTPUT.PUT_LINE('http_resp.private_hndl is :'||http_resp.private_hndl);
    DBMS_OUTPUT.PUT_LINE('-------utl_http.get_response----------------------');
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    resp:= resp.extract('/soap:Envelop/soap:Body/child::node()'
    , 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"'
    i:=0;
    loop
    dbms_output.put_line(substr(soap_respond,1+ i*255,250));
    i:= i+1;
    if i*250> length(soap_respond)
    then
    exit;
    end if;
    end loop;
    end;
    Error Message
    http_resp.reason_phrase is :Internal Server Error
    http_resp.http_version is :HTTP/1.1
    http_resp.private_hndl is :0
    -------utl_http.get_response----------------------
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultco
    apenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXParseException: The prefix &quot;ns1&quot; for element &quot;ns1:soapCheckRequest1&quot; is not bound.</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">atlcms
    2.iss.net</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" xmlns:intf="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <!--
    WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)
    -->
    - <wsdl:message name="soapCheckResponse1">
    <wsdl:part name="soapCheckReturn" type="soapenc:string" />
    </wsdl:message>
    - <wsdl:message name="soapCheckRequest1">
    <wsdl:part name="firstName" type="soapenc:string" />
    <wsdl:part name="lastName" type="soapenc:string" />
    <wsdl:part name="companyName" type="soapenc:string" />
    <wsdl:part name="address1" type="soapenc:string" />
    <wsdl:part name="address2" type="soapenc:string" />
    <wsdl:part name="address3" type="soapenc:string" />
    <wsdl:part name="city" type="soapenc:string" />
    <wsdl:part name="stateOrRegion" type="soapenc:string" />
    <wsdl:part name="postalCode" type="soapenc:string" />
    <wsdl:part name="email" type="soapenc:string" />
    <wsdl:part name="phone" type="soapenc:string" />
    <wsdl:part name="isoCountryCode" type="soapenc:string" />
    <wsdl:part name="endUserId" type="soapenc:string" />
    <wsdl:part name="endUserIP" type="soapenc:string" />
    <wsdl:part name="endUserSession" type="soapenc:string" />
    <wsdl:part name="performGovCheck" type="xsd:boolean" />
    <wsdl:part name="sendEmailNotification" type="xsd:boolean" />
    <wsdl:part name="screeningLevelBasedOnSuppliedCountryCode" type="xsd:boolean" />
    <wsdl:part name="screeningLevelBasedOnEndUserIP" type="xsd:boolean" />
    <wsdl:part name="soundexMatch" type="xsd:boolean" />
    </wsdl:message>
    - <wsdl:message name="soapCheckRequest">
    <wsdl:part name="firstName" type="soapenc:string" />
    <wsdl:part name="lastName" type="soapenc:string" />
    <wsdl:part name="companyName" type="soapenc:string" />
    <wsdl:part name="address1" type="soapenc:string" />
    <wsdl:part name="address2" type="soapenc:string" />
    <wsdl:part name="address3" type="soapenc:string" />
    <wsdl:part name="city" type="soapenc:string" />
    <wsdl:part name="stateOrRegion" type="soapenc:string" />
    <wsdl:part name="postalCode" type="soapenc:string" />
    <wsdl:part name="email" type="soapenc:string" />
    <wsdl:part name="phone" type="soapenc:string" />
    <wsdl:part name="isoCountryCode" type="soapenc:string" />
    <wsdl:part name="endUserId" type="soapenc:string" />
    <wsdl:part name="endUserIP" type="soapenc:string" />
    <wsdl:part name="endUserSession" type="soapenc:string" />
    <wsdl:part name="performGovCheck" type="xsd:boolean" />
    <wsdl:part name="sendEmailNotification" type="xsd:boolean" />
    <wsdl:part name="screeningLevelBasedOnEndUserIP" type="xsd:boolean" />
    <wsdl:part name="soundexMatch" type="xsd:boolean" />
    </wsdl:message>
    - <wsdl:message name="soapCheckResponse">
    Thanks and Regard,
    Srikanth

  • Issue while adding WCF Web Service reference using Oracle APEX

    Hi,
    We have an issue with creating the Web Service Reference for the WCF web service:
    http://dev.virtualearth.net/webservices/v1/metadata/geocodeservice/GeocodeService1.wsdl
    The APEX gives the following error
    “The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service.”
    Can you please tell me if creating the Web Service Reference for WCF is supported on the “out of the box“ APEX?
    Environment information:
    APEX 4.0.2.00.07
    Database 11.2.0.3
    Please note that we have tried it in APEX 4.1.1 from apex.oracle.com and the error there is different, it can connect even to ASMX wsdl.
    Thank you.

    I don't think that is it specific to just .NET web services. I have tried with a web service created with TIBCO BusinessWorks (Middleware product) that did not work either. The wsdl validated correctly in soapUI, so I think it just must be the implementation of the parser which is looking for some specific format.
    When in doubt, go with either the manual reference or with pl/sql using one of the api's.

Maybe you are looking for

  • Can I know whether test controller for VS 2010 is installed in TFS

    Hi, I downloaded the TestController for VS2010 in client machine & it is an iso file. It asks iso reader to read the file. My Question is: 1.Whether Test Controller 2010 need to configure in TFS server?(Team Foundation Server Administration Console)

  • Sql profiles in 11.1.0.7

    We just upgraded from 10.1.0.3 to 11.1.0.7 and some very complex queries are running slower. When I check the plans in a non-production 11g database, the join orders are slightly different. I also have traces from my 10g production database and that

  • Syncing emails sent from ipad in Hotmail with the server

    When I send emails through Hotmail from my ipad, they are delivered ok to the other party, but there is no record when I check Hotmail "sent items" on my PC. How can I get "sent" to sync with the Hotmail server so I can see emails I have sent from my

  • Filter not working for session timeout

    Hi all, I am working on a struts application in portal. I want to logout of the application when a user does not perform any action, for say 30 mins. For this, i am using a filter and defined the filter as follows in web.xml. <filter> <filter-name>Pa

  • 16.10 16.9 which....

    Hi, I know nothing bout monitors I wanted to know what the differences are as I am about to buy a LCD/TFT 19" widescreen monitor This screen will be used for net surfing audio apps and dvd watching Kindest ,becca